Skip to content

Commit

Permalink
Build SUNDIALS 7.1.1 and be more flexible about the versions we acceptt
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwweber committed Dec 1, 2024
1 parent 7ef4277 commit 5a390b5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions interfaces/python_sdist/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ FetchContent_Declare(
FIND_PACKAGE_ARGS NAMES yaml-cpp
)

set(SUNDIALS_VERSION 7.0.0)
set(SUNDIALS_VERSION 7.1.1)
FetchContent_Declare(
sundials
URL https://github.com/LLNL/sundials/releases/download/v${SUNDIALS_VERSION}/sundials-${SUNDIALS_VERSION}.tar.gz
URL_HASH SHA256=d762a7950ef4097fbe9d289f67a8fb717a0b9f90f87ed82170eb5c36c0a07989
# FIND_PACKAGE_ARGS has to be the last thing in this call because it greedily takes
# everything after it to pass to `find_package()`
FIND_PACKAGE_ARGS 7.0.0 EXACT NAMES SUNDIALS
FIND_PACKAGE_ARGS NAMES SUNDIALS
)

set(FMT_VERSION 10.2.1)
Expand Down Expand Up @@ -134,14 +134,14 @@ target_link_libraries(cantera_lib PUBLIC
fmt::fmt
Eigen3::Eigen
HighFive
SUNDIALS::core_static
SUNDIALS::nvecserial_static
SUNDIALS::cvodes_static
SUNDIALS::idas_static
SUNDIALS::sunmatrixband_static
SUNDIALS::sunmatrixdense_static
SUNDIALS::sunmatrixsparse_static
SUNDIALS::sunlinsolspgmr_static
SUNDIALS::sunnonlinsolnewton_static
SUNDIALS::core
SUNDIALS::nvecserial
SUNDIALS::cvodes
SUNDIALS::idas
SUNDIALS::sunmatrixband
SUNDIALS::sunmatrixdense
SUNDIALS::sunmatrixsparse
SUNDIALS::sunlinsolspgmr
SUNDIALS::sunnonlinsolnewton
${SUNDIALS_LIBRARIES}
)

0 comments on commit 5a390b5

Please sign in to comment.