Lines Matching +full:- +full:- +full:build +full:- +full:root
1 # -*- Python -*-
12 config.name = 'Clang-Unit'
17 # test_source_root: The root path where tests are located.
18 # test_exec_root: The root path where tests should be run.
42 # Check that the object root is known.
46 # configuration hasn't been created by the build system, or we are in an
47 # out-of-tree build situation).
55 # Try to detect the situation where we are using an out-of-tree build by
56 # looking for 'llvm-config'.
60 # build situation. This means knowing how to invoke the build system
63 llvm_config = lit.util.which('llvm-config', config.environment['PATH'])
68 llvm_src_root = lit.util.capture(['llvm-config', '--src-root']).strip()
69 llvm_obj_root = lit.util.capture(['llvm-config', '--obj-root']).strip()
85 lit_config.note('using out-of-tree build at %r' % clang_obj_root)