diff options
author | MyoungJune Park <mj2004.park@samsung.com> | 2017-08-25 02:23:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2017-08-25 02:23:47 +0000 |
commit | 6b5ab8be72535293f35a3174603fbb642260c0b4 (patch) | |
tree | 2e012d6484de018519caebce2fc524719f883442 | |
parent | 483303b2da6284a09280f4fe7c2bfad4a3461120 (diff) | |
parent | 80c19ff620c189453e761f7a398528cc27032493 (diff) | |
download | boost-6b5ab8be72535293f35a3174603fbb642260c0b4.tar.gz boost-6b5ab8be72535293f35a3174603fbb642260c0b4.tar.bz2 boost-6b5ab8be72535293f35a3174603fbb642260c0b4.zip |
Merge "Adjust parallel build to speed up build time" into tizen
-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 f540448d52..9e95342ff5 100644 --- a/packaging/boost.spec +++ b/packaging/boost.spec @@ -398,6 +398,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 @@ -493,7 +494,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 |