libcxxabi/0001-libcxxabi-Remove-monorepo-requirement.patch

36 lines
1.2 KiB
Diff
Raw Normal View History

2021-02-17 20:33:49 +00:00
From d19bf09163a54984160eda55a43b93703f8d46b5 Mon Sep 17 00:00:00 2001
2020-08-11 15:29:34 +00:00
From: Tom Stellard <tstellar@redhat.com>
Date: Tue, 11 Aug 2020 08:27:41 -0700
Subject: [PATCH] libcxxabi: Remove monorepo requirement
---
2021-02-17 20:33:49 +00:00
libcxxabi/CMakeLists.txt | 6 ------
1 file changed, 6 deletions(-)
2020-08-11 15:29:34 +00:00
diff --git a/libcxxabi/CMakeLists.txt b/libcxxabi/CMakeLists.txt
2021-02-17 20:33:49 +00:00
index 426c855288fc..8ad0475dc65e 100644
2020-08-11 15:29:34 +00:00
--- a/libcxxabi/CMakeLists.txt
+++ b/libcxxabi/CMakeLists.txt
@@ -1,9 +1,5 @@
# 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
#===============================================================================
2021-02-17 20:33:49 +00:00
@@ -42,8 +38,6 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR LIBCXXABI_STANDALONE_B
set(LIBCXXABI_STANDALONE_BUILD 1)
set(LLVM_LIT_OUTPUT_DIR "${LIBCXXABI_BINARY_DIR}/bin")
- # Find the LLVM sources and simulate LLVM CMake options.
- include(HandleOutOfTreeLLVM)
endif()
if (LIBCXXABI_STANDALONE_BUILD)
2020-08-11 15:29:34 +00:00
--
2021-02-17 20:33:49 +00:00
2.27.0
2020-08-11 15:29:34 +00:00