Skip to content

build-script: force LLVM to use libc++ on Darwin #1175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2016

Conversation

gribozavr
Copy link
Contributor

Under certain circumstances, when the OS X machine has the /usr/include directory that contains stale headers (not from the current Xcode installation), the build might fail. This patch works around the issue by ensuring that LLVM CMake scripts don't try to look in /usr/include.

rdar://problem/24452118

@gribozavr
Copy link
Contributor Author

@swift-ci Please test

@gribozavr gribozavr self-assigned this Feb 2, 2016
@gribozavr
Copy link
Contributor Author

@bitjammer Could you review for Swift 2.2?

@bitjammer
Copy link
Contributor

LGTM.

@gribozavr
Copy link
Contributor Author

The failure was unrelated:

Failing Tests (1):
    Swift :: IDE/crashers/059-swift-iterativetypechecker-processinheritedprotocols.swift

gribozavr added a commit that referenced this pull request Feb 3, 2016
build-script: force LLVM to use libc++ on Darwin
@gribozavr gribozavr merged commit 60ae70c into master Feb 3, 2016
@gribozavr gribozavr deleted the force-use-libcxx-on-darwin branch February 3, 2016 01:58
MaxDesiatov added a commit that referenced this pull request Oct 19, 2020
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