summaryrefslogtreecommitdiff
path: root/scripts/linux-build-dependencies.sh
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-06-02 16:26:44 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-06-02 16:26:44 (GMT)
commit5b454adeef057f3c0bffdd7582cc46ce67344458 (patch)
tree5fc64e6c11750ae573a0b6020983b9cbb0547ffb /scripts/linux-build-dependencies.sh
parent056f6c6131bfc5067bcac7b0e71a0ac5aa2f5753 (diff)
add paralellization flags to various builds
Diffstat (limited to 'scripts/linux-build-dependencies.sh')
-rwxr-xr-xscripts/linux-build-dependencies.sh21
1 files changed, 12 insertions, 9 deletions
diff --git a/scripts/linux-build-dependencies.sh b/scripts/linux-build-dependencies.sh
index b7f2ffc..4adf092 100755
--- a/scripts/linux-build-dependencies.sh
+++ b/scripts/linux-build-dependencies.sh
@@ -39,7 +39,8 @@ build_curl()
mkdir build
cd build
../configure --prefix=$DEPLOYDIR
- make -j$NUMCPU install
+ make -j$NUMCPU
+ make install
}
build_gmp()
@@ -93,7 +94,7 @@ build_boost()
cd boost_$bversion
# We only need certain portions of boost
./bootstrap.sh --prefix=$DEPLOYDIR --with-libraries=thread,program_options,filesystem,system,regex
- ./bjam
+ ./bjam -j$NUMCPU
./bjam install
}
@@ -182,19 +183,21 @@ if [ ! -d $BASEDIR/bin ]; then
fi
echo "Using basedir:" $BASEDIR
+echo "Using deploydir:" $DEPLOYDIR
+echo "Using srcdir:" $SRCDIR
mkdir -p $SRCDIR $DEPLOYDIR
-#build_curl 7.26.0
-#build_eigen 2.0.17
-#build_gmp 5.0.5
-#build_mpfr 3.1.0
-#build_boost 1.47.0
+build_curl 7.26.0
+build_eigen 2.0.17
+build_gmp 5.0.5
+build_mpfr 3.1.0
+build_boost 1.47.0
# NB! For CGAL, also update the actual download URL in the function
-#build_cgal 4.0
+build_cgal 4.0
build_glew 1.7.0
build_opencsg 1.3.2
echo "Now do this:"
echo "export LD_LIBRARY_PATH=$DEPLOYDIR/lib:$DEPLOYDIR/lib64"
echo "GLEWDIR=$DEPLOYDIR OPENSCAD_LIBRARIES=$DEPLOYDIR qmake-qt4"
-echo "make"
+echo "make -j$NUMCPU"
contact: Jan Huwald // Impressum