diff --git a/.dockerignore b/.dockerignore index b627e92a..ab7e50dc 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,3 +2,4 @@ Dockerfile Jenkinsfile .git/objects/pack +build* diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60fffe45..4ce9d2cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,7 @@ jobs: build: strategy: + fail-fast: false matrix: include: - {os: ubuntu-20.04, cc: gcc-10, cxx: g++-10} @@ -58,8 +59,8 @@ jobs: - name: Install homebrew dependencies if: matrix.os == 'macos-10.15' run: | - brew install gcc@10 llvm@10 boost fftw hdf5 open-mpi openblas numpy scipy mpi4py - pip3 install mako + brew install gcc@10 llvm boost fftw hdf5 open-mpi openblas + pip3 install mako numpy scipy mpi4py pip3 install -r requirements.txt - name: Build & Install TRIQS diff --git a/c++/triqs_dft_tools/CMakeLists.txt b/c++/triqs_dft_tools/CMakeLists.txt index e847bf2f..59f19aa8 100644 --- a/c++/triqs_dft_tools/CMakeLists.txt +++ b/c++/triqs_dft_tools/CMakeLists.txt @@ -6,7 +6,10 @@ add_library(${PROJECT_NAME}::${PROJECT_NAME}_c ALIAS ${PROJECT_NAME}_c) target_link_libraries(${PROJECT_NAME}_c PUBLIC triqs PRIVATE $) # Configure target and compilation -set_property(TARGET ${PROJECT_NAME}_c PROPERTY POSITION_INDEPENDENT_CODE ON) +set_target_properties(${PROJECT_NAME}_c PROPERTIES + POSITION_INDEPENDENT_CODE ON + VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} +) target_include_directories(${PROJECT_NAME}_c PUBLIC $) target_include_directories(${PROJECT_NAME}_c SYSTEM INTERFACE $) target_compile_definitions(${PROJECT_NAME}_c PUBLIC