Skip to content

Set a DerivedData path for iOS test builds.#118621

Merged
ned-deily merged 1 commit intopython:mainfrom
freakboy3742:ios-derived-data
May 6, 2024
Merged

Set a DerivedData path for iOS test builds.#118621
ned-deily merged 1 commit intopython:mainfrom
freakboy3742:ios-derived-data

Conversation

@freakboy3742
Copy link
Contributor

iOS CI Builds 215-221 failed because the CI machine ran out of disk space.

When an iOS Xcode project builds, it uses a DerivedData folder to store build artefacts. By default, this folder is created in ~/Library/Developer/Xcode/DerivedData. Because the code checkout doesn't include any user-specific configuration, each time the testios target is is executed, it generates a fresh DerivedData folder, consuming ~260MB of disk space.

This derived data folder isn't cleaned up by Buildbot, because it's outside the build tree. 200 builds later, the buildbot ran out of disk space :-)

This PR modifies the Makefile to use a DerivedData folder that is in the build tree, so it will be cleaned up at the end of the test run.

I've also purged the ~/Library/Developer/Xcode/DerivedData folder on the CI machine; I'll do so again when this PR is merged.

@ned-deily ned-deily merged commit 1506d5a into python:main May 6, 2024
@freakboy3742 freakboy3742 deleted the ios-derived-data branch May 6, 2024 04:13
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Aug 5, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 6, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Sep 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Oct 9, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Dec 13, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Dec 13, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Dec 13, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Dec 13, 2024
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Feb 3, 2026
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Feb 3, 2026
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Feb 3, 2026
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

Comments