Changeset 23421
- Timestamp:
- 10/13/18 22:27:13 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/boost/install-1.55-macosx-el_capitan.sh
r23417 r23421 2 2 set -eu 3 3 4 #Note of caution: stop after boostrap phase, and run 5 #bjam --debug-configuration, to figure out which paths boost is using to include 6 #python. make sure everyone of these paths is covered by python. If not, just make 7 #symlinks in externalpackages/python to what boost is expecting. Ther is NO WAY 8 #to get the boost library to include python support without doing that. 4 #Note of caution: stop after boostrap phase, and run 5 #bjam --debug-configuration, to figure out which paths boost is using to include 6 #python. make sure everyone of these paths is covered by python. If not, just make 7 #symlinks in externalpackages/python to what boost is expecting. Ther is NO WAY 8 #to get the boost library to include python support without doing that. 9 9 10 10 #Some cleanup … … 13 13 14 14 #Download from ISSM server 15 python2.7$ISSM_DIR/scripts/download_external_package.bash 'https://issm.ess.uci.edu/files/externalpackages/boost_1_55_0.tar.gz' 'boost_1_55_0.tar.gz'15 $ISSM_DIR/scripts/download_external_package.bash 'https://issm.ess.uci.edu/files/externalpackages/boost_1_55_0.tar.gz' 'boost_1_55_0.tar.gz' 16 16 17 #Untar 17 #Untar 18 18 tar -zxvf boost_1_55_0.tar.gz 19 19 … … 29 29 30 30 #Configure and compile 31 cd src 31 cd src 32 32 ./bootstrap.sh \ 33 33 --prefix="$ISSM_DIR/externalpackages/boost/install" \ 34 --with-python=python 34 --with-python=python 35 35 36 36 #Compile boost 37 37 # Need gcc with iconv installed in a location that has been added to your path 38 # export CC=/usr/local/gfortan/bin/gcc 38 # export CC=/usr/local/gfortan/bin/gcc 39 39 # export CXX=/usr/local/gfortran/bin/g++ 40 40 ./bjam toolset=darwin link=static install 41 41 42 #put bjam into install also: 42 #put bjam into install also: 43 43 mkdir ../install/bin 44 44 cp bjam ../install/bin
Note:
See TracChangeset
for help on using the changeset viewer.