[libcxx-commits] [PATCH] D57993: [CMake] Don't cache LLVM_MAIN_SRC_DIR
Petr Hosek via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 8 19:14:57 PST 2019
phosek created this revision.
phosek added a reviewer: smeenai.
Herald added subscribers: libcxx-commits, ldionne, christof, mgorny.
If we're not in a standalone build, this variable should be already
set, so there's no need to set it again or to cache it.
Repository:
rUNW libunwind
https://reviews.llvm.org/D57993
Files:
libunwind/CMakeLists.txt
Index: libunwind/CMakeLists.txt
===================================================================
--- libunwind/CMakeLists.txt
+++ libunwind/CMakeLists.txt
@@ -115,7 +115,6 @@
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX})
else()
- set(LLVM_MAIN_SRC_DIR "${CMAKE_SOURCE_DIR}" CACHE PATH "Path to LLVM source tree")
set(LLVM_LIT "${CMAKE_SOURCE_DIR}/utils/lit/lit.py")
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57993.186097.patch
Type: text/x-patch
Size: 507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190209/adab564e/attachment.bin>
More information about the libcxx-commits
mailing list