Skip to content

CMake: Don't clobber un-namespaced options#600

Merged
gardner48 merged 4 commits intollnl:developfrom
ZedThree:fix-sundials_option
Dec 3, 2024
Merged

CMake: Don't clobber un-namespaced options#600
gardner48 merged 4 commits intollnl:developfrom
ZedThree:fix-sundials_option

Conversation

@ZedThree
Copy link
Copy Markdown
Contributor

@ZedThree ZedThree commented Nov 6, 2024

Fixes #538

Non-SUNDIALS namespaced variables may be used by other projects so don't unset them

  • Please target the develop branch not main.
  • Review our Contributing Guide, and ensure that you sign your last commit (at minimum) as per the guide.
  • Provide a concise description of what your pull request does, and why it is needed/benefical.
  • Add a note about your change to the CHANGELOG.md and docs/shared/RecentChanges.rst files. Notice that the former is a markdown file and the latter is reStructuredText, so the formatting is slightly different.
  • After your PR is opened, ensure that all of the tests are passing (a SUNDIALS developer will have to allow the testing to run).

Fixes llnl#538

Non-`SUNDIALS` namespaced variables may be used by other
projects so don't `unset` them

Signed-off-by: Peter Hill <peter.hill@york.ac.uk>
@ZedThree ZedThree force-pushed the fix-sundials_option branch from a880092 to edb83d4 Compare November 6, 2024 16:12
@balos1 balos1 added the cmake label Nov 6, 2024
Copy link
Copy Markdown
Member

@balos1 balos1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. This will make the CMake GUI display options that are irrelevant unless the right ENABLE_* variable is set, but we will have to find a different way to address that.

@balos1 balos1 added this to the SUNDIALS Next milestone Nov 20, 2024
@gardner48 gardner48 merged commit f23fe78 into llnl:develop Dec 3, 2024
@ZedThree ZedThree deleted the fix-sundials_option branch March 14, 2025 10:20
gardner48 pushed a commit that referenced this pull request Jul 21, 2025
Non-`SUNDIALS` namespaced variables may be used by other projects so
don't `unset` them. Fixes #538

---------

Signed-off-by: Peter Hill <peter.hill@york.ac.uk>
Co-authored-by: Cody Balos <balos1@llnl.gov>
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.

3 participants