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

cmake: allow more CMAKE_BUILD_TYPE #3029

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

junghans
Copy link
Contributor

@junghans junghans commented Jan 2, 2024

I wanted to build with RelWithDebInfo and saw no reason why that wouldn't work, so allowing it in CMake now.

@junghans junghans marked this pull request as ready for review January 2, 2024 15:59
@junghans
Copy link
Contributor Author

junghans commented Jan 2, 2024

@certik ready for your review!

@junghans
Copy link
Contributor Author

junghans commented Jan 2, 2024

PS: The "Check Out-of-Source Debug build" jobs in the CI isn't "required", but should.

@certik
Copy link
Contributor

certik commented Jan 3, 2024

I added the out-of-source CI test to "required".

Copy link
Contributor

@certik certik left a comment

Choose a reason for hiding this comment

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

I think this is fine. I added those checks there to ensure either Debug or Release, but if things work, we can support more configurations. Note that this file https://github.com/lfortran/lfortran/blob/75cf687c5318f695d1526c3017a4e6576772310a/cmake/UserOverride.cmake probably also needs to be updated.

@certik certik enabled auto-merge January 3, 2024 01:39
@certik certik merged commit 8e4d530 into lfortran:main Jan 3, 2024
21 checks passed
@junghans junghans deleted the more_buildtypes branch January 3, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants