Skip to content

Conversation

bulbazord
Copy link
Contributor

When building swift as a part of LLVM (as opposed to standalone) the components
related to swift headers should explicitly depend on the clang target to produce
those. On LLVM 9 and up, that would be clang-resource-headers and on lower
versions it would be clang-headers. It is important that we check for
clang-resource-headers first because clang-headers refers to something
different in LLVM 9 and up.

cc @compnerd @gottesmm @Rostepher

@bulbazord
Copy link
Contributor Author

@swift-ci please smoke test

@bulbazord bulbazord force-pushed the depend-on-clang-headers branch from 92d41dd to b2febd8 Compare August 30, 2019 21:27
@bulbazord
Copy link
Contributor Author

@swift-ci please smoke test

When building swift as a part of LLVM (as opposed to standalone) the components
related to swift headers should explicitly depend on the clang target to produce
those. On LLVM 9 and up, that would be `clang-resource-headers` and on lower
versions it would be `clang-headers`. It is important that we check for
`clang-resource-headers` first because `clang-headers` refers to something
different in LLVM 9 and up.
@bulbazord bulbazord force-pushed the depend-on-clang-headers branch from b2febd8 to d57c841 Compare September 3, 2019 16:15
@bulbazord
Copy link
Contributor Author

@swift-ci please smoke test

@compnerd compnerd merged commit f1690b0 into swiftlang:master Sep 4, 2019
@bulbazord bulbazord deleted the depend-on-clang-headers branch September 4, 2019 18:23
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