Skip to content

Ignore prebuilt module cache when building the prebuilt module cache #1649

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 7, 2024

Conversation

DougGregor
Copy link
Member

When building modules for an SDK, we need to ignore any existing prebuilt modules to avoid building a partial prebult module cache. Do so by passing an intentially-bad path for the prebuilt module cache path that's derived from the output path (but not the same as that path). This prohibits the frontend scanning job from adding the default prebuilt module cache path, while ensuring that we find no prebuilt modules.

Fixes rdar://131183526.

When building modules for an SDK, we need to ignore any existing prebuilt
modules to avoid building a partial prebult module cache. Do so by passing
an intentially-bad path for the prebuilt module cache path that's derived
from the output path (but not the same as that path). This prohibits the
frontend scanning job from adding the default prebuilt module cache path,
while ensuring that we find no prebuilt modules.

Fixes rdar://131183526.
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit 01d4294 into swiftlang:main Jul 7, 2024
3 checks passed
@DougGregor DougGregor deleted the ignore-prebuilt-in-prebuilt branch July 7, 2024 03:39
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.

2 participants