You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis_scripts/deps_install/install_common.sh
+35-46Lines changed: 35 additions & 46 deletions
Original file line number
Diff line number
Diff line change
@@ -18,15 +18,6 @@ if [[ $TRAVIS_OS_NAME == 'linux' && $COMPILER == 'g++' ]]; then export CXX=g
18
18
# downloads and setups local clang on osx
19
19
if [[ $TEST_SUITE=='osx_local_clang' ]];then. ./.travis_scripts/setup_local_clang.sh;fi
20
20
21
-
#<<<<<<< HEAD
22
-
# add a definition -DBOOST_HAS_INT128=1 to clang calls on linux to avoid errors with boost.atomic (https://svn.boost.org/trac/boost/ticket/9610)
23
-
# if [[ $TRAVIS_OS_NAME == 'linux' && $CXX == 'clang++' ]]; then mkdir /tmp/bin; fi
24
-
# if [[ $TRAVIS_OS_NAME == 'linux' && $CXX == 'clang++' ]]; then printf "#!/bin/sh\nexec /usr/bin/clang++ -DBOOST_HAS_INT128=1 \"\$@\"" > /tmp/bin/clang++; fi
25
-
# if [[ $TRAVIS_OS_NAME == 'linux' && $CXX == 'clang++' ]]; then chmod +x /tmp/bin/clang++; fi
26
-
# if [[ $TRAVIS_OS_NAME == 'linux' && $CXX == 'clang++' ]]; then sudo ln -sf /tmp/bin/clang++ /usr/bin/clang++; fi
27
-
# put /usr/bin first to use clang++-3.5 instead of the default 3.4
28
-
#if [[ $TRAVIS_OS_NAME == 'linux' && $CXX == 'clang++' ]]; then export PATH=/usr/bin:$PATH; fi
29
-
30
21
if [[ $TRAVIS_OS_NAME=='linux'&&$CXX=='clang++' ]];thenexport CXXFLAGS="-DBOOST_HAS_INT128=1 ${CXXFLAGS}";fi
31
22
32
23
# cmake
@@ -61,47 +52,45 @@ if [[ $MPI == 'openmpi' ]]; then sudo $apt_get_install openmpi-bin libopenmpi-d
61
52
if [[ $MPI!='none' ]];thenexport CXX=${DEPS_DIR}/mvapich2-2.3b/bin/mpic++ ;fi# full path, since libtool in hdf5 installation does not understand PATH set above (?)
62
53
if [[ $MPI!='none' ]];thenexport CC=${DEPS_DIR}/mvapich2-2.3b/bin/mpicc ;fi
63
54
64
-
# boost
65
-
#if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo $apt_get_install libboost-thread1.55-dev libboost-timer1.55-dev libboost-iostreams1.55-dev libboost-filesystem1.55-dev; fi
66
-
#if [[ $TRAVIS_OS_NAME == 'linux' && $MPI != 'none' ]]; then sudo $apt_get_install libboost-mpi1.55-dev; fi
67
-
#if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew reinstall boost --c++11; fi # ...what takes too long :(
68
-
69
-
# no MPI get boost from the repository
70
-
if [[ $TRAVIS_OS_NAME=='linux'&&$MPI=='none' ]];then sudo $apt_get_install boost1.61;fi
55
+
# no MPI
56
+
if [[ $TRAVIS_OS_NAME=='linux'&&$MPI=='none' ]];then
57
+
sudo $apt_get_install boost1.61
58
+
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python3.so # different naming conventions for boost python with python 3
59
+
fi
71
60
72
61
# for MPI we need boost>=1.59 with mpi support, boost installation based on https://github.com/boostorg/compute/blob/master/.travis.yml
73
-
if [[ $TRAVIS_OS_NAME=='linux'&&$MPI!='none' ]];then
0 commit comments