Skip to content

Conversation

etcwilde
Copy link
Member

@etcwilde etcwilde commented Oct 9, 2025

The modulemap override should only be added in the build interface, where we don't copy the modulemap and header files. The install interface installs the modulemap and header files to a location where the compiler will see it, so passing the override results in the compiler seeing both modulemaps defining the same module and then failing. This moves the override to only be part of the build interface.

The modulemap override should only be added in the build interface,
where we don't copy the modulemap and header files. The install
interface installs the modulemap and header files to a location where
the compiler will see it, so passing the override results in the
compiler seeing both modulemaps defining the same module and then
failing. This moves the override to only be part of the build interface.
@etcwilde
Copy link
Member Author

etcwilde commented Oct 9, 2025

@swift-ci please test

@etcwilde etcwilde merged commit 59c6a46 into swiftlang:main Oct 9, 2025
19 checks passed
@etcwilde etcwilde deleted the ewilde/override-modulemap-in-build-dir branch October 9, 2025 22:27
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