Skip to content

CMake: Prefix post options with SUNDIALS_BUILD_#837

Merged
gardner48 merged 96 commits into
developfrom
cmake/prefix-options
Mar 17, 2026
Merged

CMake: Prefix post options with SUNDIALS_BUILD_#837
gardner48 merged 96 commits into
developfrom
cmake/prefix-options

Conversation

@gardner48
Copy link
Copy Markdown
Member

@gardner48 gardner48 commented Jan 28, 2026

  • Update SUNDIALS post options to use SUNDIALS_ENABLE_ instead of BUILD_
  • Fix DEPENDS_ON for SUNDIALS_ENABLE_CALIPER and SUNDIALS_ENABLE_ADIAK

Conflicts:
  CHANGELOG.md
  benchmarks/advection_reaction_3D/CMakeLists.txt
  cmake/SundialsBuildOptionsPost.cmake
  cmake/SundialsExampleOptions.cmake
  cmake/SundialsSetupCXX.cmake
  cmake/SundialsSetupCompilers.cmake
  cmake/SundialsTPLOptions.cmake
  cmake/macros/SundialsAddLibrary.cmake
  cmake/tpl/SundialsSuperLUDIST.cmake
  doc/shared/RecentChanges.rst
  doc/shared/sundials/Install.rst
  doc/shared/sundials/Profiling.rst
  doc/superbuild/source/developers/testing/Benchmarking.rst
  examples/arkode/CMakeLists.txt
  examples/arkode/CXX_xbraid/CMakeLists.txt
  examples/cvode/CMakeLists.txt
  examples/cvodes/CMakeLists.txt
  examples/ida/CMakeLists.txt
  examples/idas/CMakeLists.txt
  examples/kinsol/CMakeLists.txt
  src/sundials/CMakeLists.txt
  src/sunmemory/CMakeLists.txt
  test/unit_tests/arkode/CMakeLists.txt
  test/unit_tests/nvector/CMakeLists.txt
  test/unit_tests/sundomeigest/CMakeLists.txt
  test/unit_tests/sunlinsol/CMakeLists.txt
  test/unit_tests/sunmatrix/CMakeLists.txt
  test/unit_tests/sunnonlinsol/CMakeLists.txt
