This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Cache results of darwin_test_archs
ClosedPublic

Authored by kubamracek on Dec 3 2015, 2:13 AM.

Details

Summary

For OS X builds of compiler-rt, we run darwin_test_archs to determine which architectures can the toolchain target. This detection takes quite a long time, and the result is always the same (as long as you don't upgrade your OS, system headers or toolchain). Let's cache the result.

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek updated this revision to Diff 41725.Dec 3 2015, 2:13 AM
kubamracek retitled this revision from to [sanitizer] Cache results of darwin_test_archs.
kubamracek updated this object.
kubamracek added reviewers: beanz, samsonov, glider.
kubamracek added subscribers: llvm-commits, zaks.anna.
beanz accepted this revision.Dec 3 2015, 9:01 AM
beanz edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Dec 3 2015, 9:01 AM
This revision was automatically updated to reflect the committed changes.