From fcfb27440aeb4dd28c0691b2f5d0a0571800d86c Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Mon, 13 May 2013 17:55:06 +0000 Subject: [PATCH] Parallel compilation flags in package scripts --- package_scripts/compile_static_boost.sh | 2 +- package_scripts/toolbox_package_unix.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package_scripts/compile_static_boost.sh b/package_scripts/compile_static_boost.sh index 466283044..ca3b99e09 100644 --- a/package_scripts/compile_static_boost.sh +++ b/package_scripts/compile_static_boost.sh @@ -5,4 +5,4 @@ # on libicu, which is unneeded and would require then linking the mex # module with it as well. We just stage instead of install, then the # toolbox_package_unix.sh script uses the staged boost. -./b2 link=static threading=multi cxxflags=-fPIC cflags=-fPIC --disable-icu -a stage \ No newline at end of file +./b2 link=static threading=multi cxxflags=-fPIC cflags=-fPIC --disable-icu -a -j4 stage diff --git a/package_scripts/toolbox_package_unix.sh b/package_scripts/toolbox_package_unix.sh index 1887248e7..0fcbd3151 100755 --- a/package_scripts/toolbox_package_unix.sh +++ b/package_scripts/toolbox_package_unix.sh @@ -54,7 +54,7 @@ if [ ! $? ]; then fi # Compile -make -j8 install +make -j4 install # Create package tar czf gtsam-toolbox-2.3.0-$platform.tgz -C stage/borg toolbox