This is an archive of the discontinued LLVM Phabricator instance.

Makefile.rules: Use a shared clang module cache directory.
ClosedPublic

Authored by aprantl on Nov 15 2018, 2:28 PM.

Details

Summary

Just to be safe, up until now each test used its own Clang module
cache directory. Since the compiler within one testsuite doesn't
change it is just as safe to share a clang module directory inside the
LLDB test build directory. This saves us from compiling tens of
gigabytes of redundant Darwin and Foundation .pcm files and also
speeds up running the test suite quite significantly.

rdar://problem/36002081

Diff Detail

Repository
rLLDB LLDB

Event Timeline

This revision is now accepted and ready to land.Nov 15 2018, 5:12 PM
aprantl updated this revision to Diff 174311.Nov 15 2018, 5:23 PM

Small bugfix + an error message that would have caught it.

This revision was automatically updated to reflect the committed changes.