source: issm/trunk/externalpackages/boost/install.sh@ 11995

Last change on this file since 11995 was 11995, checked in by Mathieu Morlighem, 13 years ago

merged trunk-jpl and trunk for revision 11994M

  • Property svn:executable set to *
File size: 876 bytes
Line 
1#!/bin/bash
2
3#Note of caution: stop after boostrap phase, and run
4#bjam --debug-configuration, to figure out which paths boost is using to include
5#python. make sure everyone of these paths is covered by python. If not, just make
6#symlinks in externalpackages/python to what boost is expecting. Ther is NO WAY
7#to get the boost library to include python support without doing that.
8
9
10
11#Some cleanup
12rm -rf install boost_1_49_0 src
13mkdir install src
14
15#Untar
16tar -zxvf boost_1_49_0.tar.gz
17
18#Move boost into install directory
19mv boost_1_49_0/* src
20rm -rf boost_1_49_0
21#Configure and compile
22cd src
23./bootstrap.sh \
24 --prefix="$ISSM_TIER/externalpackages/boost/install" \
25 --with-python=python3.2 \
26 --with-python-root="$ISSM_TIER/externalpackages/python/install"
27
28#Compile boost
29./bjam install
30
31#put bjam into install also:
32mkdir ../install/bin
33cp bjam ../install/bin
Note: See TracBrowser for help on using the repository browser.