summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authortroy.velius <troy.velius@tridsys.com>2019-05-29 07:53:34 -0400
committerXinfengZhang <carl.zhang@intel.com>2019-06-13 14:47:30 +0800
commit8c80b758b133a4d88fb5d6859841bcd316a016bc (patch)
tree82c7349b425cb7387750903614718d007b37113f /build
parented7f3823c9edc35013d19d56977556f089f8f81f (diff)
downloadlibva-8c80b758b133a4d88fb5d6859841bcd316a016bc.tar.gz
RPM build: programmatically setting number of cores
Diffstat (limited to 'build')
-rw-r--r--build/libva.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/libva.spec b/build/libva.spec
index 6a878d9..8470e35 100644
--- a/build/libva.spec
+++ b/build/libva.spec
@@ -24,7 +24,7 @@ Intel libva
%build
./configure --prefix %{_prefix} --libdir %{_libdir}
-make -j12
+make -j$(nproc)
%install
make install DESTDIR=%{buildroot}