Skip to content

[3.x] Scons - add compiler requirements #107851

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

Merged
merged 1 commit into from
Jul 2, 2025

Conversation

lawnjelly
Copy link
Member

@lawnjelly lawnjelly commented Jun 22, 2025

This is my (nOOb) attempt at backporting some of the compiler checks we use in 4.x for c++17.

The new get_compiler_version() returns a dictionary with more info, so in the interests of not breaking the existing SConstruct I've renamed it get_compiler_version_ex().

It seems to pass CI (by some miracle! 😁 ) but could do with a check by @Repiteo / @akien-mga .

To be used in conjunction with #107847.

@lawnjelly lawnjelly force-pushed the scons_check_compiler_version branch 2 times, most recently from 9457940 to 50f1995 Compare June 23, 2025 12:44
@lawnjelly lawnjelly marked this pull request as ready for review June 23, 2025 12:46
@lawnjelly lawnjelly requested a review from a team as a code owner June 23, 2025 12:46
@lawnjelly lawnjelly requested review from Repiteo and akien-mga June 23, 2025 15:28
Copy link
Contributor

@Repiteo Repiteo left a comment

Choose a reason for hiding this comment

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

Solid implementation overall! Only one real blocker to speak of

@lawnjelly lawnjelly force-pushed the scons_check_compiler_version branch from 50f1995 to 4aa8ecd Compare June 26, 2025 07:04
@lawnjelly
Copy link
Member Author

Great! 👍

I'll leave merging this and the c++17 until after Remi has gone on holiday, just in case we want to build 3.7 alpha 1 before then, in case it affects the build in any unexpected way.

@lawnjelly lawnjelly merged commit 8436e0d into godotengine:3.x Jul 2, 2025
14 checks passed
@lawnjelly lawnjelly deleted the scons_check_compiler_version branch July 2, 2025 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants