[PATCH] D56095: [gn build] Add check-clang target and make it work

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 26 17:06:41 PST 2018


thakis created this revision.
thakis added a reviewer: phosek.

With this, check-clang runs and passes all of clang's lit tests. It doesn't run any of its unit tests yet.

Like with check-lld, running just ninja -C out/gn will build all prerequisites needed to run tests, but it won't run the tests (so that the build becomes clean after one build). Running ninja -C out/gn check-clang will build prerequisites if needed and run the tests. The check-clang target never becomes clean and runs tests every time.


https://reviews.llvm.org/D56095

Files:
  llvm/utils/gn/secondary/BUILD.gn
  llvm/utils/gn/secondary/clang/test/BUILD.gn
  llvm/utils/gn/secondary/clang/test/clang_lit_site_cfg_files.gni
  llvm/utils/gn/secondary/llvm/triples.gni
  llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56095.179533.patch
Type: text/x-patch
Size: 9612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181227/b7b5886e/attachment.bin>


More information about the cfe-commits mailing list