7b4ed51
From 00f6e1b066782e492753c76f8756e017445b2510 Mon Sep 17 00:00:00 2001
41db51f
From: Tom Stellard <tstellar@redhat.com>
41db51f
Date: Tue, 11 Aug 2020 07:55:18 -0700
41db51f
Subject: [PATCH] libcxx: Remove monorepo requirement
41db51f
41db51f
---
41db51f
 libcxx/CMakeLists.txt | 9 ---------
41db51f
 1 file changed, 9 deletions(-)
41db51f
41db51f
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt
7b4ed51
index 9bf1a02f0908..5348a15ec273 100644
41db51f
--- a/libcxx/CMakeLists.txt
41db51f
+++ b/libcxx/CMakeLists.txt
41db51f
@@ -1,10 +1,3 @@
41db51f
-# See https://libcxx.llvm.org/docs/BuildingLibcxx.html for instructions on how
41db51f
-# to build libcxx with CMake.
41db51f
-
41db51f
-if (NOT IS_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/../libcxxabi")
41db51f
-  message(FATAL_ERROR "libc++ now requires being built in a monorepo layout with libcxxabi available")
41db51f
-endif()
41db51f
-
41db51f
 #===============================================================================
41db51f
 # Setup Project
41db51f
 #===============================================================================
7b4ed51
@@ -39,8 +32,6 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR LIBCXX_STANDALONE_BUIL
7b4ed51
   set(LIBCXX_STANDALONE_BUILD 1)
7b4ed51
   set(LLVM_LIT_OUTPUT_DIR "${LIBCXX_BINARY_DIR}/bin")
41db51f
 
41db51f
-  # Find the LLVM sources and simulate LLVM CMake options.
41db51f
-  include(HandleOutOfTreeLLVM)
41db51f
 endif()
41db51f
 
41db51f
 if (LIBCXX_STANDALONE_BUILD)
41db51f
-- 
7b4ed51
2.27.0
41db51f