This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Add macOS minimum deployment target to all compiler invocations in lit tests
ClosedPublic

Authored by kubamracek on Nov 21 2016, 1:02 PM.

Details

Summary

The Clang driver on macOS decides the deployment target based on various things, like your host OS version, the SDK version and some environment variables, which makes lit tests pass or fail based on your environment. Let's make sure we run all lit tests with -mmacosx-version-min=${SANITIZER_MIN_OSX_VERSION} (10.9 unless overriden).

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek updated this revision to Diff 78762.Nov 21 2016, 1:02 PM
kubamracek retitled this revision from to [sanitizer] Add macOS minimum deployment target to all compiler invocations in lit tests.
kubamracek updated this object.
kubamracek added reviewers: kcc, zaks.anna, eugenis, beanz.
kubamracek set the repository for this revision to rL LLVM.
kubamracek added a project: Restricted Project.
kubamracek added a subscriber: llvm-commits.
filcab accepted this revision.Nov 29 2016, 9:32 AM
filcab edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Nov 29 2016, 9:32 AM
This revision was automatically updated to reflect the committed changes.