diff options
-rw-r--r-- | packaging/boost.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/boost.spec b/packaging/boost.spec index 13fd083bf1..7e59b63f51 100644 --- a/packaging/boost.spec +++ b/packaging/boost.spec @@ -375,6 +375,7 @@ cat << \EOF >.build # Now build it J_P=%{jobs} J_G=$(getconf _NPROCESSORS_ONLN) +JOBS=${JOBS-$J_P} [ $J_G -gt 64 ] && J_G=64 if test -z "$JOBS"; then @@ -464,7 +465,7 @@ BOOST_LIBS="chrono,program_options,thread,system,filesystem,date_time,regex,seri . /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh %endif -./b2 install \ +./b2 install %{?_smp_mflags} \ --prefix=%{buildroot}%{_prefix} --exec-prefix=%{buildroot}%{_bindir} \ --libdir=%{buildroot}%{_libdir} --includedir=%{buildroot}%{_includedir} \ --user-config=./user-config.jam |