~mwinter4/maus/ckov_0_9_3

« back to all changes in this revision

Viewing changes to install_build_test.bash

MergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
# 2. Any existing environment variable called "maus_third_party" e.g. if set by user's .bashrc file
39
39
# 3. The current maus working directory, as held by the variable MAUS_ROOT_DIR
40
40
# If not location is found then the script aborts 
 
41
cmake --version
 
42
if [ $? != 0 ]; then
 
43
    echo "FATAL: Require cmake to build g4.9.6.p02"
 
44
    echo "FATAL: Exiting. Install cmake and try again"
 
45
    exit 1
 
46
fi
41
47
if [ "$1" ]; then
42
48
    MAUS_THIRD_PARTY=$1
43
49
    echo "Your MAUS_THIRD_PARTY is:"
68
74
        ./third_party/build_all.bash 2>>$FILE_STD 1>>$FILE_STD
69
75
        echo "Resource the environment (catches the new ROOT version)"
70
76
        source env.sh 2>>$FILE_STD 1>>$FILE_STD
 
77
        #./third_party/bash third_party/bash/29expat.bash
 
78
        #./third_party/bash third_party/bash/32clhep2.1.1.0.bash
 
79
        #./third_party/bash third_party/bash/35geant4.9.6.bash
 
80
        # source env_geant4.9.6.p02.sh 2>>$FILE_STD 1>>$FILE_STD
71
81
fi
72
82
 
73
83
echo "Cleaning the MAUS build state"