Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hike minimum required CMake version to 3.19 #2884

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

heplesser
Copy link
Contributor

#2835 took into use CMake function COMMAND_ERROR_IS_FATAL which is only available from CMake 3.19 on (https://github.com/nest/nest-simulator/blob/1a5838eb15321909ffed31de84cfa0b6e048b321/cmake/ProcessOptions.cmake#L664C10-L664C10).

This PR hikes the CMake requirement correspondingly and simplifies the requirement to just a minimum version.

This can cause problems for reproducibility runs on some supercomputers; e.g., JUSUF Stages/2020 supports only CMake 3.18, but is required for use of Python 3.8.

@heplesser heplesser added T: Bug Wrong statements in the code or documentation S: High Should be handled next I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Aug 10, 2023
@heplesser heplesser added this to To do in Installation via automation Aug 10, 2023
@heplesser heplesser requested a review from jougs August 10, 2023 12:20
Copy link
Contributor

@jougs jougs left a comment

Choose a reason for hiding this comment

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

LGTM!

If you find the implications for JUSUF too severe, we could alternatively also try to find a replacement for COMMAND_ERROR_IS_FATAL.

@heplesser
Copy link
Contributor Author

If you find the implications for JUSUF too severe, we could alternatively also try to find a replacement for COMMAND_ERROR_IS_FATAL.

It turned out we can use 3.21 on JUSUF, so no problem :).

@gtrensch gtrensch self-requested a review August 14, 2023 05:52
Copy link
Contributor

@gtrensch gtrensch left a comment

Choose a reason for hiding this comment

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

Approved!

@gtrensch gtrensch moved this from To do to Review in Installation Aug 14, 2023
@heplesser heplesser merged commit ef58695 into nest:master Aug 14, 2023
20 checks passed
Installation automation moved this from Review to Done Aug 14, 2023
@heplesser heplesser deleted the hike-cmake-version branch September 15, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: High Should be handled next T: Bug Wrong statements in the code or documentation
Projects
Installation
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants