2
0
mirror of https://github.com/boostorg/odeint.git synced 2026-01-19 04:22:12 +00:00

Merge pull request #86 from boostorg/Cmake_mpi

This commit is contained in:
Matt Borland
2024-07-11 19:05:01 -04:00
committed by GitHub
3 changed files with 22 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ env:
B2_LINK: shared,static
LCOV_BRANCH_COVERAGE: 0
CODECOV_NAME: Github Actions
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
jobs:
posix:

View File

@@ -28,6 +28,7 @@ env:
B2_LINK: shared,static
LCOV_BRANCH_COVERAGE: 0
CODECOV_NAME: Github Actions
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
jobs:
posix:
@@ -184,3 +185,15 @@ jobs:
- name: Upload coverage
if: matrix.coverage
run: ci/codecov.sh "upload"
env:
BOOST_CI_CODECOV_IO_UPLOAD: skip
- name: Upload coverage
if: matrix.coverage
uses: codecov/codecov-action@v4
with:
disable_search: true
file: coverage.info
name: Github Actions
token: ${{secrets.CODECOV_TOKEN}}
verbose: true

View File

@@ -45,7 +45,6 @@ else()
Boost::fusion
Boost::iterator
Boost::math
Boost::mpi
Boost::mpl
Boost::multi_array
Boost::numeric_ublas
@@ -58,6 +57,14 @@ else()
Boost::utility
)
# From CMake 3.30 linking against MPI when it does not exist gives errors
if(BOOST_ENABLE_MPI)
target_link_libraries(boost_numeric_odeint
INTERFACE
Boost::mpi
)
endif()
endif()
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")