libcxx/0001-PATCH-libcxx-Remove-mo...

37 lines
1.2 KiB
Diff
Raw Normal View History

From fc46c464795f965c4cdbc321058f24191af8e40c Mon Sep 17 00:00:00 2001
2020-08-11 15:23:08 +00:00
From: Tom Stellard <tstellar@redhat.com>
Date: Tue, 11 Aug 2020 07:55:18 -0700
Subject: [PATCH] [PATCH][libcxx] Remove monorepo requirement
2020-08-11 15:23:08 +00:00
---
libcxx/CMakeLists.txt | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt
index 9bf1a02..5348a15 100644
2020-08-11 15:23:08 +00:00
--- a/libcxx/CMakeLists.txt
+++ b/libcxx/CMakeLists.txt
@@ -1,10 +1,3 @@
-# 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
#===============================================================================
2022-03-24 07:42:32 +00:00
@@ -39,8 +32,6 @@
include(GNUInstallDirs)
2020-08-11 15:23:08 +00:00
2022-03-24 07:42:32 +00:00
if (LIBCXX_STANDALONE_BUILD)
2020-08-11 15:23:08 +00:00
- # Find the LLVM sources and simulate LLVM CMake options.
- include(HandleOutOfTreeLLVM)
2022-03-24 07:42:32 +00:00
find_package(Python3 COMPONENTS Interpreter)
if(NOT Python3_Interpreter_FOUND)
2020-08-11 15:23:08 +00:00
--
1.8.3.1
2020-08-11 15:23:08 +00:00