Skip to content

Conversation

devincoughlin
Copy link
Contributor

In #19973 the logic that adds "-target" when
building the C parts of the Standard Library and overlays was changed to use
CMAKE_C_COMPILER_ID to only do so when the compiler ID is "Clang". However,
on Apple toolchains the compiler ID is "AppleClang", so the target was no
longer being explicitly set.

Update the logic to relax the explicit check for "Clang" to also allow
"AppleClang".

rdar://problem/45579667

In swiftlang#19973 the logic that adds "-target" when
building the C parts of the Standard Library and overlays was changed to use
CMAKE_C_COMPILER_ID to only do so when the compiler ID is "Clang". However,
on Apple toolchains the compiler ID is "AppleClang", so the target was no
longer being explicitly set.

Update the logic to relax the explicit check for "Clang" to also allow
"AppleClang".

rdar://problem/45579667
@devincoughlin
Copy link
Contributor Author

@swift-ci Please smoke test

@devincoughlin
Copy link
Contributor Author

@swift-ci Please test and merge

@devincoughlin
Copy link
Contributor Author

The non-smoke test failure is not related to this commit.

@devincoughlin devincoughlin merged commit 9103db8 into swiftlang:master Oct 30, 2018
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.

1 participant