35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
|
|
From 89a9306a9c24b192b9fac3b7498661428676af0e Mon Sep 17 00:00:00 2001
|
||
|
|
From: wangzehong <wangzehong2@huawei.com>
|
||
|
|
Date: Fri, 10 Feb 2023 09:06:21 +0800
|
||
|
|
Subject: [PATCH] Remove monorepo requirement
|
||
|
|
|
||
|
|
---
|
||
|
|
CMakeLists.txt | 5 -----
|
||
|
|
1 file changed, 5 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
|
index cdd5495..11fc89b 100644
|
||
|
|
--- a/CMakeLists.txt
|
||
|
|
+++ b/CMakeLists.txt
|
||
|
|
@@ -1,9 +1,6 @@
|
||
|
|
# 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
|
||
|
|
@@ -39,8 +36,6 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR LIBCXX_STANDALONE_BUIL
|
||
|
|
set(LIBCXX_STANDALONE_BUILD 1)
|
||
|
|
set(LLVM_LIT_OUTPUT_DIR "${LIBCXX_BINARY_DIR}/bin")
|
||
|
|
|
||
|
|
- # Find the LLVM sources and simulate LLVM CMake options.
|
||
|
|
- include(HandleOutOfTreeLLVM)
|
||
|
|
endif()
|
||
|
|
|
||
|
|
if (LIBCXX_STANDALONE_BUILD)
|
||
|
|
--
|
||
|
|
2.33.1.windows.1
|