diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fad576..8fbc686 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,10 +21,7 @@ # ############################################################################## cmake_minimum_required(VERSION 3.20 FATAL_ERROR) -cmake_policy(VERSION 3.20) -if(POLICY CMP0144) - cmake_policy(SET CMP0144 NEW) -endif() +cmake_policy(VERSION ${CMAKE_VERSION}) # ############ # Define Project diff --git a/Jenkinsfile b/Jenkinsfile index 1aed4f0..bfc2be5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -59,8 +59,8 @@ for (int i = 0; i < dockerPlatforms.size(); i++) { /****************** osx builds (on host) */ def osxPlatforms = [ - ["gcc", ['CC=gcc-13', 'CXX=g++-13', 'FC=gfortran-13']], - ["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']] + ["gcc", ['CC=gcc-14', 'CXX=g++-14', 'FC=gfortran-14']], + ["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']] ] for (int i = 0; i < osxPlatforms.size(); i++) { def platformEnv = osxPlatforms[i] @@ -88,8 +88,8 @@ for (int i = 0; i < osxPlatforms.size(); i++) { "C_INCLUDE_PATH=$hdf5/include:${env.BREW}/include", "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.9/site-packages", + "DYLD_LIBRARY_PATH=$venv/lib:$hdf5/lib:${env.BREW}/lib", + "PYTHONPATH=$installDir/lib/python3.12/site-packages", "CMAKE_PREFIX_PATH=$venv/lib/cmake/triqs", "OMP_NUM_THREADS=2", "BLAS_ROOT=$openblas", diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index e26dfba..392370c 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -51,8 +51,8 @@ endif() if(PythonSupport OR (NOT IS_SUBPROJECT AND Build_Documentation)) external_dependency(Cpp2Py GIT_REPO https://github.com/TRIQS/cpp2py - VERSION 2.0 - GIT_TAG unstable + VERSION 3.3 + GIT_TAG main BUILD_ALWAYS EXCLUDE_FROM_ALL )