This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Update lit test configuration
ClosedPublic

Authored by phosek on Jan 14 2019, 8:27 PM.

Details

Summary

There are two changes:

  • Don't stringify Pythonized bools (that's why we're Pythonizing them)
  • Use consistent spelling for --target, --sysroot, --gcc-toolchain

Diff Detail

Event Timeline

phosek created this revision.Jan 14 2019, 8:27 PM
ldionne added inline comments.Jan 28 2019, 11:13 AM
libcxx/test/lit.site.cfg.in
21

Is CMAKE_CXX_TARGET_TRIPLE a thing? Where is it documented? I can't find it as of CMake 3.13.3

phosek updated this revision to Diff 184025.Jan 29 2019, 12:10 AM
phosek marked 2 inline comments as done.
phosek added inline comments.
libcxx/test/lit.site.cfg.in
21

Thanks for checking, this should be CMAKE_CXX_COMPILER_TARGET.

ldionne accepted this revision.Feb 1 2019, 8:31 AM
This revision is now accepted and ready to land.Feb 1 2019, 8:31 AM
phosek updated this revision to Diff 185121.Feb 4 2019, 12:19 PM
ldionne accepted this revision.Feb 4 2019, 12:41 PM

Please update the commit message.

phosek retitled this revision from [libc++] Update lit test configuration to [CMake] Update lit test configuration.Feb 4 2019, 2:53 PM
phosek edited the summary of this revision. (Show Details)
phosek closed this revision.Feb 4 2019, 11:31 PM