[PATCH] D37756: [lit] Force site configs to be run before source-tree configs

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 14:13:57 PDT 2017


rnk added a comment.

I think the main usage model this de-supports is putting tools on PATH and running lit.py directly on tests from the source directory like this:

  PATH=$PATH:$build/bin llvm/utils/lit/lit.py llvm/test/Debug/X86/foo.ll

This patch removes the logic from lit.cfg that looks for llvm-config on PATH and tries to use that to find the site config relative to the build directory. Anyone still doing this is encouraged to use llvm-lit[.py] instead.


https://reviews.llvm.org/D37756





More information about the llvm-commits mailing list