diff options
author | UkJung Kim <ujkim@samsung.com> | 2017-04-26 18:23:13 +0900 |
---|---|---|
committer | UkJung Kim <ujkim@samsung.com> | 2017-04-26 18:31:03 +0900 |
commit | 7b0d82e6cf36838f5159c18030361fffe75cf803 (patch) | |
tree | 7b14dacd1d0fd9e97e01416d9e72064ca9a04b5d /packaging/boost.spec | |
parent | 4bf49f6cfbcd119593a3d9300a5b49b00d6253c2 (diff) | |
download | boost-7b0d82e6cf36838f5159c18030361fffe75cf803.tar.gz boost-7b0d82e6cf36838f5159c18030361fffe75cf803.tar.bz2 boost-7b0d82e6cf36838f5159c18030361fffe75cf803.zip |
Adjust parallel build to speed up build timesubmit/tizen_3.0/20170519.073453accepted/tizen/3.0/wearable/20170523.234934accepted/tizen/3.0/tv/20170523.234932accepted/tizen/3.0/mobile/20170523.234930accepted/tizen/3.0/ivi/20170523.234937accepted/tizen/3.0/common/20170524.125828tizen_3.0accepted/tizen_3.0_wearableaccepted/tizen_3.0_tvaccepted/tizen_3.0_mobileaccepted/tizen_3.0_iviaccepted/tizen_3.0_common
set JOBS to %{jobs}
pass %{_smp_mflags} to b2 install
Change-Id: Ifbd4ac0e7db90b48a7a4c118ef2d84c8497d54a3
Diffstat (limited to 'packaging/boost.spec')
-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 4f9496b9ea..014db44595 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 |