Changeset 18304


Ignore:
Timestamp:
07/30/14 15:11:18 (11 years ago)
Author:
schlegel
Message:

CHG: update dakota to build statically

Location:
issm/trunk-jpl/externalpackages/dakota
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/dakota/install-5.3.1-macosx64.sh

    r18221 r18304  
    2323export DAK_BUILD=$ISSM_DIR/externalpackages/dakota/build
    2424cp $DAK_SRC/cmake/BuildDakotaTemplate.cmake $DAK_SRC/cmake/BuildDakotaCustom.cmake
    25 patch $DAK_SRC/cmake/BuildDakotaCustom.cmake configs/5.3.1/BuildDakotaCustom.cmake.patch
     25patch $DAK_SRC/cmake/BuildDakotaCustom.cmake configs/5.3.1/BuildDakotaCustom.cmake.mac.patch
    2626patch $DAK_SRC/cmake/DakotaDev.cmake configs/5.3.1/DakotaDev.cmake.patch
     27patch $DAK_SRC/CMakeLists.txt configs/5.3.1/CMakeLists.txt.patch
    2728
    2829#Apply patches
     
    3334patch src/packages/pecos/src/pecos_global_defs.hpp configs/5.3.1/pecos_global_defs.hpp.patch
    3435
     36export BOOST_ROOT=$ISSM_DIR/externalpackages/boost/install
     37
    3538#Configure dakota
     39# Set your local gcc compiler here
    3640cd $DAK_BUILD
    37 cmake -D CMAKE_C_COMPILER=/usr/local/gfortran/bin/x86_64-apple-darwin10-gcc -D CMAKE_CXX_COMPILER=/usr/local/gfortran/bin/x86_64-apple-darwin10-g++ -D CMAKE_Fortran_COMPILER=/usr/local/gfortran/bin/x86_64-apple-darwin10-gfortran -C $DAK_SRC/cmake/BuildDakotaCustom.cmake -C $DAK_SRC/cmake/DakotaDev.cmake $DAK_SRC
     41cmake -DBoost_NO_BOOST_CMAKE=TRUE \
     42    -DBoost_NO_SYSTEM_PATHS=TRUE \
     43    -DBOOST_ROOT:PATHNAME=$BOOST_ROOT \
     44    -DBoost_LIBRARY_DIRS:FILEPATH=${BOOST_ROOT}/lib \
     45         -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CC_COMPILER=gcc \
     46    -C $DAK_SRC/cmake/BuildDakotaCustom.cmake -C $DAK_SRC/cmake/DakotaDev.cmake $DAK_SRC
     47
     48#-DCMAKE_CXX_COMPILER=/usr/local/gfortran/bin/x86_64-apple-darwin10-g++ -DCMAKE_Fortran_COMPILER=/usr/local/gfortran/bin/x86_64-apple-darwin10-gfortran
     49
    3850cd ..
    3951
Note: See TracChangeset for help on using the changeset viewer.