Changeset 27150


Ignore:
Timestamp:
07/07/22 14:44:34 (3 years ago)
Author:
schlegel
Message:

CHG: force dakota compile with python2 and throw error if not found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-mac.sh

    r26246 r27150  
    5757cp configs/${VER}/mac/cmake/InstallDarwinDylibs.cmake ${DAK_SRC}/cmake
    5858
     59#check for python 2, required by dakota
     60PYTHONEXECUTIONPATH=$(which python2) || echo WARNING dakota will not compile without python2
     61
    5962# Configure
    6063cd ${DAK_BUILD}
     
    6770        -DCMAKE_Fortran_COMPILER=${MPI_HOME}/bin/mpif77 \
    6871        -DCMAKE_Fortran_FLAGS="-fallow-argument-mismatch" \
     72        -DPYTHON_EXECUTABLE=$PYTHONEXECUTIONPATH \
    6973        -DBoost_NO_BOOST_CMAKE=TRUE \
    7074        -DHAVE_ACRO=OFF \
Note: See TracChangeset for help on using the changeset viewer.