Skip to content

SCons: Only rebuild gen files when build profile changes - #2019

Merged
dsnopek merged 1 commit into
godotengine:masterfrom
Faless:build/scons_profile_rebuild
Jul 22, 2026
Merged

dsnopek merged 1 commit into
godotengine:masterfrom
Faless:build/scons_profile_rebuild

Conversation

@Faless

@Faless Faless commented Jul 5, 2026 •

Copy link
Copy Markdown
Contributor

Fix SCons incorrectly rebuilding all generated files when using the build_profile option.

Fixes #2006

@Faless Faless added this to the 10.x milestone Jul 5, 2026
@Faless
Faless requested a review from a team as a code owner July 5, 2026 10:52
@Faless Faless added bug This has been identified as a bug topic:buildsystem Related to the buildsystem or CI setup labels Jul 5, 2026

@dsnopek dsnopek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks! I tested locally and the fix seems to work me :-)

@dsnopek
dsnopek merged commit 5cec5bb into godotengine:master Jul 22, 2026
20 checks passed
@Faless
Faless deleted the build/scons_profile_rebuild branch July 23, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This has been identified as a bug topic:buildsystem Related to the buildsystem or CI setup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom build profile causes godot-cpp to be ALWAYS recompiled and the SCons cache to be completely ignored on each run

2 participants