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

SCons: Don't cache libraries #1611

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

Repiteo
Copy link
Contributor

@Repiteo Repiteo commented Sep 30, 2024

It was discovered in one of my PRs on the main repo1 that the cache size for godot-cpp is huge. After a bit more digging, I believe that the main culprits are the library files; the equivalents of which are not cached in the main repo. This PR makes them uncached explicitly.

Footnotes

  1. https://github.com/godotengine/godot/pull/97166#discussion_r1766720006

@Repiteo Repiteo added enhancement This is an enhancement on the current functionality topic:buildsystem Related to the buildsystem or CI setup labels Sep 30, 2024
@Repiteo Repiteo added this to the 4.4 milestone Sep 30, 2024
@Repiteo Repiteo requested a review from a team as a code owner September 30, 2024 16:37
Copy link
Collaborator

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

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

Thanks! Seems good to me :-)

@Repiteo Repiteo changed the title SCons: Don't cache librarys SCons: Don't cache libraries Oct 12, 2024
@dsnopek dsnopek merged commit 291147e into godotengine:master Oct 15, 2024
12 checks passed
@dsnopek
Copy link
Collaborator

dsnopek commented Oct 28, 2024

Cherry-picked for 4.2 in PR #1631

@dsnopek
Copy link
Collaborator

dsnopek commented Oct 28, 2024

Cherry-picked for 4.3 in PR #1632

@Repiteo Repiteo deleted the library-no-cache branch October 30, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement on the current functionality topic:buildsystem Related to the buildsystem or CI setup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants