[PATCH] D24503: [CMake] Fixing lit for runtimes directory
Jonas Hahnfeld via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 13 23:31:53 PDT 2016
Hahnfeld updated the summary for this revision.
Hahnfeld updated this revision to Diff 71301.
https://reviews.llvm.org/D24503
Files:
runtimes/CMakeLists.txt
Index: runtimes/CMakeLists.txt
===================================================================
--- runtimes/CMakeLists.txt
+++ runtimes/CMakeLists.txt
@@ -58,6 +58,9 @@
set(LLVM_LIBRARY_OUTPUT_INTDIR ${LLVM_LIBRARY_DIR})
set(LLVM_RUNTIME_OUTPUT_INTDIR ${LLVM_TOOLS_BINARY_DIR})
+ # This variable makes sure that e.g. llvm-lit is found.
+ set(LLVM_MAIN_SRC_DIR ${LLVM_BUILD_MAIN_SRC_DIR})
+
foreach(entry ${runtimes})
get_filename_component(projName ${entry} NAME)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24503.71301.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160914/08b93893/attachment.bin>
More information about the llvm-commits
mailing list