Changeset 11851
- Timestamp:
- 04/02/12 10:52:46 (13 years ago)
- Location:
- issm/trunk-jpl/externalpackages/boost
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/boost/install.sh
r11834 r11851 1 1 #!/bin/bash 2 2 3 step=2 4 #1: download 5 #2: install 3 #Some cleanup 4 rm -rf install boost_1_49_0 src 5 mkdir install src 6 6 7 if [[ $step == "1" ]];then 8 #Some cleanup 9 rm -rf install boost_1_49_0 src 10 mkdir install src 7 #Untar 8 tar -zxvf boost_1_49_0.tar.gz 11 9 12 #Untar 13 tar -zxvf boost_1_49_0.tar.gz 10 #Move boost into install directory 11 mv boost_1_49_0/* src 12 rm -rf boost_1_49_0 13 #Configure and compile 14 cd src 15 ./bootstrap.sh \ 16 --prefix="$ISSM_TIER/externalpackages/boost/install" \ 17 --with-python=python3.2 \ 18 --with-python-root="$ISSM_TIER/externalpackages/python/install" 14 19 15 #Move boost into install directory 16 mv boost_1_49_0/* src 17 rm -rf boost_1_49_0 18 fi 20 #Compile boost 21 ./bjam install 19 22 20 if [[ $step == "2" ]];then 21 #Configure and compile 22 cd src 23 ./bootstrap.sh --prefix=$ISSM_TIER/externalpackages/boost/install --with-python=python3.2 --with-python-root="$ISSM_TIER/externalpackages/python/install" 24 25 #Compile boost 26 if [ -z $1 ]; 27 then 28 ./bjam install 29 else 30 ./bjam -jx $1 install 31 fi 32 33 #put bjam into install also: 34 mkdir ../install/bin 35 cp bjam ../install/bin 36 37 fi 23 #put bjam into install also: 24 mkdir ../install/bin 25 cp bjam ../install/bin
Note:
See TracChangeset
for help on using the changeset viewer.