summaryrefslogtreecommitdiff
path: root/test/lit.common.configured.in
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2016-02-01 21:08:16 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2016-02-01 21:08:16 +0000
commit1bc755973dd3a413cefc7b3251a4c5b21be4ee34 (patch)
tree76dd2167e97916026ec323b11a4df0af556e9e04 /test/lit.common.configured.in
parent2ba55f8c1f78cba685bb0fe23b85bf7228ce2903 (diff)
[CMake] Use LLVM_MAIN_SRC_DIR instead of LLVM_SOURCE_DIR.
The former will be properly initialized in standalone CMake build of compiler-rt. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@259407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.common.configured.in')
-rw-r--r--test/lit.common.configured.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit.common.configured.in b/test/lit.common.configured.in
index da8b6c7f9..d9e6365a9 100644
--- a/test/lit.common.configured.in
+++ b/test/lit.common.configured.in
@@ -13,7 +13,7 @@ set_default("host_arch", "@HOST_ARCH@")
set_default("target_arch", "@COMPILER_RT_DEFAULT_TARGET_ARCH@")
set_default("host_os", "@HOST_OS@")
set_default("llvm_build_mode", "@LLVM_BUILD_MODE@")
-set_default("llvm_src_root", "@LLVM_SOURCE_DIR@")
+set_default("llvm_src_root", "@LLVM_MAIN_SRC_DIR@")
set_default("llvm_obj_root", "@LLVM_BINARY_DIR@")
set_default("compiler_rt_src_root", "@COMPILER_RT_SOURCE_DIR@")
set_default("compiler_rt_obj_root", "@COMPILER_RT_BINARY_DIR@")