diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-12-20 18:35:44 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-12-20 18:35:44 (GMT) |
commit | bbcc2a070855c0481e6cab74178c5684960bdcd8 (patch) | |
tree | 223c31644b629ee79ac8384d48155d1f7a90aa75 /scripts/uni-build-dependencies.sh | |
parent | 67ba3cb3d2f6ef1d9857fc40f8d764e9c0602932 (diff) |
update boost version. allow 'out of tree' dependency check. fix cmake detection
Diffstat (limited to 'scripts/uni-build-dependencies.sh')
-rwxr-xr-x | scripts/uni-build-dependencies.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/uni-build-dependencies.sh b/scripts/uni-build-dependencies.sh index e091444..a57d1ba 100755 --- a/scripts/uni-build-dependencies.sh +++ b/scripts/uni-build-dependencies.sh @@ -120,6 +120,12 @@ build_boost() fi tar xjf boost_$bversion.tar.bz2 cd boost_$bversion + if [ "`gcc --version|grep 4.7`" ]; then + if [ "`echo $version | grep 1.47`" ]; then + echo gcc 4.7 incompatible with boost 1.47. edit boost version in $0 + exit + fi + fi # We only need certain portions of boost ./bootstrap.sh --prefix=$DEPLOYDIR --with-libraries=thread,program_options,filesystem,system,regex if [ $CXX ]; then @@ -334,7 +340,7 @@ fi build_eigen 3.1.1 build_gmp 5.0.5 build_mpfr 3.1.1 -build_boost 1.47.0 +build_boost 1.49.0 # NB! For CGAL, also update the actual download URL in the function build_cgal 4.0.2 build_glew 1.7.0 |