Skip to content

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
@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