Skip to content

Commit

Permalink
[jenkins] For osx builds use gfortran14 and python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Sep 12, 2024
1 parent 29125c3 commit 5a9a092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ for (int i = 0; i < dockerPlatforms.size(); i++) {

/****************** osx builds (on host) */
def osxPlatforms = [
["clang", ['CC=$BREW/opt/llvm/bin/clang', 'CXX=$BREW/opt/llvm/bin/clang++', 'FC=gfortran-13', 'CXXFLAGS=-I$BREW/opt/llvm/include', 'LDFLAGS=-L$BREW/opt/llvm/lib', 'CMAKE_PREFIX_PATH=$BREW/opt/llvm/lib/cmake']]
["clang", ['CC=$BREW/opt/llvm/bin/clang', 'CXX=$BREW/opt/llvm/bin/clang++', 'FC=gfortran-14', 'CXXFLAGS=-I$BREW/opt/llvm/include', 'LDFLAGS=-L$BREW/opt/llvm/lib', 'CMAKE_PREFIX_PATH=$BREW/opt/llvm/lib/cmake']]
]
for (int i = 0; i < osxPlatforms.size(); i++) {
def platformEnv = osxPlatforms[i]
Expand Down Expand Up @@ -77,7 +77,7 @@ for (int i = 0; i < osxPlatforms.size(); i++) {
"CPLUS_INCLUDE_PATH=$venv/include:$hdf5/include:${env.BREW}/include",
"LIBRARY_PATH=$venv/lib:$hdf5/lib:${env.BREW}/lib",
"LD_LIBRARY_PATH=$hdf5/lib",
"PYTHONPATH=$installDir/lib/python3.11/site-packages",
"PYTHONPATH=$installDir/lib/python3.12/site-packages",
"OMP_NUM_THREADS=2"]) {
deleteDir()
sh "python3 -m venv $venv"
Expand Down

0 comments on commit 5a9a092

Please sign in to comment.