This is an archive of the discontinued LLVM Phabricator instance.

lit.py: Add new %{shared_output(LABEL)} substitution
ClosedPublic

Authored by jordan_rose on Sep 22 2017, 4:28 PM.

Details

Summary

This refers to a temporary path that can be shared across all tests, identified by a particular label. This can be used for things like caches.

At the moment, the character set for the LABEL is limited to C identifier characters, plus '-', '+', '=', and '.'. This is the same set of characters currently allowed in REQUIRES clause identifiers.

Extracting out the simple, substitution-only part of D38010.

Diff Detail

Event Timeline

jordan_rose created this revision.

Remove debugging prints.

ddunbar accepted this revision.Oct 12 2017, 8:31 AM

LGTM, thanks!

This revision is now accepted and ready to land.Oct 12 2017, 8:31 AM
jordan_rose closed this revision.Oct 13 2017, 9:12 AM

Committed in rL315697.