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
|
---|
12 | rm -rf install boost_1_49_0 src
|
---|
13 | mkdir install src
|
---|
14 |
|
---|
15 | #Untar
|
---|
16 | tar -zxvf boost_1_49_0.tar.gz
|
---|
17 |
|
---|
18 | #Move boost into install directory
|
---|
19 | mv boost_1_49_0/* src
|
---|
20 | rm -rf boost_1_49_0
|
---|
21 | #Configure and compile
|
---|
22 | cd 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:
|
---|
32 | mkdir ../install/bin
|
---|
33 | cp bjam ../install/bin
|
---|
Note:
See
TracBrowser
for help on using the repository browser.