[PATCH] D109717: [runtimes] Calculate the path to the llvm directory without the LLVM cmake package
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 14 01:24:15 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5b007f2c9466: [runtimes] Calculate the path to the llvm directory without the LLVM cmake… (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109717/new/
https://reviews.llvm.org/D109717
Files:
runtimes/CMakeLists.txt
Index: runtimes/CMakeLists.txt
===================================================================
--- runtimes/CMakeLists.txt
+++ runtimes/CMakeLists.txt
@@ -75,11 +75,11 @@
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})
+set(LLVM_MAIN_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../llvm)
set(LLVM_CMAKE_PATH ${LLVM_MAIN_SRC_DIR}/cmake/modules)
# This variable is used by individual runtimes to locate LLVM files.
-set(LLVM_PATH ${LLVM_BUILD_MAIN_SRC_DIR})
+set(LLVM_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../llvm)
if(APPLE)
set(LLVM_ENABLE_LIBCXX ON CACHE BOOL "")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109717.372426.patch
Type: text/x-patch
Size: 684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210914/63f0bf6d/attachment.bin>
More information about the llvm-commits
mailing list