Conflicts:
  CHANGELOG.md
  CMakeLists.txt
  cmake/SundialsBuildOptionsPost.cmake
  cmake/SundialsBuildOptionsPre.cmake
  cmake/SundialsExampleOptions.cmake
  cmake/SundialsSetupCompilers.cmake
  cmake/SundialsSetupTesting.cmake
  doc/shared/RecentChanges.rst
  doc/shared/sundials/Install.rst
  doc/superbuild/source/developers/benchmarks/index.rst
  doc/superbuild/source/developers/testing/CTest.rst
  examples/CMakeLists.txt
  examples/arkode/CMakeLists.txt
  examples/arkode/CXX_lapack/CMakeLists.txt
  examples/arkode/CXX_manyvector/CMakeLists.txt
  examples/arkode/CXX_parallel/CMakeLists.txt
  examples/arkode/CXX_parhyp/CMakeLists.txt
  examples/arkode/CXX_serial/CMakeLists.txt
  examples/arkode/CXX_superludist/CMakeLists.txt
  examples/arkode/CXX_xbraid/CMakeLists.txt
  examples/arkode/C_manyvector/CMakeLists.txt
  examples/arkode/C_openmp/CMakeLists.txt
  examples/arkode/C_openmpdev/CMakeLists.txt
  examples/arkode/C_parallel/CMakeLists.txt
  examples/arkode/C_parhyp/CMakeLists.txt
  examples/arkode/C_petsc/CMakeLists.txt
  examples/arkode/C_serial/CMakeLists.txt
  examples/arkode/C_superlu-mt/CMakeLists.txt
  examples/arkode/F2003_custom/CMakeLists.txt
  examples/arkode/F2003_parallel/CMakeLists.txt
  examples/arkode/F2003_serial/CMakeLists.txt
  examples/cvode/CMakeLists.txt
  examples/cvode/CXX_onemkl/CMakeLists.txt
  examples/cvode/CXX_parallel/CMakeLists.txt
  examples/cvode/CXX_parhyp/CMakeLists.txt
  examples/cvode/CXX_serial/CMakeLists.txt
  examples/cvode/CXX_sycl/CMakeLists.txt
  examples/cvode/C_mpimanyvector/CMakeLists.txt
  examples/cvode/C_openmp/CMakeLists.txt
  examples/cvode/C_openmpdev/CMakeLists.txt
  examples/cvode/F2003_parallel/CMakeLists.txt
  examples/cvode/F2003_serial/CMakeLists.txt
  examples/cvode/cuda/CMakeLists.txt
  examples/cvode/ginkgo/CMakeLists.txt
  examples/cvode/hip/CMakeLists.txt
  examples/cvode/kokkos/CMakeLists.txt
  examples/cvode/magma/CMakeLists.txt
  examples/cvode/parallel/CMakeLists.txt
  examples/cvode/parhyp/CMakeLists.txt
  examples/cvode/petsc/CMakeLists.txt
  examples/cvode/raja/CMakeLists.txt
  examples/cvode/serial/CMakeLists.txt
  examples/cvode/superludist/CMakeLists.txt
  examples/cvodes/CMakeLists.txt
  examples/cvodes/C_openmp/CMakeLists.txt
  examples/cvodes/F2003_serial/CMakeLists.txt
  examples/cvodes/parallel/CMakeLists.txt
  examples/cvodes/serial/CMakeLists.txt
  examples/ida/CMakeLists.txt
  examples/ida/C_openmp/CMakeLists.txt
  examples/ida/F2003_openmp/CMakeLists.txt
  examples/ida/F2003_parallel/CMakeLists.txt
  examples/ida/F2003_serial/CMakeLists.txt
  examples/ida/cuda/CMakeLists.txt
  examples/ida/mpicuda/CMakeLists.txt
  examples/ida/mpiraja/CMakeLists.txt
  examples/ida/parallel/CMakeLists.txt
  examples/ida/petsc/CMakeLists.txt
  examples/ida/raja/CMakeLists.txt
  examples/ida/serial/CMakeLists.txt
  examples/ida/trilinos/CMakeLists.txt
  examples/idas/CMakeLists.txt
  examples/idas/C_openmp/CMakeLists.txt
  examples/idas/F2003_serial/CMakeLists.txt
  examples/idas/parallel/CMakeLists.txt
  examples/idas/serial/CMakeLists.txt
  examples/kinsol/CMakeLists.txt
  examples/kinsol/CUDA_mpi/CMakeLists.txt
  examples/kinsol/CXX_parallel/CMakeLists.txt
  examples/kinsol/CXX_parhyp/CMakeLists.txt
  examples/kinsol/C_openmp/CMakeLists.txt
  examples/kinsol/F2003_parallel/CMakeLists.txt
  examples/kinsol/F2003_serial/CMakeLists.txt
  examples/kinsol/parallel/CMakeLists.txt
  examples/kinsol/serial/CMakeLists.txt
  src/sunlinsol/dense/CMakeLists.txt
  src/sunlinsol/klu/CMakeLists.txt
  src/sunlinsol/lapackdense/CMakeLists.txt
  src/sunlinsol/pcg/CMakeLists.txt
  src/sunlinsol/spbcgs/CMakeLists.txt
  src/sunlinsol/spfgmr/CMakeLists.txt
  src/sunlinsol/spgmr/CMakeLists.txt
  src/sunlinsol/sptfqmr/CMakeLists.txt
  test/testRunner
Conflicts:
  benchmarks/diffusion_2D/mpi_gpu/CMakeLists.txt
  cmake/SundialsBuildOptionsPre.cmake
  cmake/SundialsSetupConfig.cmake
@gardner48 gardner48 changed the title CMake: Prefix options with SUNDIALS_ CMake: Prefix post options with SUNDIALS_BUILD_ Mar 16, 2026
@gardner48 gardner48 marked this pull request as ready for review March 16, 2026 23:26
@gardner48 gardner48 added this to the SUNDIALS v7.7.0 milestone Mar 16, 2026
@gardner48
Copy link
Copy Markdown
Member Author

gardner48 commented Mar 16, 2026

This PR now contains the final set of changes to prefix SUNDIALS CMake options with SUNDIALS_ (updating the "post" options to from BUILD_ to SUNDIALS_ENABLE_). Updates to other CMake options were broken out into separate PRs (noted above).

@gardner48 gardner48 merged commit e41b3e1 into develop Mar 17, 2026
38 checks passed
@gardner48 gardner48 deleted the cmake/prefix-options branch March 17, 2026 16:42
balos1 pushed a commit that referenced this pull request Mar 30, 2026
* Update SUNDIALS post options to use `SUNDIALS_ENABLE_` instead of
`BUILD_`
* Fix `DEPENDS_ON` for `SUNDIALS_ENABLE_CALIPER` and
`SUNDIALS_ENABLE_ADIAK`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants