Skip to content

Conversation

@drodriguez
Copy link

After swiftlang/swift#60218 was merged, unified builds with CMake fail because the headers that used to be relative are not found in the header search path.

Normal Swift builds rely on the else branch below these changes and use SWIFT_INCLUDE_DIRS, which was correctly updated in the PR linked above, but for the less used unified builds one has to be explicit about which header search path is needed.

/cc @egorzhdan @zoecarver @etcwilde @compnerd

After swiftlang/swift#60218 was merged, unified builds with CMake fail
because the headers that used to be relative are not found in the header
search path.

Normal Swift builds rely on the else branch below these changes and use
SWIFT_INCLUDE_DIRS, which was correctly updated in the PR linked above,
but for the less used unified builds one has to be explicit about which
header search path is needed.
@compnerd
Copy link
Member

@swift-ci please test

Copy link

@egorzhdan egorzhdan left a comment

Choose a reason for hiding this comment

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

Thanks!

@compnerd compnerd merged commit 47d54b9 into swiftlang:stable/20220421 Sep 17, 2022
@drodriguez drodriguez deleted the lldb-swift-include-paths branch September 19, 2022 22:31
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.

4 participants