summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LoopPass.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2014-12-20 03:16:55 +0000
committerEric Fiselier <eric@efcs.ca>2014-12-20 03:16:55 +0000
commita78a26783e832f9814a59389c10b9a01c949cb33 (patch)
tree559848a16d463735bd231de9407c1c0dfda182f2 /llvm/lib/Analysis/LoopPass.cpp
parentb12a136cddb5fea6e1a502bbc9fd815b7818a30c (diff)
downloadbcm5719-llvm-a78a26783e832f9814a59389c10b9a01c949cb33.tar.gz
bcm5719-llvm-a78a26783e832f9814a59389c10b9a01c949cb33.zip
[libcxx] Teach libcxx's lit configuration new ways to find lit.site.cfg
Summary: Currently to run tests in tree you need to symlink the lit.site.cfg file generated by the cmake build into the source tree, and teach your VCS to ignore it. This allows the user to specify where to find the lit.site.cfg file two different ways: * lit_site_config lit parameter * LIT_SITE_CONFIG enviroment variable. example usage: ``` lit -sv --param=libcxx_site_config=path/to/libcxx-build/test/lit.site.cfg path/to/tests ``` Or ``` export LIBCXX_SITE_CONFIG=path/to/libcxx-build/test/lit.site.cfg lit -sv path/to/tests ``` The command line parameter will override the environment variable. If neither options are present a warning is issued and the `lit.cfg` file is loaded directly. Reviewers: mclow.lists, jroelofs, danalbert Reviewed By: danalbert Subscribers: ddunbar, cfe-commits Differential Revision: http://reviews.llvm.org/D6255 llvm-svn: 224671
Diffstat (limited to 'llvm/lib/Analysis/LoopPass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud