Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Conversation

@jrose-apple
Copy link
Contributor

Cherry-pick @ributzka's fix for making CMake check_symbol_exists deployment-target aware, to avoid issues like https://ci.swift.org/job/swift-PR-osx/404/ on swiftlang/swift#11867 (a completely unrelated PR).

…S releases."

This fixes an issue with the use of LLVM_PARALLEL_LINK_JOBS.

Original commit message:
macOS 10.13 added a new API (futimens). This API is only available on macOS 10.13
and later, but the cmake check we have in place only tests if the symbol is
present and ignores the availability attribute. Luckily we have new warning for
this and by making this warning an error the cmake check will return the correct
result.

See also rdar://problem/33992750.

Differential Revision: https://reviews.llvm.org/D37027

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311965 91177308-0d34-0410-b5e6-96231b3b80d8
@jrose-apple jrose-apple changed the base branch from stable to swift-4.1-branch September 15, 2017 17:07
@ributzka
Copy link
Contributor

👍

@fredriss
Copy link
Contributor

LGTM

@jrose-apple jrose-apple merged commit ba7f259 into apple:swift-4.1-branch Sep 15, 2017
@jrose-apple jrose-apple deleted the 4.1-futimens-fix branch September 15, 2017 17:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants