~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

Viewing changes to third_party/bash/28xercesc.bash

  • Committer: Christopher Hunt
  • Date: 2015-06-18 14:48:59 UTC
  • mfrom: (697.69.1 merge)
  • mto: (697.69.2 merge_hunt)
  • mto: This revision was merged to the branch mainline in revision 708.
  • Revision ID: christopher.hunt08@imperial.ac.uk-20150618144859-rki5ma1lv8722w41
Merged in latest trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
filename=${directory}.tar.gz 
5
5
url=http://apache.mirror.anlx.net//xerces/c/3/sources/${filename}
6
6
 
 
7
while [[ $# > 1 ]]
 
8
do
 
9
key="$1"
 
10
case $key in
 
11
    -j|--num-threads)
 
12
    if expr "$2" : '-\?[0-9]\+$' >/dev/null
 
13
    then
 
14
        MAUS_NUM_THREADS="$2"
 
15
    fi
 
16
    shift
 
17
    ;;
 
18
esac
 
19
shift
 
20
done
 
21
if [ -z "$MAUS_NUM_THREADS" ]; then
 
22
  MAUS_NUM_THREADS=1
 
23
fi
7
24
 
8
25
if [ -n "${MAUS_ROOT_DIR+x}" ]; then
9
26
 
39
56
        ./configure --prefix=${MAUS_ROOT_DIR}/third_party/install
40
57
        echo "INFO: Making:"
41
58
        sleep 1
42
 
        make
 
59
        make -j$MAUS_NUM_THREADS
43
60
        make install
44
61
        echo
45
62
        echo "INFO: The package should be locally build now in your"