[libcxx-commits] [PATCH] D76102: Enforce that libc++ and libc++abi are built in a monorepo layout
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 30 15:18:22 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG19aec8c90492: Enforce that libc++ and libc++abi are built in a monorepo layout (authored by ldionne).
Changed prior to commit:
https://reviews.llvm.org/D76102?vs=250067&id=253716#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76102/new/
https://reviews.llvm.org/D76102
Files:
libcxx/CMakeLists.txt
libcxxabi/CMakeLists.txt
Index: libcxxabi/CMakeLists.txt
===================================================================
--- libcxxabi/CMakeLists.txt
+++ libcxxabi/CMakeLists.txt
@@ -1,5 +1,9 @@
# See www/CMake.html for instructions on how to build libcxxabi with CMake.
+if (NOT IS_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/../libcxx")
+ message(FATAL_ERROR "libc++abi now requires being built in a monorepo layout with libcxx available")
+endif()
+
#===============================================================================
# Setup Project
#===============================================================================
Index: libcxx/CMakeLists.txt
===================================================================
--- libcxx/CMakeLists.txt
+++ libcxx/CMakeLists.txt
@@ -1,6 +1,10 @@
# See https://libcxx.llvm.org/docs/BuildingLibcxx.html for instructions on how
# to build libcxx with CMake.
+if (NOT IS_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/../libcxxabi")
+ message(FATAL_ERROR "libc++ now requires being built in a monorepo layout with libcxxabi available")
+endif()
+
#===============================================================================
# Setup Project
#===============================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76102.253716.patch
Type: text/x-patch
Size: 1249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200330/9800559c/attachment-0001.bin>
More information about the libcxx-commits
mailing list