转换LFS仓库为普通仓库
This commit is contained in:
commit
6869d181ab
24
0001-PATCH-clang-Don-t-install-static-libraries.patch
Normal file
24
0001-PATCH-clang-Don-t-install-static-libraries.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 88704fc2eabb9dd19a9c3eb81a9b3dc37d95651c Mon Sep 17 00:00:00 2001
|
||||
From: Tom Stellard <tstellar@redhat.com>
|
||||
Date: Fri, 31 Jan 2020 11:04:57 -0800
|
||||
Subject: [PATCH][clang] Don't install static libraries
|
||||
|
||||
---
|
||||
clang/cmake/modules/AddClang.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/clang/cmake/modules/AddClang.cmake b/clang/cmake/modules/AddClang.cmake
|
||||
index 5752f4277444..0f52822d91f0 100644
|
||||
--- a/clang/cmake/modules/AddClang.cmake
|
||||
+++ b/clang/cmake/modules/AddClang.cmake
|
||||
@@ -113,7 +113,7 @@ macro(add_clang_library name)
|
||||
if(TARGET ${lib})
|
||||
target_link_libraries(${lib} INTERFACE ${LLVM_COMMON_LIBS})
|
||||
|
||||
- if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ARG_INSTALL_WITH_TOOLCHAIN)
|
||||
+ if (ARG_SHARED AND (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ARG_INSTALL_WITH_TOOLCHAIN))
|
||||
get_target_export_arg(${name} Clang export_to_clangtargets UMBRELLA clang-libraries)
|
||||
install(TARGETS ${lib}
|
||||
COMPONENT ${lib}
|
||||
--
|
||||
2.30.2
|
||||
29
0002-Always-build-shared-libs-for-LLD.patch
Normal file
29
0002-Always-build-shared-libs-for-LLD.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From b1c60d7fa322a2d208556087df9e7ef94bfbffb8 Mon Sep 17 00:00:00 2001
|
||||
From: Nikita Popov <npopov@redhat.com>
|
||||
Date: Wed, 8 May 2024 12:30:36 +0900
|
||||
Subject: [PATCH] Always build shared libs for LLD
|
||||
|
||||
We don't want to enable BUILD_SHARED_LIBS for the whole build,
|
||||
but we do want to build lld libraries.
|
||||
---
|
||||
lld/cmake/modules/AddLLD.cmake | 5 ++---
|
||||
1 file changed, 2 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/lld/cmake/modules/AddLLD.cmake b/lld/cmake/modules/AddLLD.cmake
|
||||
index 2ee066b41535..270c03f096ac 100644
|
||||
--- a/lld/cmake/modules/AddLLD.cmake
|
||||
+++ b/lld/cmake/modules/AddLLD.cmake
|
||||
@@ -7,9 +7,8 @@ macro(add_lld_library name)
|
||||
""
|
||||
""
|
||||
${ARGN})
|
||||
- if(ARG_SHARED)
|
||||
- set(ARG_ENABLE_SHARED SHARED)
|
||||
- endif()
|
||||
+ # Always build shared libs for LLD.
|
||||
+ set(ARG_ENABLE_SHARED SHARED)
|
||||
llvm_add_library(${name} ${ARG_ENABLE_SHARED} ${ARG_UNPARSED_ARGUMENTS})
|
||||
set_target_properties(${name} PROPERTIES FOLDER "lld libraries")
|
||||
|
||||
--
|
||||
2.44.0
|
||||
22
0003-fedora-standalone.patch
Normal file
22
0003-fedora-standalone.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 0ef68aab2b08915b9144ffa67b3319e3e8332445 Mon Sep 17 00:00:00 2001
|
||||
From: Nikita Popov <npopov@redhat.com>
|
||||
Date: Thu, 4 Aug 2022 12:44:15 +0200
|
||||
Subject: [PATCH] Fix standalone build
|
||||
|
||||
---
|
||||
libunwind/docs/CMakeLists.txt | 1 +
|
||||
1 files changed, 1 insertions(+)
|
||||
|
||||
diff --git a/libunwind/docs/CMakeLists.txt b/libunwind/docs/CMakeLists.txt
|
||||
index 79b87eb03b44..eaf6f3db5223 100644
|
||||
--- a/libunwind/docs/CMakeLists.txt
|
||||
+++ b/libunwind/docs/CMakeLists.txt
|
||||
@@ -1,5 +1,6 @@
|
||||
include(FindSphinx)
|
||||
if (SPHINX_FOUND AND LLVM_ENABLE_SPHINX)
|
||||
+ include(AddLLVM)
|
||||
include(AddSphinxTarget)
|
||||
if (${SPHINX_OUTPUT_HTML})
|
||||
add_sphinx_target(html libunwind)
|
||||
--
|
||||
2.37.1
|
||||
343
0004-remove-cmake_minimum_required.patch
Normal file
343
0004-remove-cmake_minimum_required.patch
Normal file
@ -0,0 +1,343 @@
|
||||
From 17621e9cc5dea359fbf2aaa0e20e4f2a67d41fa6 Mon Sep 17 00:00:00 2001
|
||||
From: liyunfei <liyunfei33@huawei.com>
|
||||
Date: Thu, 6 Mar 2025 12:48:04 +0800
|
||||
Subject: [PATCH] remove cmake_minimum_required
|
||||
|
||||
---
|
||||
bolt/runtime/CMakeLists.txt | 2 +-
|
||||
clang/CMakeLists.txt | 2 +-
|
||||
clang/tools/scan-build-py/tests/functional/exec/CMakeLists.txt | 2 +-
|
||||
compiler-rt/CMakeLists.txt | 2 +-
|
||||
compiler-rt/lib/builtins/CMakeLists.txt | 2 +-
|
||||
flang/CMakeLists.txt | 2 +-
|
||||
flang/lib/Decimal/CMakeLists.txt | 2 +-
|
||||
flang/runtime/CMakeLists.txt | 2 +-
|
||||
libc/CMakeLists.txt | 2 +-
|
||||
libc/examples/hello_world/CMakeLists.txt | 2 +-
|
||||
libclc/CMakeLists.txt | 2 +-
|
||||
libcxx/CMakeLists.txt | 2 +-
|
||||
libcxxabi/CMakeLists.txt | 2 +-
|
||||
libunwind/CMakeLists.txt | 2 +-
|
||||
lld/CMakeLists.txt | 2 +-
|
||||
lldb/CMakeLists.txt | 2 +-
|
||||
lldb/tools/debugserver/CMakeLists.txt | 2 +-
|
||||
llvm-libgcc/CMakeLists.txt | 2 +-
|
||||
llvm/CMakeLists.txt | 2 +-
|
||||
mlir/CMakeLists.txt | 2 +-
|
||||
mlir/examples/standalone/CMakeLists.txt | 2 +-
|
||||
openmp/CMakeLists.txt | 2 +-
|
||||
openmp/cmake/DetectTestCompiler/CMakeLists.txt | 2 +-
|
||||
openmp/libompd/src/CMakeLists.txt | 2 +-
|
||||
polly/CMakeLists.txt | 2 +-
|
||||
pstl/CMakeLists.txt | 2 +-
|
||||
runtimes/CMakeLists.txt | 2 +-
|
||||
27 files changed, 27 insertions(+), 27 deletions(-)
|
||||
|
||||
diff --git a/bolt/runtime/CMakeLists.txt b/bolt/runtime/CMakeLists.txt
|
||||
index 8472ce00b413..3ddfd2b1743b 100644
|
||||
--- a/bolt/runtime/CMakeLists.txt
|
||||
+++ b/bolt/runtime/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
include(CheckIncludeFiles)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt
|
||||
index 98fcb6ea1a07..18936e79a24c 100644
|
||||
--- a/clang/CMakeLists.txt
|
||||
+++ b/clang/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
|
||||
set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
|
||||
diff --git a/clang/tools/scan-build-py/tests/functional/exec/CMakeLists.txt b/clang/tools/scan-build-py/tests/functional/exec/CMakeLists.txt
|
||||
index 95c6fdb610e0..1d1d2a40050e 100644
|
||||
--- a/clang/tools/scan-build-py/tests/functional/exec/CMakeLists.txt
|
||||
+++ b/clang/tools/scan-build-py/tests/functional/exec/CMakeLists.txt
|
||||
@@ -1,6 +1,6 @@
|
||||
project(exec C)
|
||||
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
include(CheckCCompilerFlag)
|
||||
check_c_compiler_flag("-std=c99" C99_SUPPORTED)
|
||||
diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt
|
||||
index cfa97023d281..5f20a92155e3 100644
|
||||
--- a/compiler-rt/CMakeLists.txt
|
||||
+++ b/compiler-rt/CMakeLists.txt
|
||||
@@ -3,7 +3,7 @@
|
||||
# An important constraint of the build is that it only produces libraries
|
||||
# based on the ability of the host toolchain to target various platforms.
|
||||
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
set(LLVM_COMMON_CMAKE_UTILS "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
|
||||
include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
|
||||
diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
|
||||
index d62fa0432e2a..1b5028472ddc 100644
|
||||
--- a/compiler-rt/lib/builtins/CMakeLists.txt
|
||||
+++ b/compiler-rt/lib/builtins/CMakeLists.txt
|
||||
@@ -3,7 +3,7 @@
|
||||
# architecture-specific code in various subdirectories.
|
||||
|
||||
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
||||
- cmake_minimum_required(VERSION 3.20.0)
|
||||
+ cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
|
||||
project(CompilerRTBuiltins C ASM)
|
||||
diff --git a/flang/CMakeLists.txt b/flang/CMakeLists.txt
|
||||
index ac30da89995e..2b778265b432 100644
|
||||
--- a/flang/CMakeLists.txt
|
||||
+++ b/flang/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
|
||||
set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
|
||||
diff --git a/flang/lib/Decimal/CMakeLists.txt b/flang/lib/Decimal/CMakeLists.txt
|
||||
index 3116ff68ea26..319c75957e89 100644
|
||||
--- a/flang/lib/Decimal/CMakeLists.txt
|
||||
+++ b/flang/lib/Decimal/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
||||
- cmake_minimum_required(VERSION 3.20.0)
|
||||
+ cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
project(FortranDecimal C CXX)
|
||||
|
||||
diff --git a/flang/runtime/CMakeLists.txt b/flang/runtime/CMakeLists.txt
|
||||
index 5b23065a32d1..22ef3984110a 100644
|
||||
--- a/flang/runtime/CMakeLists.txt
|
||||
+++ b/flang/runtime/CMakeLists.txt
|
||||
@@ -7,7 +7,7 @@
|
||||
#===------------------------------------------------------------------------===#
|
||||
|
||||
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
||||
- cmake_minimum_required(VERSION 3.20.0)
|
||||
+ cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
project(FlangRuntime C CXX)
|
||||
|
||||
diff --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt
|
||||
index 4be92ba1380c..9ac479b1c01d 100644
|
||||
--- a/libc/CMakeLists.txt
|
||||
+++ b/libc/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
# Include LLVM's cmake policies.
|
||||
if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
|
||||
diff --git a/libc/examples/hello_world/CMakeLists.txt b/libc/examples/hello_world/CMakeLists.txt
|
||||
index 1561cdc1c3bf..64062f522a11 100644
|
||||
--- a/libc/examples/hello_world/CMakeLists.txt
|
||||
+++ b/libc/examples/hello_world/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
project(hello_world)
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
include(../examples.cmake)
|
||||
|
||||
add_example(
|
||||
diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt
|
||||
index 9daef8265c16..2b4c32e235f6 100644
|
||||
--- a/libclc/CMakeLists.txt
|
||||
+++ b/libclc/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
project( libclc VERSION 0.2.0 LANGUAGES CXX C)
|
||||
|
||||
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt
|
||||
index b8ac536588d3..4d8ba59e9a14 100644
|
||||
--- a/libcxx/CMakeLists.txt
|
||||
+++ b/libcxx/CMakeLists.txt
|
||||
@@ -4,7 +4,7 @@
|
||||
#===============================================================================
|
||||
# Setup Project
|
||||
#===============================================================================
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
set(LLVM_COMMON_CMAKE_UTILS "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
|
||||
|
||||
diff --git a/libcxxabi/CMakeLists.txt b/libcxxabi/CMakeLists.txt
|
||||
index f380fe6b6b92..12a8686fe429 100644
|
||||
--- a/libcxxabi/CMakeLists.txt
|
||||
+++ b/libcxxabi/CMakeLists.txt
|
||||
@@ -4,7 +4,7 @@
|
||||
# Setup Project
|
||||
#===============================================================================
|
||||
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
set(LLVM_COMMON_CMAKE_UTILS "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
|
||||
|
||||
diff --git a/libunwind/CMakeLists.txt b/libunwind/CMakeLists.txt
|
||||
index bc2a820fe98e..ac5b67357152 100644
|
||||
--- a/libunwind/CMakeLists.txt
|
||||
+++ b/libunwind/CMakeLists.txt
|
||||
@@ -2,7 +2,7 @@
|
||||
# Setup Project
|
||||
#===============================================================================
|
||||
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
set(LLVM_COMMON_CMAKE_UTILS "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
|
||||
|
||||
diff --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt
|
||||
index 595c286abd91..2ecd15275929 100644
|
||||
--- a/lld/CMakeLists.txt
|
||||
+++ b/lld/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
|
||||
set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
|
||||
diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt
|
||||
index 4a53d7ef3d0d..c643ee9654f3 100644
|
||||
--- a/lldb/CMakeLists.txt
|
||||
+++ b/lldb/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
|
||||
set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
|
||||
diff --git a/lldb/tools/debugserver/CMakeLists.txt b/lldb/tools/debugserver/CMakeLists.txt
|
||||
index 74afea804598..9274870fe830 100644
|
||||
--- a/lldb/tools/debugserver/CMakeLists.txt
|
||||
+++ b/lldb/tools/debugserver/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
project(Debugserver LANGUAGES C CXX ASM-ATT)
|
||||
|
||||
diff --git a/llvm-libgcc/CMakeLists.txt b/llvm-libgcc/CMakeLists.txt
|
||||
index de42d908c371..cd825172274b 100644
|
||||
--- a/llvm-libgcc/CMakeLists.txt
|
||||
+++ b/llvm-libgcc/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
if (NOT IS_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/../libunwind")
|
||||
message(FATAL_ERROR "llvm-libgcc requires being built in a monorepo layout with libunwind available")
|
||||
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
|
||||
index b0afb47a7243..1885b9450ae5 100644
|
||||
--- a/llvm/CMakeLists.txt
|
||||
+++ b/llvm/CMakeLists.txt
|
||||
@@ -1,6 +1,6 @@
|
||||
# See docs/CMake.html for instructions about how to build LLVM with CMake.
|
||||
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
|
||||
include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
|
||||
diff --git a/mlir/CMakeLists.txt b/mlir/CMakeLists.txt
|
||||
index c91e9cd93dc8..beacaf45721f 100644
|
||||
--- a/mlir/CMakeLists.txt
|
||||
+++ b/mlir/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
# MLIR project.
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
|
||||
set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
|
||||
diff --git a/mlir/examples/standalone/CMakeLists.txt b/mlir/examples/standalone/CMakeLists.txt
|
||||
index 038242ba1437..c143d373fa6b 100644
|
||||
--- a/mlir/examples/standalone/CMakeLists.txt
|
||||
+++ b/mlir/examples/standalone/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
project(standalone-dialect LANGUAGES CXX C)
|
||||
|
||||
set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON)
|
||||
diff --git a/openmp/CMakeLists.txt b/openmp/CMakeLists.txt
|
||||
index c1efcaf80b54..e82b81aa3052 100644
|
||||
--- a/openmp/CMakeLists.txt
|
||||
+++ b/openmp/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
|
||||
|
||||
diff --git a/openmp/cmake/DetectTestCompiler/CMakeLists.txt b/openmp/cmake/DetectTestCompiler/CMakeLists.txt
|
||||
index 8ea7ab8d45ba..56ffd3c51a7f 100644
|
||||
--- a/openmp/cmake/DetectTestCompiler/CMakeLists.txt
|
||||
+++ b/openmp/cmake/DetectTestCompiler/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
project(DetectTestCompiler C CXX)
|
||||
|
||||
include(CheckCCompilerFlag)
|
||||
diff --git a/openmp/libompd/src/CMakeLists.txt b/openmp/libompd/src/CMakeLists.txt
|
||||
index 0402a0177201..f9955c02b545 100644
|
||||
--- a/openmp/libompd/src/CMakeLists.txt
|
||||
+++ b/openmp/libompd/src/CMakeLists.txt
|
||||
@@ -9,7 +9,7 @@
|
||||
#
|
||||
|
||||
project (libompd)
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
add_library (ompd SHARED TargetValue.cpp omp-debug.cpp omp-state.cpp omp-icv.cpp)
|
||||
|
||||
diff --git a/polly/CMakeLists.txt b/polly/CMakeLists.txt
|
||||
index 5d0f2cd7f00e..28f7c580f6a4 100644
|
||||
--- a/polly/CMakeLists.txt
|
||||
+++ b/polly/CMakeLists.txt
|
||||
@@ -1,7 +1,7 @@
|
||||
# Check if this is a in tree build.
|
||||
if (NOT DEFINED LLVM_MAIN_SRC_DIR)
|
||||
project(Polly)
|
||||
- cmake_minimum_required(VERSION 3.20.0)
|
||||
+ cmake_minimum_required(VERSION 3.16.0)
|
||||
set(POLLY_STANDALONE_BUILD TRUE)
|
||||
endif()
|
||||
|
||||
diff --git a/pstl/CMakeLists.txt b/pstl/CMakeLists.txt
|
||||
index 255e22af9a26..1364d451224a 100644
|
||||
--- a/pstl/CMakeLists.txt
|
||||
+++ b/pstl/CMakeLists.txt
|
||||
@@ -5,7 +5,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
#
|
||||
#===----------------------------------------------------------------------===##
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
set(PARALLELSTL_VERSION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/include/pstl/internal/pstl_config.h")
|
||||
file(STRINGS "${PARALLELSTL_VERSION_FILE}" PARALLELSTL_VERSION_SOURCE REGEX "#define _PSTL_VERSION .*$")
|
||||
diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt
|
||||
index 599529852688..918e7a9c1c7e 100644
|
||||
--- a/runtimes/CMakeLists.txt
|
||||
+++ b/runtimes/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
# This file handles building LLVM runtime sub-projects.
|
||||
-cmake_minimum_required(VERSION 3.20.0)
|
||||
+cmake_minimum_required(VERSION 3.16.0)
|
||||
|
||||
# Add path for custom and the LLVM build's modules to the CMake module path.
|
||||
set(LLVM_COMMON_CMAKE_UTILS "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
|
||||
--
|
||||
2.42.0.windows.2
|
||||
|
||||
5
CMakeLists.txt
Normal file
5
CMakeLists.txt
Normal file
@ -0,0 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.13.4)
|
||||
project(Runtimes C CXX ASM)
|
||||
add_subdirectory(libcxxabi)
|
||||
add_subdirectory(libcxx)
|
||||
add_subdirectory(libunwind)
|
||||
36
README.en.md
Normal file
36
README.en.md
Normal file
@ -0,0 +1,36 @@
|
||||
# llvm-toolset-17
|
||||
|
||||
#### Description
|
||||
The LLVM Compiler Infrastructure
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
37
README.md
Normal file
37
README.md
Normal file
@ -0,0 +1,37 @@
|
||||
# llvm-toolset-17
|
||||
|
||||
#### 介绍
|
||||
The LLVM Compiler Infrastructure
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
|
||||
|
||||
#### 特技
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
|
||||
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
BIN
llvm-for-oE-17.0.6-2503.0.2.tar.gz
Normal file
BIN
llvm-for-oE-17.0.6-2503.0.2.tar.gz
Normal file
Binary file not shown.
2801
llvm-toolset-17.spec
Normal file
2801
llvm-toolset-17.spec
Normal file
File diff suppressed because it is too large
Load Diff
4
llvm-toolset-17.yaml
Normal file
4
llvm-toolset-17.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: llvm/llvm-project
|
||||
tag_prefix: ^llvmorg-
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user