~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

Viewing changes to third_party/bash/35geant4.9.6.bash

  • Committer: Adam Dobbs
  • Date: 2017-02-20 21:11:56 UTC
  • mfrom: (725.1.2 release)
  • Revision ID: phuccj@gmail.com-20170220211156-vlpbhfvfjsypfm0f
Tags: MAUS-v2.8.1
MAUS-v2.8.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        mkdir ${MAUS_ROOT_DIR}/third_party/build/${directory}
61
61
        sleep 1
62
62
        tar xfz ${MAUS_ROOT_DIR}/third_party/source/${filename} -C ${MAUS_ROOT_DIR}/third_party/source/
 
63
 
 
64
        echo
 
65
        echo "INFO: Fix the data download url"
 
66
        echo
 
67
        sed -i 's/http:\/\/geant4.cern.ch\//http:\/\/cern.ch\/geant4\//g' ${MAUS_ROOT_DIR}/third_party/source/${directory}/cmake/Modules/Geant4InstallData.cmake
 
68
 
 
69
        echo
 
70
        echo "INFO: Generating make files:"
 
71
        echo
63
72
        cd ${MAUS_ROOT_DIR}/third_party/build/${directory}
64
 
 
65
 
        echo
66
 
        echo "INFO: Generating make files:"
67
 
        echo
68
73
        sleep 1
69
74
        cmake -DCMAKE_INSTALL_PREFIX=${MAUS_ROOT_DIR}/third_party/install/ -DEXPAT_INCLUDE_DIR=${MAUS_ROOT_DIR}/third_party/install/include -DEXPAT_LIBRARY=${MAUS_ROOT_DIR}/third_party/install/lib/libexpat.so -DXERCESC_ROOT_DIR=${MAUS_ROOT_DIR}/third_party/install -DGEANT4_INSTALL_DATA=ON ${MAUS_ROOT_DIR}/third_party/source/${directory}
70
75
        echo