Changeset 18304
- Timestamp:
 - 07/30/14 15:11:18 (11 years ago)
 - Location:
 - issm/trunk-jpl/externalpackages/dakota
 - Files:
 - 
      
- 2 added
 - 1 edited
 
- 
          
  configs/5.3.1/BuildDakotaCustom.cmake.mac.patch (added)
 - 
          
  configs/5.3.1/CMakeLists.txt.patch (added)
 - 
          
  install-5.3.1-macosx64.sh (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk-jpl/externalpackages/dakota/install-5.3.1-macosx64.sh
r18221 r18304 23 23 export DAK_BUILD=$ISSM_DIR/externalpackages/dakota/build 24 24 cp $DAK_SRC/cmake/BuildDakotaTemplate.cmake $DAK_SRC/cmake/BuildDakotaCustom.cmake 25 patch $DAK_SRC/cmake/BuildDakotaCustom.cmake configs/5.3.1/BuildDakotaCustom.cmake. patch25 patch $DAK_SRC/cmake/BuildDakotaCustom.cmake configs/5.3.1/BuildDakotaCustom.cmake.mac.patch 26 26 patch $DAK_SRC/cmake/DakotaDev.cmake configs/5.3.1/DakotaDev.cmake.patch 27 patch $DAK_SRC/CMakeLists.txt configs/5.3.1/CMakeLists.txt.patch 27 28 28 29 #Apply patches … … 33 34 patch src/packages/pecos/src/pecos_global_defs.hpp configs/5.3.1/pecos_global_defs.hpp.patch 34 35 36 export BOOST_ROOT=$ISSM_DIR/externalpackages/boost/install 37 35 38 #Configure dakota 39 # Set your local gcc compiler here 36 40 cd $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 41 cmake -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 38 50 cd .. 39 51  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)