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

Last change on this file since 9709 was 9709, checked in by Eric.Larour, 14 years ago

boost package

  • Property svn:executable set to *
File size: 509 bytes
RevLine 
[9709]1#!/bin/bash
2
3#get number of CPUS
4NUMCPUS=$1;
5
6#version of boost
7version=`echo *.tar.gz | sed 's/\.tar\.gz//g' | sed 's/boost_//g'`
8echo $version
9
10#Some cleanup
11rm -rf install boost_$version src
12
13#Create install directories
14mkdir install src
15
16#Untar
17tar -zxvf boost_$version.tar.gz
18
19#Move boost into install directory
20mv boost_$version/* src
21rm -rf boost_$version
22
23#Apply patches
24cd src
25
26#Configure
27./bootstrap.sh --prefix=$ISSM_TIER/externalpackages/boost/install
28
29#Compile boost
30./bjam -j$NUMCPUS install
Note: See TracBrowser for help on using the repository browser.