Compare commits
153 Commits
master
...
f37-riscv6
Author | SHA1 | Date | |
---|---|---|---|
7acb13c0aa | |||
|
99e171be06 | ||
e62709027a | |||
f253badffe | |||
c4c43a56bf | |||
e4f4e66eb0 | |||
|
fa24fabdfe | ||
|
e849771be2 | ||
debf7e21e4 | |||
2085265540 | |||
|
e22d60358f | ||
|
07f677a874 | ||
|
dc7156ce5a | ||
|
2e920ed4cb | ||
|
af1b169c7b | ||
|
4e05585009 | ||
|
18f0d9a072 | ||
|
3cf4c8d386 | ||
|
c07be4ccdf | ||
|
0600540ab9 | ||
|
33f597aab6 | ||
|
965c7fbf2c | ||
|
a6af40e6f6 | ||
|
314c08660d | ||
|
77fe5f8af7 | ||
|
c3eaca601e | ||
|
b28a786b94 | ||
|
1b6a55b39a | ||
|
4c0fee8654 | ||
|
e6d1a04f09 | ||
|
35d886f8dc | ||
|
0ff4ac26b1 | ||
|
ddad73a88a | ||
|
410f5f1e9e | ||
|
5d9e2b66ed | ||
|
6cee6aebe6 | ||
|
3c9de0ccf8 | ||
|
445e24e13d | ||
|
097fdf9c79 | ||
|
cfd5d23c9d | ||
|
f97fd4bb29 | ||
|
ab84d46730 | ||
|
49fba6acf2 | ||
|
236248c006 | ||
|
3ba9f5e445 | ||
|
978f4952dd | ||
|
c3456fa4ca | ||
|
9e0411bb7b | ||
|
1bdf054407 | ||
|
6564e5278d | ||
|
92512bd38e | ||
|
3ac3f3b803 | ||
|
b7f7ff0fcb | ||
|
dd5bd14efc | ||
|
6b3a1ab316 | ||
|
e1056b533a | ||
|
84398d5b48 | ||
|
a26e75dfb6 | ||
|
d7b923e36b | ||
|
f13f5d4d08 | ||
|
2b9d762f80 | ||
|
9e342d2430 | ||
|
efdfe5532f | ||
|
20aa2e6b37 | ||
|
bbb00db171 | ||
|
14cd547cf5 | ||
|
027da3930a | ||
|
b7b4d3e66b | ||
|
b21766edbc | ||
|
4c4fb40d31 | ||
|
a11bd8ab2a | ||
|
bbcd893d83 | ||
|
dbd3134b54 | ||
|
87a4234571 | ||
|
ed9052f67d | ||
|
1b6487a87e | ||
|
086ce6b60e | ||
|
57a0e89ab1 | ||
|
300a6166b6 | ||
|
c944d8e241 | ||
|
084eb9adc4 | ||
|
578fb20cb6 | ||
|
9fc4be03e7 | ||
|
04d8b95430 | ||
|
97343414c5 | ||
|
12b27392ce | ||
|
41e2e79b74 | ||
|
a49938dcf5 | ||
|
0aa1942cbc | ||
|
03470c82bf | ||
|
5ebc8337ce | ||
|
ad503c449d | ||
|
43ddc8aad7 | ||
|
f096dec97c | ||
|
c2438a9311 | ||
|
d3a7312537 | ||
|
649f50d8ed | ||
|
b87ea61a41 | ||
|
15b5503827 | ||
|
8e9a96e915 | ||
|
b210b9df54 | ||
|
f4bd827999 | ||
|
2d7f1de486 | ||
|
8a5849ef91 | ||
|
23ea0783cb | ||
|
238c272915 | ||
|
cdd5e565ec | ||
|
d368d987d9 | ||
|
5ed4f59a12 | ||
|
5476c44af0 | ||
|
698638eb9e | ||
|
f200214110 | ||
|
298958146f | ||
|
f88ef7d17f | ||
|
d31813f419 | ||
|
21e2a92c0d | ||
|
7a04c726c3 | ||
|
f768ecb72d | ||
|
4799046978 | ||
|
11cea8ec0d | ||
|
036db17a5c | ||
|
056fb9e32b | ||
|
c32dd93367 | ||
|
86790c25da | ||
|
2698f34268 | ||
|
e1767ba62d | ||
|
051ec63e7b | ||
|
f5cf570384 | ||
|
9e83c56016 | ||
|
4720785554 | ||
|
00e1b0677e | ||
|
23f776ed73 | ||
|
493675c744 | ||
|
014d0253f8 | ||
|
12632088f8 | ||
|
130685912f | ||
|
9095ad677f | ||
|
afed217ebc | ||
|
764a78bf46 | ||
|
13d84b331e | ||
|
3ca69f5739 | ||
|
992907b031 | ||
|
40207a4ea9 | ||
|
a58113d73c | ||
|
146561a8a6 | ||
|
210d1cc82b | ||
|
edf13af9da | ||
|
e89816ed7a | ||
|
d7400582fd | ||
|
96783870dd | ||
|
71b43061fd | ||
|
8e1d8d6581 | ||
|
63f8be8e26 |
74
.gitignore
vendored
74
.gitignore
vendored
@ -68,3 +68,77 @@
|
|||||||
/llvm-10.0.0rc6.src.tar.xz.sig
|
/llvm-10.0.0rc6.src.tar.xz.sig
|
||||||
/llvm-10.0.0.src.tar.xz
|
/llvm-10.0.0.src.tar.xz
|
||||||
/llvm-10.0.0.src.tar.xz.sig
|
/llvm-10.0.0.src.tar.xz.sig
|
||||||
|
/llvm-11.0.0rc1.src.tar.xz
|
||||||
|
/llvm-11.0.0rc1.src.tar.xz.sig
|
||||||
|
/llvm-11.0.0rc2.src.tar.xz
|
||||||
|
/llvm-11.0.0rc2.src.tar.xz.sig
|
||||||
|
/llvm-11.0.0rc3.src.tar.xz
|
||||||
|
/llvm-11.0.0rc3.src.tar.xz.sig
|
||||||
|
/llvm-11.0.0rc5.src.tar.xz
|
||||||
|
/llvm-11.0.0rc5.src.tar.xz.sig
|
||||||
|
/llvm-11.0.0rc6.src.tar.xz
|
||||||
|
/llvm-11.0.0rc6.src.tar.xz.sig
|
||||||
|
/llvm-11.0.0.src.tar.xz
|
||||||
|
/llvm-11.0.0.src.tar.xz.sig
|
||||||
|
/llvm-11.0.1rc1.src.tar.xz
|
||||||
|
/llvm-11.0.1rc1.src.tar.xz.sig
|
||||||
|
/llvm-11.0.1rc2.src.tar.xz.sig
|
||||||
|
/llvm-11.0.1rc2.src.tar.xz
|
||||||
|
/llvm-11.0.1.src.tar.xz
|
||||||
|
/llvm-11.0.1.src.tar.xz.sig
|
||||||
|
/llvm-11.1.0rc1.src.tar.xz.sig
|
||||||
|
/llvm-11.1.0rc1.src.tar.xz
|
||||||
|
/llvm-11.1.0rc2.src.tar.xz
|
||||||
|
/llvm-11.1.0rc2.src.tar.xz.sig
|
||||||
|
/llvm-12.0.0rc1.src.tar.xz
|
||||||
|
/llvm-12.0.0rc1.src.tar.xz.sig
|
||||||
|
/llvm-12.0.0rc2.src.tar.xz
|
||||||
|
/llvm-12.0.0rc2.src.tar.xz.sig
|
||||||
|
/llvm-12.0.0rc3.src.tar.xz
|
||||||
|
/llvm-12.0.0rc3.src.tar.xz.sig
|
||||||
|
/llvm-12.0.0rc4.src.tar.xz
|
||||||
|
/llvm-12.0.0rc4.src.tar.xz.sig
|
||||||
|
/llvm-12.0.0rc5.src.tar.xz
|
||||||
|
/llvm-12.0.0rc5.src.tar.xz.sig
|
||||||
|
/llvm-12.0.0.src.tar.xz
|
||||||
|
/llvm-12.0.0.src.tar.xz.sig
|
||||||
|
/llvm-12.0.1rc1.src.tar.xz
|
||||||
|
/llvm-12.0.1rc1.src.tar.xz.sig
|
||||||
|
/llvm-12.0.1rc3.src.tar.xz
|
||||||
|
/llvm-12.0.1rc3.src.tar.xz.sig
|
||||||
|
/llvm-12.0.1.src.tar.xz
|
||||||
|
/llvm-12.0.1.src.tar.xz.sig
|
||||||
|
/llvm-13.0.0rc1.src.tar.xz
|
||||||
|
/llvm-13.0.0rc1.src.tar.xz.sig
|
||||||
|
/llvm-13.0.0rc3.src.tar.xz
|
||||||
|
/llvm-13.0.0rc3.src.tar.xz.sig
|
||||||
|
/llvm-13.0.0rc4.src.tar.xz
|
||||||
|
/llvm-13.0.0rc4.src.tar.xz.sig
|
||||||
|
/llvm-13.0.0.src.tar.xz
|
||||||
|
/llvm-13.0.0.src.tar.xz.sig
|
||||||
|
/llvm-13.0.1rc1.src.tar.xz
|
||||||
|
/llvm-13.0.1rc1.src.tar.xz.sig
|
||||||
|
/llvm-13.0.1rc2.src.tar.xz
|
||||||
|
/llvm-13.0.1rc2.src.tar.xz.sig
|
||||||
|
/llvm-13.0.1rc3.src.tar.xz
|
||||||
|
/llvm-13.0.1rc3.src.tar.xz.sig
|
||||||
|
/llvm-13.0.1.src.tar.xz
|
||||||
|
/llvm-13.0.1.src.tar.xz.sig
|
||||||
|
/llvm-14.0.0.src.tar.xz
|
||||||
|
/llvm-14.0.0.src.tar.xz.sig
|
||||||
|
/llvm-14.0.3.src.tar.xz
|
||||||
|
/llvm-14.0.3.src.tar.xz.sig
|
||||||
|
/llvm-14.0.5.src.tar.xz
|
||||||
|
/llvm-14.0.5.src.tar.xz.sig
|
||||||
|
/llvm-15.0.0.src.tar.xz
|
||||||
|
/llvm-15.0.0.src.tar.xz.sig
|
||||||
|
/cmake-15.0.0.src.tar.xz
|
||||||
|
/cmake-15.0.0.src.tar.xz.sig
|
||||||
|
/llvm-15.0.4.src.tar.xz
|
||||||
|
/llvm-15.0.4.src.tar.xz.sig
|
||||||
|
/cmake-15.0.4.src.tar.xz
|
||||||
|
/cmake-15.0.4.src.tar.xz.sig
|
||||||
|
/llvm-15.0.6.src.tar.xz
|
||||||
|
/llvm-15.0.6.src.tar.xz.sig
|
||||||
|
/cmake-15.0.6.src.tar.xz
|
||||||
|
/cmake-15.0.6.src.tar.xz.sig
|
||||||
|
@ -1,66 +0,0 @@
|
|||||||
From 8f6917ea11bd1bfbfe07f3577756d1c4abfdb916 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Tom Stellard <tstellar@redhat.com>
|
|
||||||
Date: Fri, 6 Sep 2019 11:03:18 -0700
|
|
||||||
Subject: [PATCH] CMake: Split static library exports into their own export
|
|
||||||
file
|
|
||||||
|
|
||||||
---
|
|
||||||
llvm/cmake/modules/AddLLVM.cmake | 6 +++++-
|
|
||||||
llvm/cmake/modules/CMakeLists.txt | 3 +++
|
|
||||||
llvm/cmake/modules/LLVMConfig.cmake.in | 2 ++
|
|
||||||
3 files changed, 10 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
|
|
||||||
index 619e986..200fc45 100644
|
|
||||||
--- a/llvm/cmake/modules/AddLLVM.cmake
|
|
||||||
+++ b/llvm/cmake/modules/AddLLVM.cmake
|
|
||||||
@@ -691,7 +691,11 @@ macro(add_llvm_library name)
|
|
||||||
if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
|
|
||||||
(in_llvm_libs AND "llvm-libraries" IN_LIST LLVM_DISTRIBUTION_COMPONENTS) OR
|
|
||||||
NOT LLVM_DISTRIBUTION_COMPONENTS)
|
|
||||||
- set(export_to_llvmexports EXPORT LLVMExports)
|
|
||||||
+ if (ARG_SHARED)
|
|
||||||
+ set(export_to_llvmexports EXPORT LLVMExports)
|
|
||||||
+ else()
|
|
||||||
+ set(export_to_llvmexports EXPORT LLVMStaticExports)
|
|
||||||
+ endif()
|
|
||||||
set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
diff --git a/llvm/cmake/modules/CMakeLists.txt b/llvm/cmake/modules/CMakeLists.txt
|
|
||||||
index 9cf22b4..dc982d2 100644
|
|
||||||
--- a/llvm/cmake/modules/CMakeLists.txt
|
|
||||||
+++ b/llvm/cmake/modules/CMakeLists.txt
|
|
||||||
@@ -105,6 +105,7 @@ set(LLVM_CONFIG_BINARY_DIR "\${LLVM_INSTALL_PREFIX}")
|
|
||||||
set(LLVM_CONFIG_TOOLS_BINARY_DIR "\${LLVM_INSTALL_PREFIX}/bin")
|
|
||||||
set(LLVM_CONFIG_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMExports.cmake")
|
|
||||||
set(LLVM_CONFIG_EXPORTS "${LLVM_EXPORTS}")
|
|
||||||
+set(LLVM_CONFIG_STATIC_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMStaticExports.cmake")
|
|
||||||
configure_file(
|
|
||||||
LLVMConfig.cmake.in
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/LLVMConfig.cmake
|
|
||||||
@@ -121,6 +122,8 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
|
|
||||||
if(llvm_has_exports)
|
|
||||||
install(EXPORT LLVMExports DESTINATION ${LLVM_INSTALL_PACKAGE_DIR}
|
|
||||||
COMPONENT cmake-exports)
|
|
||||||
+ install(EXPORT LLVMStaticExports DESTINATION ${LLVM_INSTALL_PACKAGE_DIR}
|
|
||||||
+ COMPONENT cmake-exports)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
install(FILES
|
|
||||||
diff --git a/llvm/cmake/modules/LLVMConfig.cmake.in b/llvm/cmake/modules/LLVMConfig.cmake.in
|
|
||||||
index 536031f..6ef54a0 100644
|
|
||||||
--- a/llvm/cmake/modules/LLVMConfig.cmake.in
|
|
||||||
+++ b/llvm/cmake/modules/LLVMConfig.cmake.in
|
|
||||||
@@ -89,6 +89,8 @@ if(NOT TARGET LLVMSupport)
|
|
||||||
set(LLVM_EXPORTED_TARGETS "@LLVM_CONFIG_EXPORTS@")
|
|
||||||
include("@LLVM_CONFIG_EXPORTS_FILE@")
|
|
||||||
@llvm_config_include_buildtree_only_exports@
|
|
||||||
+
|
|
||||||
+ include("@LLVM_CONFIG_STATIC_EXPORTS_FILE@" OPTIONAL)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# By creating intrinsics_gen here, subprojects that depend on LLVM's
|
|
||||||
--
|
|
||||||
1.8.3.1
|
|
||||||
|
|
@ -1,65 +0,0 @@
|
|||||||
From 9d496e978f59e153bb76e92229d5a524d92dee04 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Tom Stellard <tstellar@redhat.com>
|
|
||||||
Date: Tue, 10 Sep 2019 13:33:48 -0700
|
|
||||||
Subject: [PATCH] CMake: Split test binary exports into their own export file
|
|
||||||
|
|
||||||
---
|
|
||||||
llvm/cmake/modules/AddLLVM.cmake | 7 ++++++-
|
|
||||||
llvm/cmake/modules/CMakeLists.txt | 3 +++
|
|
||||||
llvm/cmake/modules/LLVMConfig.cmake.in | 1 +
|
|
||||||
3 files changed, 10 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
|
|
||||||
index 200fc45..9eec7a7 100644
|
|
||||||
--- a/llvm/cmake/modules/AddLLVM.cmake
|
|
||||||
+++ b/llvm/cmake/modules/AddLLVM.cmake
|
|
||||||
@@ -953,7 +953,12 @@ macro(add_llvm_utility name)
|
|
||||||
set(export_to_llvmexports)
|
|
||||||
if (${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
|
|
||||||
NOT LLVM_DISTRIBUTION_COMPONENTS)
|
|
||||||
- set(export_to_llvmexports EXPORT LLVMExports)
|
|
||||||
+ if (${name} STREQUAL "not" OR ${name} STREQUAL "count" OR
|
|
||||||
+ ${name} STREQUAL "yaml-bench" OR ${name} STREQUAL "lli-child-target")
|
|
||||||
+ set(export_to_llvmexports EXPORT LLVMTestExports)
|
|
||||||
+ else()
|
|
||||||
+ set(export_to_llvmexports EXPORT LLVMExports)
|
|
||||||
+ endif()
|
|
||||||
set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
diff --git a/llvm/cmake/modules/CMakeLists.txt b/llvm/cmake/modules/CMakeLists.txt
|
|
||||||
index dc982d2..c861f45 100644
|
|
||||||
--- a/llvm/cmake/modules/CMakeLists.txt
|
|
||||||
+++ b/llvm/cmake/modules/CMakeLists.txt
|
|
||||||
@@ -106,6 +106,7 @@ set(LLVM_CONFIG_TOOLS_BINARY_DIR "\${LLVM_INSTALL_PREFIX}/bin")
|
|
||||||
set(LLVM_CONFIG_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMExports.cmake")
|
|
||||||
set(LLVM_CONFIG_EXPORTS "${LLVM_EXPORTS}")
|
|
||||||
set(LLVM_CONFIG_STATIC_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMStaticExports.cmake")
|
|
||||||
+set(LLVM_CONFIG_TEST_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMTestExports.cmake")
|
|
||||||
configure_file(
|
|
||||||
LLVMConfig.cmake.in
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/LLVMConfig.cmake
|
|
||||||
@@ -124,6 +125,8 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
|
|
||||||
COMPONENT cmake-exports)
|
|
||||||
install(EXPORT LLVMStaticExports DESTINATION ${LLVM_INSTALL_PACKAGE_DIR}
|
|
||||||
COMPONENT cmake-exports)
|
|
||||||
+ install(EXPORT LLVMTestExports DESTINATION ${LLVM_INSTALL_PACKAGE_DIR}
|
|
||||||
+ COMPONENT cmake-exports)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
install(FILES
|
|
||||||
diff --git a/llvm/cmake/modules/LLVMConfig.cmake.in b/llvm/cmake/modules/LLVMConfig.cmake.in
|
|
||||||
index 6ef54a0..d81b09a 100644
|
|
||||||
--- a/llvm/cmake/modules/LLVMConfig.cmake.in
|
|
||||||
+++ b/llvm/cmake/modules/LLVMConfig.cmake.in
|
|
||||||
@@ -91,6 +91,7 @@ if(NOT TARGET LLVMSupport)
|
|
||||||
@llvm_config_include_buildtree_only_exports@
|
|
||||||
|
|
||||||
include("@LLVM_CONFIG_STATIC_EXPORTS_FILE@" OPTIONAL)
|
|
||||||
+ include("@LLVM_CONFIG_TEST_EXPORTS_FILE@" OPTIONAL)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# By creating intrinsics_gen here, subprojects that depend on LLVM's
|
|
||||||
--
|
|
||||||
1.8.3.1
|
|
||||||
|
|
28
0001-Install-clang-tblgen.patch
Normal file
28
0001-Install-clang-tblgen.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 2e106d4cfc909e23e16104725706e4f9dda15974 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nikita Popov <npopov@redhat.com>
|
||||||
|
Date: Fri, 5 Aug 2022 08:57:18 +0200
|
||||||
|
Subject: [PATCH] Install clang-tblgen
|
||||||
|
|
||||||
|
---
|
||||||
|
llvm/cmake/modules/TableGen.cmake | 5 ++++-
|
||||||
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/llvm/cmake/modules/TableGen.cmake b/llvm/cmake/modules/TableGen.cmake
|
||||||
|
index 4711456776c8..edcc9d0b607d 100644
|
||||||
|
--- a/llvm/cmake/modules/TableGen.cmake
|
||||||
|
+++ b/llvm/cmake/modules/TableGen.cmake
|
||||||
|
@@ -186,7 +186,10 @@ macro(add_tablegen target project)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
- if ((${project} STREQUAL LLVM OR ${project} STREQUAL MLIR) AND NOT LLVM_INSTALL_TOOLCHAIN_ONLY AND LLVM_BUILD_UTILS)
|
||||||
|
+ # (llvm|mlir|clang)-tblgen may also be used outside the respective projects.
|
||||||
|
+ if ((${project} STREQUAL LLVM OR ${project} STREQUAL MLIR OR
|
||||||
|
+ ${project} STREQUAL CLANG) AND
|
||||||
|
+ NOT LLVM_INSTALL_TOOLCHAIN_ONLY AND LLVM_BUILD_UTILS)
|
||||||
|
set(export_to_llvmexports)
|
||||||
|
if(${target} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
|
||||||
|
NOT LLVM_DISTRIBUTION_COMPONENTS)
|
||||||
|
--
|
||||||
|
2.37.1
|
||||||
|
|
@ -0,0 +1,75 @@
|
|||||||
|
From 3dc5722d5c7673a879f2b4680369d3ac8b6b64b6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tom Stellard <tstellar@redhat.com>
|
||||||
|
Date: Wed, 4 Aug 2021 14:05:38 -0700
|
||||||
|
Subject: [PATCH] cmake: Allow shared libraries to customize the soname using
|
||||||
|
LLVM_ABI_REVISION
|
||||||
|
|
||||||
|
The LLVM_ABI_REVISION variable is intended to be used for release
|
||||||
|
candidates which introduce an ABI change to a shared library. This
|
||||||
|
variable can be specified per library, so there is not one global value
|
||||||
|
for all of LLVM.
|
||||||
|
|
||||||
|
For example, if we LLVM X.0.0-rc2 introduces an ABI change for a library
|
||||||
|
compared with LLVM X.0.0-rc1, then the LLVM_ABI_REVISION number for
|
||||||
|
library will be incremented by 1.
|
||||||
|
|
||||||
|
In the main branch, LLVM_ABI_REVISION should always be 0, it is only
|
||||||
|
meant to be used in the release branch.
|
||||||
|
|
||||||
|
Differential Revision: https://reviews.llvm.org/D105594
|
||||||
|
---
|
||||||
|
llvm/cmake/modules/AddLLVM.cmake | 7 +++++--
|
||||||
|
llvm/tools/llvm-shlib/CMakeLists.txt | 9 +++++++++
|
||||||
|
3 files changed, 19 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
|
||||||
|
index 3e009f5061d3..a09405a1be3e 100644
|
||||||
|
--- a/llvm/cmake/modules/AddLLVM.cmake
|
||||||
|
+++ b/llvm/cmake/modules/AddLLVM.cmake
|
||||||
|
@@ -586,11 +586,14 @@ function(llvm_add_library name)
|
||||||
|
# Set SOVERSION on shared libraries that lack explicit SONAME
|
||||||
|
# specifier, on *nix systems that are not Darwin.
|
||||||
|
if(UNIX AND NOT APPLE AND NOT ARG_SONAME)
|
||||||
|
+ if (NOT LLVM_ABI_REVISION)
|
||||||
|
+ set(LLVM_ABI_REVISION 0)
|
||||||
|
+ endif()
|
||||||
|
set_target_properties(${name}
|
||||||
|
PROPERTIES
|
||||||
|
# Since 4.0.0, the ABI version is indicated by the major version
|
||||||
|
- SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}
|
||||||
|
- VERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX})
|
||||||
|
+ SOVERSION ${LLVM_VERSION_MAJOR}.${LLVM_ABI_REVISION}
|
||||||
|
+ VERSION ${LLVM_VERSION_MAJOR}.${LLVM_ABI_REVISION})
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
diff --git a/llvm/tools/llvm-shlib/CMakeLists.txt b/llvm/tools/llvm-shlib/CMakeLists.txt
|
||||||
|
index 76b9a25cbbcd..b876e7fed6b5 100644
|
||||||
|
--- a/llvm/tools/llvm-shlib/CMakeLists.txt
|
||||||
|
+++ b/llvm/tools/llvm-shlib/CMakeLists.txt
|
||||||
|
@@ -2,6 +2,11 @@
|
||||||
|
# library is enabled by setting LLVM_BUILD_LLVM_DYLIB=yes on the CMake
|
||||||
|
# commandline. By default the shared library only exports the LLVM C API.
|
||||||
|
|
||||||
|
+# In the main branch, LLVM_ABI_REVISION should always be 0. In the release
|
||||||
|
+# branches, this should be incremented before each release candidate every
|
||||||
|
+# time the ABI of libLLVM.so changes.
|
||||||
|
+set(LLVM_ABI_REVISION 0 CACHE STRING "ABI Revision number for SONAMEs (default: 0)")
|
||||||
|
+
|
||||||
|
set(SOURCES
|
||||||
|
libllvm.cpp
|
||||||
|
)
|
||||||
|
@@ -67,6 +72,10 @@ if(LLVM_BUILD_LLVM_DYLIB)
|
||||||
|
set_property(TARGET LLVM APPEND_STRING PROPERTY
|
||||||
|
LINK_FLAGS
|
||||||
|
" -compatibility_version 1 -current_version ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}")
|
||||||
|
+ else()
|
||||||
|
+ set_target_properties(LLVM
|
||||||
|
+ PROPERTIES
|
||||||
|
+ SOVERSION ${LLVM_ABI_REVISION})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(TARGET libLLVMExports)
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
@ -0,0 +1,34 @@
|
|||||||
|
From 6dd25eb3ca3d8a6847fab029946d15f223b1a551 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nikita Popov <npopov@redhat.com>
|
||||||
|
Date: Mon, 31 Jan 2022 10:33:27 +0100
|
||||||
|
Subject: [PATCH] Disable CrashRecoveryTest.DumpStackCleanup test on aarch64
|
||||||
|
|
||||||
|
Produces a non-reproducible failure on aarch64:
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=2048440
|
||||||
|
---
|
||||||
|
llvm/unittests/Support/CrashRecoveryTest.cpp | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/llvm/unittests/Support/CrashRecoveryTest.cpp b/llvm/unittests/Support/CrashRecoveryTest.cpp
|
||||||
|
index d942c9d..28efedd 100644
|
||||||
|
--- a/llvm/unittests/Support/CrashRecoveryTest.cpp
|
||||||
|
+++ b/llvm/unittests/Support/CrashRecoveryTest.cpp
|
||||||
|
@@ -76,6 +76,7 @@ TEST(CrashRecoveryTest, Cleanup) {
|
||||||
|
llvm::CrashRecoveryContext::Disable();
|
||||||
|
}
|
||||||
|
|
||||||
|
+#ifndef __aarch64__
|
||||||
|
TEST(CrashRecoveryTest, DumpStackCleanup) {
|
||||||
|
SmallString<128> Filename;
|
||||||
|
std::error_code EC = sys::fs::createTemporaryFile("crash", "test", Filename);
|
||||||
|
@@ -101,6 +102,7 @@ TEST(CrashRecoveryTest, DumpStackCleanup) {
|
||||||
|
EXPECT_EQ(GlobalInt, 1);
|
||||||
|
llvm::CrashRecoveryContext::Disable();
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
TEST(CrashRecoveryTest, LimitedStackTrace) {
|
||||||
|
// FIXME: Handle "Depth" parameter in PrintStackTrace() function
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
|
|
@ -0,0 +1,33 @@
|
|||||||
|
From 01529ba2c76be37e41713cf7f3eca8b61833e320 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tom Stellard <tstellar@redhat.com>
|
||||||
|
Date: Tue, 9 Nov 2021 15:05:07 +0100
|
||||||
|
Subject: [PATCH] XFAIL missing-abstract-variable.ll test on ppc64le
|
||||||
|
|
||||||
|
It's seems the strategy with this test is to XFAIL it on all
|
||||||
|
architectures that it fails on. I wonder if we should be passing
|
||||||
|
it a specific triple? Also, from what I can tell, this tests only
|
||||||
|
runs when llvm is configured with LLVM_DEFAULT_TARGET_TRIPLE set
|
||||||
|
to a non-empty value, which is why it may not fail in every build
|
||||||
|
configuration.
|
||||||
|
|
||||||
|
Differential Revision: https://reviews.llvm.org/D109806
|
||||||
|
---
|
||||||
|
llvm/test/DebugInfo/Generic/missing-abstract-variable.ll | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll b/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll
|
||||||
|
index 8f8d404..07a8778 100644
|
||||||
|
--- a/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll
|
||||||
|
+++ b/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
; powerpc64 (and on x86_64 at at least -O2). Presumably this is a SelectionDAG
|
||||||
|
; issue.
|
||||||
|
; FIXME: arm64 is an alias for aarch64 on macs, apparently?
|
||||||
|
-; XFAIL: powerpc64, aarch64, arm64, hexagon, riscv, sparc
|
||||||
|
+; XFAIL: powerpc64, aarch64, arm64, hexagon, riscv, sparc, ppc64le
|
||||||
|
|
||||||
|
; Build from the following source with clang -O2.
|
||||||
|
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
|
|
14
gating.yaml
14
gating.yaml
@ -1,12 +1,10 @@
|
|||||||
--- !Policy
|
--- !Policy
|
||||||
product_versions:
|
product_versions:
|
||||||
- fedora-*
|
- fedora-*
|
||||||
decision_context: bodhi_update_push_testing
|
decision_contexts:
|
||||||
|
- bodhi_update_push_testing
|
||||||
|
- bodhi_update_push_stable
|
||||||
|
- bodhi_update_push_stable_critpath
|
||||||
|
subject_type: koji_build
|
||||||
rules:
|
rules:
|
||||||
- !PassingTestCaseRule {test_case_name: org.centos.prod.ci.pipeline.allpackages-build.package.test.functional.complete}
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- fedora-*
|
|
||||||
decision_context: bodhi_update_push_stable
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: org.centos.prod.ci.pipeline.allpackages-build.package.test.functional.complete}
|
|
||||||
|
@ -1,52 +0,0 @@
|
|||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
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
|
|
||||||
67H2IH//2sf8dw==
|
|
||||||
=ADVe
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
18
llvm.rpmlintrc
Normal file
18
llvm.rpmlintrc
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# This library has no dependencies.
|
||||||
|
addFilter("llvm-libs.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libRemarks.so.[0-9]+")
|
||||||
|
addFilter("llvm-googletest.x86_64: W: devel-file-in-non-devel-package")
|
||||||
|
|
||||||
|
# same for llvm-test utilities
|
||||||
|
addFilter("llvm-test.x86_64: W: no-manual-page-for-binary")
|
||||||
|
|
||||||
|
# Don't warn about libs in llvm-libs
|
||||||
|
addFilter("llvm-libs.x86_64: W: devel-file-in-non-devel-package /usr/lib64/lib")
|
||||||
|
# These is ok in the llvm gold plugin
|
||||||
|
addFilter("llvm-libs.x86_64: W: shared-lib-calls-exit /usr/lib64/LLVMgold.so")
|
||||||
|
addFilter("llvm-libs.x86_64: W: no-soname /usr/lib64/LLVMgold.so")
|
||||||
|
|
||||||
|
# These are without documentation
|
||||||
|
addFilter("llvm-googletest.x86_64: W: no-documentation")
|
||||||
|
addFilter("llvm-libs.x86_64: W: no-documentation")
|
||||||
|
addFilter("llvm-static.x86_64: W: no-documentation")
|
||||||
|
addFilter("llvm-test.x86_64: W: no-documentation")
|
601
llvm.spec
601
llvm.spec
@ -1,3 +1,7 @@
|
|||||||
|
# We are building with clang for faster/lower memory LTO builds.
|
||||||
|
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_macros
|
||||||
|
%global toolchain clang
|
||||||
|
|
||||||
# Components enabled if supported by target architecture:
|
# Components enabled if supported by target architecture:
|
||||||
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x
|
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x
|
||||||
%ifarch %{gold_arches}
|
%ifarch %{gold_arches}
|
||||||
@ -7,20 +11,25 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%bcond_with compat_build
|
%bcond_with compat_build
|
||||||
|
%ifnarch riscv64
|
||||||
|
%bcond_without check
|
||||||
|
%else
|
||||||
|
%bcond_with check
|
||||||
|
%endif
|
||||||
|
|
||||||
%global llvm_libdir %{_libdir}/%{name}
|
#global rc_ver 3
|
||||||
%global build_llvm_libdir %{buildroot}%{llvm_libdir}
|
%global maj_ver 15
|
||||||
#%%global rc_ver 6
|
|
||||||
%global baserelease 1
|
|
||||||
%global llvm_srcdir llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
|
||||||
%global maj_ver 10
|
|
||||||
%global min_ver 0
|
%global min_ver 0
|
||||||
%global patch_ver 0
|
%global patch_ver 6
|
||||||
|
%if !%{maj_ver} && 0%{?rc_ver}
|
||||||
|
%global abi_revision 2
|
||||||
|
%endif
|
||||||
|
%global llvm_srcdir llvm-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
%global cmake_srcdir cmake-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
|
||||||
%if %{with compat_build}
|
%if %{with compat_build}
|
||||||
%global pkg_name llvm%{maj_ver}.%{min_ver}
|
%global pkg_name llvm%{maj_ver}
|
||||||
%global exec_suffix -%{maj_ver}.%{min_ver}
|
%global exec_suffix -%{maj_ver}
|
||||||
%global install_prefix %{_libdir}/%{name}
|
%global install_prefix %{_libdir}/%{name}
|
||||||
%global install_bindir %{install_prefix}/bin
|
%global install_bindir %{install_prefix}/bin
|
||||||
%global install_includedir %{install_prefix}/include
|
%global install_includedir %{install_prefix}/include
|
||||||
@ -33,41 +42,75 @@
|
|||||||
%global pkg_name llvm
|
%global pkg_name llvm
|
||||||
%global install_prefix /usr
|
%global install_prefix /usr
|
||||||
%global install_libdir %{_libdir}
|
%global install_libdir %{_libdir}
|
||||||
|
%global pkg_bindir %{_bindir}
|
||||||
%global pkg_libdir %{install_libdir}
|
%global pkg_libdir %{install_libdir}
|
||||||
|
%global exec_suffix %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?rhel}
|
||||||
|
%global targets_to_build "X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;ARM;Mips;BPF;WebAssembly"
|
||||||
|
%global experimental_targets_to_build ""
|
||||||
|
%else
|
||||||
|
%global targets_to_build "all"
|
||||||
|
%global experimental_targets_to_build "AVR"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global build_install_prefix %{buildroot}%{install_prefix}
|
%global build_install_prefix %{buildroot}%{install_prefix}
|
||||||
|
|
||||||
|
# Lower memory usage of dwz on s390x
|
||||||
|
%global _dwz_low_mem_die_limit_s390x 1
|
||||||
|
%global _dwz_max_die_limit_s390x 1000000
|
||||||
|
|
||||||
|
%ifarch %{arm}
|
||||||
|
# koji overrides the _gnu variable to be gnu, which is not correct for clang, so
|
||||||
|
# we need to hard-code the correct triple here.
|
||||||
|
%global llvm_triple armv7l-redhat-linux-gnueabihf
|
||||||
|
%else
|
||||||
|
%global llvm_triple %{_host}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# https://fedoraproject.org/wiki/Changes/PythonSafePath#Opting_out
|
||||||
|
# Don't add -P to Python shebangs
|
||||||
|
# The executable Python scripts in /usr/share/opt-viewer/ import each other
|
||||||
|
%undefine _py3_shebang_P
|
||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
Release: 1.2.riscv64%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
URL: http://llvm.org
|
URL: http://llvm.org
|
||||||
%if 0%{?rc_ver:1}
|
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz
|
||||||
Source0: https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{llvm_srcdir}.tar.xz
|
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz.sig
|
||||||
Source3: https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{llvm_srcdir}.tar.xz.sig
|
Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz
|
||||||
%else
|
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz.sig
|
||||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{llvm_srcdir}.tar.xz
|
Source4: release-keys.asc
|
||||||
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{llvm_srcdir}.tar.xz.sig
|
|
||||||
%endif
|
|
||||||
%if %{without compat_build}
|
|
||||||
Source1: run-lit-tests
|
|
||||||
Source2: lit.fedora.cfg.py
|
|
||||||
%endif
|
|
||||||
Source4: https://prereleases.llvm.org/%{version}/hans-gpg-key.asc
|
|
||||||
|
|
||||||
Patch0: 0001-CMake-Split-static-library-exports-into-their-own-ex.patch
|
%if %{without compat_build}
|
||||||
Patch1: 0001-CMake-Split-test-binary-exports-into-their-own-expor.patch
|
Source5: run-lit-tests
|
||||||
|
Source6: lit.fedora.cfg.py
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?abi_revision}
|
||||||
|
Patch0: 0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch
|
||||||
|
%endif
|
||||||
|
Patch1: 0002-Disable-CrashRecoveryTest.DumpStackCleanup-test-on-a.patch
|
||||||
|
Patch2: 0003-XFAIL-missing-abstract-variable.ll-test-on-ppc64le.patch
|
||||||
|
|
||||||
|
# Needed to export clang-tblgen during the clang build, needed by the flang docs build.
|
||||||
|
# TODO: Can be dropped for LLVM 16, see https://reviews.llvm.org/D131282.
|
||||||
|
Patch3: 0001-Install-clang-tblgen.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: clang
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: ninja-build
|
BuildRequires: ninja-build
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
BuildRequires: python3-psutil
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
BuildRequires: python3-recommonmark
|
BuildRequires: python3-recommonmark
|
||||||
BuildRequires: multilib-rpm-config
|
BuildRequires: multilib-rpm-config
|
||||||
@ -80,8 +123,13 @@ BuildRequires: valgrind-devel
|
|||||||
%endif
|
%endif
|
||||||
# LLVM's LineEditor library will use libedit if it is available.
|
# LLVM's LineEditor library will use libedit if it is available.
|
||||||
BuildRequires: libedit-devel
|
BuildRequires: libedit-devel
|
||||||
# We need python3-devel for pathfix.py.
|
# We need python3-devel for %%py3_shebang_fix
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
|
# For origin certification
|
||||||
|
BuildRequires: gnupg2
|
||||||
|
|
||||||
|
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
@ -101,6 +149,17 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|||||||
# app that requires the libLLVMLineEditor, so we need to make sure
|
# app that requires the libLLVMLineEditor, so we need to make sure
|
||||||
# libedit-devel is available.
|
# libedit-devel is available.
|
||||||
Requires: libedit-devel
|
Requires: libedit-devel
|
||||||
|
# The installed cmake files reference binaries from llvm-test and llvm-static.
|
||||||
|
# We tried in the past to split the cmake exports for these binaries out into
|
||||||
|
# separate files, so that llvm-devel would not need to Require these packages,
|
||||||
|
# but this caused bugs (rhbz#1773678) and forced us to carry two non-upstream
|
||||||
|
# patches.
|
||||||
|
Requires: %{name}-static%{?_isa} = %{version}-%{release}
|
||||||
|
%if %{without compat_build}
|
||||||
|
Requires: %{name}-test%{?_isa} = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
Requires(post): %{_sbindir}/alternatives
|
Requires(post): %{_sbindir}/alternatives
|
||||||
Requires(postun): %{_sbindir}/alternatives
|
Requires(postun): %{_sbindir}/alternatives
|
||||||
|
|
||||||
@ -128,6 +187,8 @@ Shared libraries for the LLVM compiler infrastructure.
|
|||||||
Summary: LLVM static libraries
|
Summary: LLVM static libraries
|
||||||
Conflicts: %{name}-devel < 8
|
Conflicts: %{name}-devel < 8
|
||||||
|
|
||||||
|
Provides: llvm-static(major) = %{maj_ver}
|
||||||
|
|
||||||
%description static
|
%description static
|
||||||
Static libraries for the LLVM compiler infrastructure.
|
Static libraries for the LLVM compiler infrastructure.
|
||||||
|
|
||||||
@ -137,14 +198,6 @@ Static libraries for the LLVM compiler infrastructure.
|
|||||||
Summary: LLVM regression tests
|
Summary: LLVM regression tests
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: python3-lit
|
|
||||||
# The regression tests need gold.
|
|
||||||
Requires: binutils
|
|
||||||
# This is for llvm-config
|
|
||||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
||||||
# Bugpoint tests require gcc
|
|
||||||
Requires: gcc
|
|
||||||
Requires: findutils
|
|
||||||
|
|
||||||
Provides: llvm-test(major) = %{maj_ver}
|
Provides: llvm-test(major) = %{maj_ver}
|
||||||
|
|
||||||
@ -160,33 +213,41 @@ LLVM's modified googletest sources.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||||
|
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE3}' --data='%{SOURCE2}'
|
||||||
|
%setup -T -q -b 2 -n %{cmake_srcdir}
|
||||||
|
# TODO: It would be more elegant to set -DLLVM_COMMON_CMAKE_UTILS=%{_builddir}/%{cmake_srcdir},
|
||||||
|
# but this is not a CACHED variable, so we can't actually set it externally :(
|
||||||
|
cd ..
|
||||||
|
mv %{cmake_srcdir} cmake
|
||||||
%autosetup -n %{llvm_srcdir} -p2
|
%autosetup -n %{llvm_srcdir} -p2
|
||||||
|
|
||||||
pathfix.py -i %{__python3} -pn \
|
%py3_shebang_fix \
|
||||||
test/BugPoint/compile-custom.ll.py \
|
test/BugPoint/compile-custom.ll.py \
|
||||||
tools/opt-viewer/*.py
|
tools/opt-viewer/*.py \
|
||||||
|
utils/update_cc_test_checks.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p _build
|
|
||||||
cd _build
|
|
||||||
|
|
||||||
%ifarch s390 %{arm} %ix86
|
%ifarch s390 s390x riscv64
|
||||||
|
# Fails with "exceeded PCRE's backtracking limit"
|
||||||
|
%global _lto_cflags %nil
|
||||||
|
%else
|
||||||
|
%global _lto_cflags -flto=thin
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%ifarch s390 s390x %{arm} %ix86 riscv64
|
||||||
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
||||||
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# force off shared libs as cmake macros turns it on.
|
# force off shared libs as cmake macros turns it on.
|
||||||
#
|
%cmake -G Ninja \
|
||||||
# -DCMAKE_INSTALL_RPATH=";" is a workaround for llvm manually setting the
|
|
||||||
# rpath of libraries and binaries. llvm will skip the manual setting
|
|
||||||
# if CAMKE_INSTALL_RPATH is set to a value, but cmake interprets this value
|
|
||||||
# as nothing, so it sets the rpath to "" when installing.
|
|
||||||
%cmake .. -G Ninja \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||||
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
-DCMAKE_INSTALL_RPATH=";" \
|
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||||
%ifarch s390 %{arm} %ix86
|
%ifarch s390 %{arm} %ix86 risv64
|
||||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
||||||
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
||||||
%endif
|
%endif
|
||||||
@ -198,15 +259,16 @@ cd _build
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
\
|
\
|
||||||
-DLLVM_TARGETS_TO_BUILD=all \
|
-DLLVM_TARGETS_TO_BUILD=%{targets_to_build} \
|
||||||
-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
|
-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
|
||||||
-DLLVM_ENABLE_ZLIB:BOOL=ON \
|
-DLLVM_ENABLE_ZLIB:BOOL=ON \
|
||||||
-DLLVM_ENABLE_FFI:BOOL=ON \
|
-DLLVM_ENABLE_FFI:BOOL=ON \
|
||||||
-DLLVM_ENABLE_RTTI:BOOL=ON \
|
-DLLVM_ENABLE_RTTI:BOOL=ON \
|
||||||
|
-DLLVM_USE_PERF:BOOL=ON \
|
||||||
%if %{with gold}
|
%if %{with gold}
|
||||||
-DLLVM_BINUTILS_INCDIR=%{_includedir} \
|
-DLLVM_BINUTILS_INCDIR=%{_includedir} \
|
||||||
%endif
|
%endif
|
||||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=AVR \
|
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{experimental_targets_to_build} \
|
||||||
\
|
\
|
||||||
-DLLVM_BUILD_RUNTIME:BOOL=ON \
|
-DLLVM_BUILD_RUNTIME:BOOL=ON \
|
||||||
\
|
\
|
||||||
@ -215,6 +277,7 @@ cd _build
|
|||||||
\
|
\
|
||||||
-DLLVM_INCLUDE_TESTS:BOOL=ON \
|
-DLLVM_INCLUDE_TESTS:BOOL=ON \
|
||||||
-DLLVM_BUILD_TESTS:BOOL=ON \
|
-DLLVM_BUILD_TESTS:BOOL=ON \
|
||||||
|
-DLLVM_LIT_ARGS=-v \
|
||||||
\
|
\
|
||||||
-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \
|
-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \
|
||||||
-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
|
-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
|
||||||
@ -233,107 +296,83 @@ cd _build
|
|||||||
-DLLVM_ENABLE_SPHINX:BOOL=ON \
|
-DLLVM_ENABLE_SPHINX:BOOL=ON \
|
||||||
-DLLVM_ENABLE_DOXYGEN:BOOL=OFF \
|
-DLLVM_ENABLE_DOXYGEN:BOOL=OFF \
|
||||||
\
|
\
|
||||||
|
%if %{without compat_build}
|
||||||
-DLLVM_VERSION_SUFFIX='' \
|
-DLLVM_VERSION_SUFFIX='' \
|
||||||
|
%endif
|
||||||
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
|
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
|
||||||
-DLLVM_DYLIB_EXPORT_ALL:BOOL=ON \
|
|
||||||
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
||||||
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
|
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
|
||||||
-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \
|
-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \
|
||||||
|
%{?abi_revision:-DLLVM_ABI_REVISION=%{abi_revision}} \
|
||||||
\
|
\
|
||||||
|
-DLLVM_DEFAULT_TARGET_TRIPLE=%{llvm_triple} \
|
||||||
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
|
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
|
||||||
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
|
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
|
||||||
-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3
|
-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3 \
|
||||||
|
-DLLVM_INCLUDE_BENCHMARKS=OFF
|
||||||
|
|
||||||
# Build libLLVM.so first. This ensures that when libLLVM.so is linking, there
|
# Build libLLVM.so first. This ensures that when libLLVM.so is linking, there
|
||||||
# are no other compile jobs running. This will help reduce OOM errors on the
|
# are no other compile jobs running. This will help reduce OOM errors on the
|
||||||
# builders without having to artificially limit the number of concurrent jobs.
|
# builders without having to artificially limit the number of concurrent jobs.
|
||||||
%ninja_build LLVM
|
%cmake_build --target LLVM
|
||||||
%ninja_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ninja_install -C _build
|
%cmake_install
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/%{_bindir}
|
||||||
|
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
mkdir -p %{buildroot}/%{_bindir}
|
|
||||||
mv %{buildroot}/%{_bindir}/llvm-config %{buildroot}/%{_bindir}/llvm-config-%{__isa_bits}
|
|
||||||
|
|
||||||
# Fix some man pages
|
# Fix some man pages
|
||||||
ln -s llvm-config.1 %{buildroot}%{_mandir}/man1/llvm-config-%{__isa_bits}.1
|
ln -s llvm-config.1 %{buildroot}%{_mandir}/man1/llvm-config%{exec_suffix}-%{__isa_bits}.1
|
||||||
mv %{buildroot}%{_mandir}/man1/tblgen.1 %{buildroot}%{_mandir}/man1/llvm-tblgen.1
|
|
||||||
|
|
||||||
# Install binaries needed for lit tests
|
# Install binaries needed for lit tests
|
||||||
%global test_binaries llvm-isel-fuzzer llvm-opt-fuzzer
|
%global test_binaries llvm-isel-fuzzer llvm-opt-fuzzer
|
||||||
|
|
||||||
for f in %{test_binaries}
|
for f in %{test_binaries}
|
||||||
do
|
do
|
||||||
install -m 0755 ./_build/bin/$f %{buildroot}%{_bindir}
|
install -m 0755 %{_vpath_builddir}/bin/$f %{buildroot}%{_bindir}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Remove testing of update utility tools
|
||||||
|
rm -rf test/tools/UpdateTestChecks
|
||||||
|
|
||||||
%multilib_fix_c_header --file %{_includedir}/llvm/Config/llvm-config.h
|
%multilib_fix_c_header --file %{_includedir}/llvm/Config/llvm-config.h
|
||||||
|
|
||||||
# Install libraries needed for unittests
|
# Install libraries needed for unittests
|
||||||
%if 0%{?__isa_bits} == 64
|
%if 0%{?__isa_bits} == 64
|
||||||
%global build_libdir _build/lib64
|
%global build_libdir %{_vpath_builddir}/lib64
|
||||||
%else
|
%else
|
||||||
%global build_libdir _build/lib
|
%global build_libdir %{_vpath_builddir}/lib
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{_libdir}
|
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{_libdir}
|
||||||
|
|
||||||
%global install_srcdir %{buildroot}%{_datadir}/llvm/src
|
%global install_srcdir %{buildroot}%{_datadir}/llvm/src
|
||||||
%global lit_cfg test/%{_arch}.site.cfg.py
|
|
||||||
%global lit_unit_cfg test/Unit/%{_arch}.site.cfg.py
|
|
||||||
%global lit_fedora_cfg %{_datadir}/llvm/lit.fedora.cfg.py
|
|
||||||
|
|
||||||
# Install gtest sources so clang can use them for gtest
|
# Install gtest sources so clang can use them for gtest
|
||||||
install -d %{install_srcdir}
|
install -d %{install_srcdir}
|
||||||
install -d %{install_srcdir}/utils/
|
install -d %{install_srcdir}/utils/
|
||||||
cp -R utils/unittest %{install_srcdir}/utils/
|
cp -R utils/unittest %{install_srcdir}/utils/
|
||||||
|
|
||||||
# Generate lit config files. Strip off the last line that initiates the
|
# Clang needs these for running lit tests.
|
||||||
# test run, so we can customize the configuration.
|
cp utils/update_cc_test_checks.py %{install_srcdir}/utils/
|
||||||
head -n -1 _build/test/lit.site.cfg.py >> %{lit_cfg}
|
cp -R utils/UpdateTestChecks %{install_srcdir}/utils/
|
||||||
head -n -1 _build/test/Unit/lit.site.cfg.py >> %{lit_unit_cfg}
|
|
||||||
|
|
||||||
# Install custom fedora config file
|
%if %{with gold}
|
||||||
cp %{SOURCE2} %{buildroot}%{lit_fedora_cfg}
|
# Add symlink to lto plugin in the binutils plugin directory.
|
||||||
|
%{__mkdir_p} %{buildroot}%{_libdir}/bfd-plugins/
|
||||||
# Patch lit config files to load custom fedora config:
|
ln -s -t %{buildroot}%{_libdir}/bfd-plugins/ ../LLVMgold.so
|
||||||
for f in %{lit_cfg} %{lit_unit_cfg}; do
|
%endif
|
||||||
echo "lit_config.load_config(config, '%{lit_fedora_cfg}')" >> $f
|
|
||||||
done
|
|
||||||
|
|
||||||
install -d %{buildroot}%{_libexecdir}/tests/llvm
|
|
||||||
install -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/tests/llvm
|
|
||||||
|
|
||||||
# Install lit tests. We need to put these in a tarball otherwise rpm will complain
|
|
||||||
# about some of the test inputs having the wrong object file format.
|
|
||||||
install -d %{buildroot}%{_datadir}/llvm/
|
|
||||||
tar -czf %{install_srcdir}/test.tar.gz test/
|
|
||||||
|
|
||||||
# Install the unit test binaries
|
|
||||||
mkdir -p %{build_llvm_libdir}
|
|
||||||
cp -R _build/unittests %{build_llvm_libdir}/
|
|
||||||
rm -rf `find %{build_llvm_libdir} -iname 'cmake*'`
|
|
||||||
|
|
||||||
# Install libraries used for testing
|
|
||||||
install -m 0755 %{build_libdir}/BugpointPasses.so %{buildroot}%{_libdir}
|
|
||||||
install -m 0755 %{build_libdir}/LLVMHello.so %{buildroot}%{_libdir}
|
|
||||||
|
|
||||||
# Install test inputs for PDB tests
|
|
||||||
echo "%{_datadir}/llvm/src/unittests/DebugInfo/PDB" > %{build_llvm_libdir}/unittests/DebugInfo/PDB/llvm.srcdir.txt
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/llvm/src/unittests/DebugInfo/PDB/
|
|
||||||
cp -R unittests/DebugInfo/PDB/Inputs %{buildroot}%{_datadir}/llvm/src/unittests/DebugInfo/PDB/
|
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
# Add version suffix to binaries
|
# Add version suffix to binaries
|
||||||
mkdir -p %{buildroot}/%{_bindir}
|
|
||||||
for f in %{buildroot}/%{install_bindir}/*; do
|
for f in %{buildroot}/%{install_bindir}/*; do
|
||||||
filename=`basename $f`
|
filename=`basename $f`
|
||||||
ln -s %{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename%{exec_suffix}
|
ln -s ../../../%{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename%{exec_suffix}
|
||||||
done
|
done
|
||||||
|
|
||||||
# Move header files
|
# Move header files
|
||||||
@ -342,7 +381,6 @@ ln -s ../../../%{install_includedir}/llvm %{buildroot}/%{pkg_includedir}/llvm
|
|||||||
ln -s ../../../%{install_includedir}/llvm-c %{buildroot}/%{pkg_includedir}/llvm-c
|
ln -s ../../../%{install_includedir}/llvm-c %{buildroot}/%{pkg_includedir}/llvm-c
|
||||||
|
|
||||||
# Fix multi-lib
|
# Fix multi-lib
|
||||||
mv %{buildroot}%{_bindir}/llvm-config{%{exec_suffix},%{exec_suffix}-%{__isa_bits}}
|
|
||||||
%multilib_fix_c_header --file %{install_includedir}/llvm/Config/llvm-config.h
|
%multilib_fix_c_header --file %{install_includedir}/llvm/Config/llvm-config.h
|
||||||
|
|
||||||
# Create ld.so.conf.d entry
|
# Create ld.so.conf.d entry
|
||||||
@ -353,7 +391,7 @@ EOF
|
|||||||
|
|
||||||
# Add version suffix to man pages and move them to mandir.
|
# Add version suffix to man pages and move them to mandir.
|
||||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||||
for f in `ls %{build_install_prefix}/share/man/man1/*`; do
|
for f in %{build_install_prefix}/share/man/man1/*; do
|
||||||
filename=`basename $f | cut -f 1 -d '.'`
|
filename=`basename $f | cut -f 1 -d '.'`
|
||||||
mv $f %{buildroot}%{_mandir}/man1/$filename%{exec_suffix}.1
|
mv $f %{buildroot}%{_mandir}/man1/$filename%{exec_suffix}.1
|
||||||
done
|
done
|
||||||
@ -363,37 +401,85 @@ rm -Rf %{build_install_prefix}/share/opt-viewer
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# llvm-config special casing. llvm-config is managed by update-alternatives.
|
||||||
|
# the original file must remain available for compatibility with the CMake
|
||||||
|
# infrastructure. Without compat, cmake points to the symlink, with compat it
|
||||||
|
# points to the original file.
|
||||||
|
|
||||||
|
%if %{without compat_build}
|
||||||
|
|
||||||
|
mv %{buildroot}/%{pkg_bindir}/llvm-config %{buildroot}/%{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
||||||
|
# We still maintain a versionned symlink for consistency across llvm versions.
|
||||||
|
# This is specific to the non-compat build and matches the exec prefix for
|
||||||
|
# compat builds. An isa-agnostic versionned symlink is also maintained in the (un)install
|
||||||
|
# steps.
|
||||||
|
(cd %{buildroot}/%{pkg_bindir} ; ln -s llvm-config%{exec_suffix}-%{__isa_bits} llvm-config-%{maj_ver}-%{__isa_bits} )
|
||||||
|
# ghost presence
|
||||||
|
touch %{buildroot}%{_bindir}/llvm-config-%{maj_ver}
|
||||||
|
|
||||||
|
%else
|
||||||
|
|
||||||
|
rm %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
||||||
|
(cd %{buildroot}/%{pkg_bindir} ; ln -s llvm-config llvm-config%{exec_suffix}-%{__isa_bits} )
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# ghost presence
|
||||||
|
touch %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
||||||
|
|
||||||
|
%if %{without compat_build}
|
||||||
|
cp -Rv ../cmake/Modules/* %{buildroot}%{_libdir}/cmake/llvm
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# TODO: Fix test failures on arm
|
# Disable check section on arm due to some kind of memory related failure.
|
||||||
ninja check-all -C _build || \
|
# Possibly related to https://bugzilla.redhat.com/show_bug.cgi?id=1920183
|
||||||
|
%ifnarch %{arm}
|
||||||
|
|
||||||
|
# TODO: Fix the failures below
|
||||||
%ifarch %{arm}
|
%ifarch %{arm}
|
||||||
:
|
rm test/tools/llvm-readobj/ELF/dependent-libraries.test
|
||||||
%else
|
%endif
|
||||||
false
|
|
||||||
|
# non reproducible errors
|
||||||
|
rm test/tools/dsymutil/X86/swift-interface.test
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
|
# FIXME: use %%cmake_build instead of %%__ninja
|
||||||
|
LD_LIBRARY_PATH=%{buildroot}/%{pkg_libdir} %{__ninja} check-all -C %{_vpath_builddir}
|
||||||
|
%endif
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ldconfig_scriptlets libs
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%if %{without compat_build}
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config llvm-config %{_bindir}/llvm-config-%{__isa_bits} %{__isa_bits}
|
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config%{exec_suffix} llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits}
|
||||||
|
%if %{without compat_build}
|
||||||
|
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config-%{maj_ver} llvm-config-%{maj_ver} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits}
|
||||||
|
%endif
|
||||||
|
|
||||||
%postun devel
|
%postun devel
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
%{_sbindir}/update-alternatives --remove llvm-config %{_bindir}/llvm-config
|
%{_sbindir}/update-alternatives --remove llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
||||||
|
%if %{without compat_build}
|
||||||
|
%{_sbindir}/update-alternatives --remove llvm-config-%{maj_ver} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
||||||
|
%endif
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%license LICENSE.TXT
|
||||||
%exclude %{_mandir}/man1/llvm-config*
|
%exclude %{_mandir}/man1/llvm-config*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
|
%exclude %{_bindir}/llvm-config%{exec_suffix}
|
||||||
|
%exclude %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
||||||
|
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
%exclude %{_bindir}/llvm-config-%{__isa_bits}
|
%exclude %{_bindir}/llvm-config-%{maj_ver}
|
||||||
|
%exclude %{pkg_bindir}/llvm-config-%{maj_ver}-%{__isa_bits}
|
||||||
%exclude %{_bindir}/not
|
%exclude %{_bindir}/not
|
||||||
%exclude %{_bindir}/count
|
%exclude %{_bindir}/count
|
||||||
%exclude %{_bindir}/yaml-bench
|
%exclude %{_bindir}/yaml-bench
|
||||||
@ -402,17 +488,19 @@ fi
|
|||||||
%exclude %{_bindir}/llvm-opt-fuzzer
|
%exclude %{_bindir}/llvm-opt-fuzzer
|
||||||
%{_datadir}/opt-viewer
|
%{_datadir}/opt-viewer
|
||||||
%else
|
%else
|
||||||
%exclude %{pkg_bindir}/llvm-config
|
|
||||||
%{pkg_bindir}
|
%{pkg_bindir}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
|
%license LICENSE.TXT
|
||||||
%{pkg_libdir}/libLLVM-%{maj_ver}.so
|
%{pkg_libdir}/libLLVM-%{maj_ver}.so
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
%if %{with gold}
|
%if %{with gold}
|
||||||
%{_libdir}/LLVMgold.so
|
%{_libdir}/LLVMgold.so
|
||||||
|
%{_libdir}/bfd-plugins/LLVMgold.so
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
|
%{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
|
||||||
|
%{_libdir}/libLLVM-%{maj_ver}.so%{?abi_revision:.%{abi_revision}}
|
||||||
%{_libdir}/libLTO.so*
|
%{_libdir}/libLTO.so*
|
||||||
%else
|
%else
|
||||||
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
@ -426,19 +514,20 @@ fi
|
|||||||
%{pkg_libdir}/libRemarks.so*
|
%{pkg_libdir}/libRemarks.so*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%if %{without compat_build}
|
%license LICENSE.TXT
|
||||||
%{_bindir}/llvm-config-%{__isa_bits}
|
|
||||||
|
%ghost %{_bindir}/llvm-config%{exec_suffix}
|
||||||
|
%{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
||||||
%{_mandir}/man1/llvm-config*
|
%{_mandir}/man1/llvm-config*
|
||||||
|
|
||||||
|
%if %{without compat_build}
|
||||||
%{_includedir}/llvm
|
%{_includedir}/llvm
|
||||||
%{_includedir}/llvm-c
|
%{_includedir}/llvm-c
|
||||||
%{_libdir}/libLLVM.so
|
%{_libdir}/libLLVM.so
|
||||||
%{_libdir}/cmake/llvm
|
%{_libdir}/cmake/llvm
|
||||||
%exclude %{_libdir}/cmake/llvm/LLVMStaticExports.cmake
|
%{pkg_bindir}/llvm-config-%{maj_ver}-%{__isa_bits}
|
||||||
%exclude %{_libdir}/cmake/llvm/LLVMTestExports.cmake
|
%ghost %{_bindir}/llvm-config-%{maj_ver}
|
||||||
%else
|
%else
|
||||||
%{_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
|
||||||
%{pkg_bindir}/llvm-config
|
|
||||||
%{_mandir}/man1/llvm-config%{exec_suffix}.1.gz
|
|
||||||
%{install_includedir}/llvm
|
%{install_includedir}/llvm
|
||||||
%{install_includedir}/llvm-c
|
%{install_includedir}/llvm-c
|
||||||
%{pkg_includedir}/llvm
|
%{pkg_includedir}/llvm
|
||||||
@ -449,13 +538,14 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
|
%license LICENSE.TXT
|
||||||
%doc %{_pkgdocdir}/html
|
%doc %{_pkgdocdir}/html
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
|
%license LICENSE.TXT
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
%exclude %{_libdir}/libLLVMTestingSupport.a
|
%exclude %{_libdir}/libLLVMTestingSupport.a
|
||||||
%{_libdir}/cmake/llvm/LLVMStaticExports.cmake
|
|
||||||
%else
|
%else
|
||||||
%{_libdir}/%{name}/lib/*.a
|
%{_libdir}/%{name}/lib/*.a
|
||||||
%endif
|
%endif
|
||||||
@ -463,28 +553,277 @@ fi
|
|||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
|
|
||||||
%files test
|
%files test
|
||||||
%{_libexecdir}/tests/llvm/
|
%license LICENSE.TXT
|
||||||
%{llvm_libdir}/unittests/
|
|
||||||
%{_datadir}/llvm/src/unittests
|
|
||||||
%{_datadir}/llvm/src/test.tar.gz
|
|
||||||
%{_datadir}/llvm/lit.fedora.cfg.py
|
|
||||||
%{_bindir}/not
|
%{_bindir}/not
|
||||||
%{_bindir}/count
|
%{_bindir}/count
|
||||||
%{_bindir}/yaml-bench
|
%{_bindir}/yaml-bench
|
||||||
%{_bindir}/lli-child-target
|
%{_bindir}/lli-child-target
|
||||||
%{_bindir}/llvm-isel-fuzzer
|
%{_bindir}/llvm-isel-fuzzer
|
||||||
%{_bindir}/llvm-opt-fuzzer
|
%{_bindir}/llvm-opt-fuzzer
|
||||||
%{_libdir}/BugpointPasses.so
|
|
||||||
%{_libdir}/LLVMHello.so
|
|
||||||
%{_libdir}/cmake/llvm/LLVMTestExports.cmake
|
|
||||||
|
|
||||||
%files googletest
|
%files googletest
|
||||||
|
%license LICENSE.TXT
|
||||||
%{_datadir}/llvm/src/utils
|
%{_datadir}/llvm/src/utils
|
||||||
%{_libdir}/libLLVMTestingSupport.a
|
%{_libdir}/libLLVMTestingSupport.a
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 11 2022 David Abdurachmanov <davidlt@rivosinc.com> - 15.0.6-1.2.riscv64
|
||||||
|
- Disable tests on riscv64 for now
|
||||||
|
- Disable LTO on riscv64 (there is no thin LTO in GCC)
|
||||||
|
- Lower memory consumption on riscv64
|
||||||
|
|
||||||
|
* Mon Dec 05 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-1
|
||||||
|
- Update to LLVM 15.0.6
|
||||||
|
|
||||||
|
* Mon Nov 07 2022 Nikita Popov <npopov@redhat.com> - 15.0.4-1
|
||||||
|
- Update to LLVM 15.0.4
|
||||||
|
|
||||||
|
* Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1
|
||||||
|
- Update to LLVM 15.0.0
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.5-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 17 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-2
|
||||||
|
- Release bump for new redhat-rpm-config
|
||||||
|
|
||||||
|
* Mon Jun 13 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-1
|
||||||
|
- 14.0.5 Release
|
||||||
|
|
||||||
|
* Wed May 18 2022 Tom Stellard <tstellar@redhat.com> - 14.0.3-1
|
||||||
|
- 14.0.3 Release
|
||||||
|
|
||||||
|
* Fri Apr 29 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-2
|
||||||
|
- Remove llvm-cmake-devel package
|
||||||
|
|
||||||
|
* Wed Mar 23 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
|
||||||
|
- Update to LLVM 14.0.0
|
||||||
|
|
||||||
|
* Wed Feb 02 2022 Nikita Popov <npopov@redhat.com> - 13.0.1-1
|
||||||
|
- Update to LLVM 13.0.1 final
|
||||||
|
|
||||||
|
* Tue Jan 25 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc3-1
|
||||||
|
- Update to LLVM 13.0.1rc3
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.1~rc2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 13 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc2-1
|
||||||
|
- Update to LLVM 13.0.1rc2
|
||||||
|
|
||||||
|
* Mon Jan 10 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc1-1
|
||||||
|
- Upstream 13.0.1 rc1 release
|
||||||
|
|
||||||
|
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 13.0.0-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
||||||
|
|
||||||
|
* Thu Nov 11 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-7
|
||||||
|
- Enable lto on s390x and arm
|
||||||
|
|
||||||
|
* Mon Oct 25 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-6
|
||||||
|
- Build with Thin LTO
|
||||||
|
|
||||||
|
* Mon Oct 18 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-5
|
||||||
|
- Build with clang
|
||||||
|
|
||||||
|
* Fri Oct 08 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-4
|
||||||
|
- Fix default triple on arm
|
||||||
|
|
||||||
|
* Wed Oct 06 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-3
|
||||||
|
- Set default triple
|
||||||
|
|
||||||
|
* Mon Oct 04 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-2
|
||||||
|
- Drop abi_revision from soname
|
||||||
|
|
||||||
|
* Thu Sep 30 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
|
||||||
|
- 13.0.0 Release
|
||||||
|
|
||||||
|
* Thu Sep 30 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc4-2
|
||||||
|
- Restore config.guess for host triple detection
|
||||||
|
|
||||||
|
* Fri Sep 24 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc4-1
|
||||||
|
- 13.0.0-rc4 Release
|
||||||
|
|
||||||
|
* Fri Sep 17 2021 Tom Stellard <tstellar@redhta.com> - 13.0.0~rc3-1
|
||||||
|
- 13.0.0-rc3 Release
|
||||||
|
|
||||||
|
* Mon Sep 13 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-3
|
||||||
|
- Pass LLVM_DEFAULT_TARGET_TRIPLE to cmake
|
||||||
|
|
||||||
|
* Mon Sep 13 2021 Konrad Kleine <kkleine@redhat.com> - 13.0.0~rc1-2
|
||||||
|
- Add --without=check option
|
||||||
|
|
||||||
|
* Wed Aug 04 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-1
|
||||||
|
- 13.0.0-rc1 Release
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 sguelton@redhat.com - 12.0.1-3
|
||||||
|
- Maintain versionned link to llvm-config
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 12 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-1
|
||||||
|
- 12.0.1 Release
|
||||||
|
|
||||||
|
* Wed Jun 30 2021 Tom Stellard <tstellar@redhat.com> - llvm-12.0.1~rc3-1
|
||||||
|
- 12.0.1-rc3 Release
|
||||||
|
|
||||||
|
* Fri May 28 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc1-2
|
||||||
|
- Stop installing lit tests
|
||||||
|
|
||||||
|
* Wed May 26 2021 Tom Stellard <tstellar@redhat.com> - llvm-12.0.1~rc1-1
|
||||||
|
- 12.0.1-rc1 Release
|
||||||
|
|
||||||
|
* Mon May 17 2021 sguelton@redhat.com - 12.0.0-7
|
||||||
|
- Fix handling of llvm-config
|
||||||
|
|
||||||
|
* Mon May 03 2021 kkleine@redhat.com - 12.0.0-6
|
||||||
|
- More verbose builds thanks to python3-psutil
|
||||||
|
|
||||||
|
* Sat May 01 2021 sguelton@redhat.com - 12.0.0-5
|
||||||
|
- Fix llvm-config install
|
||||||
|
|
||||||
|
* Tue Apr 27 2021 sguelton@redhat.com - 12.0.0-4
|
||||||
|
- Provide default empty value for exec_suffix when not in compat mode
|
||||||
|
|
||||||
|
* Tue Apr 27 2021 sguelton@redhat.com - 12.0.0-3
|
||||||
|
- Fix llvm-config install
|
||||||
|
|
||||||
|
* Tue Apr 20 2021 sguelton@redhat.com - 12.0.0-2
|
||||||
|
- Backport compat package fix
|
||||||
|
|
||||||
|
* Thu Apr 15 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-1
|
||||||
|
- 12.0.0 Release
|
||||||
|
|
||||||
|
* Thu Apr 08 2021 sguelton@redhat.com - 12.0.0-0.11.rc5
|
||||||
|
- New upstream release candidate
|
||||||
|
|
||||||
|
* Tue Apr 06 2021 sguelton@redhat.com - 12.0.0-0.10.rc4
|
||||||
|
- Patch test case for compatibility with llvm-test latout
|
||||||
|
|
||||||
|
* Fri Apr 02 2021 sguelton@redhat.com - 12.0.0-0.9.rc4
|
||||||
|
- New upstream release candidate
|
||||||
|
|
||||||
|
* Wed Mar 31 2021 Jonathan Wakely <jwakely@redhat.com> - 12.0.0-0.8.rc3
|
||||||
|
- Rebuilt for removed libstdc++ symbols (#1937698)
|
||||||
|
|
||||||
|
* Thu Mar 11 2021 sguelton@redhat.com - 12.0.0-0.7.rc3
|
||||||
|
- LLVM 12.0.0 rc3
|
||||||
|
|
||||||
|
* Wed Mar 10 2021 Kalev Lember <klember@redhat.com> - 12.0.0-0.6.rc2
|
||||||
|
- Add llvm-static(major) provides to the -static subpackage
|
||||||
|
|
||||||
|
* Tue Mar 09 2021 sguelton@redhat.com - 12.0.0-0.5.rc2
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Tue Mar 02 2021 sguelton@redhat.com - 12.0.0-0.4.rc2
|
||||||
|
- Change CI working dir
|
||||||
|
|
||||||
|
* Wed Feb 24 2021 sguelton@redhat.com - 12.0.0-0.3.rc2
|
||||||
|
- 12.0.0-rc2 release
|
||||||
|
|
||||||
|
* Tue Feb 16 2021 Dave Airlie <airlied@redhat.com> - 12.0.0-0.2.rc1
|
||||||
|
- Enable LLVM_USE_PERF to allow perf integration
|
||||||
|
|
||||||
|
* Tue Feb 2 2021 Serge Guelton - 12.0.0-0.1.rc1
|
||||||
|
- 12.0.0-rc1 release
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.1.0-0.3.rc2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 22 2021 Serge Guelton - 11.1.0-0.2.rc2
|
||||||
|
- 11.1.0-rc2 release
|
||||||
|
|
||||||
|
* Thu Jan 14 2021 Serge Guelton - 11.1.0-0.1.rc1
|
||||||
|
- 11.1.0-rc1 release
|
||||||
|
|
||||||
|
* Tue Jan 05 2021 Serge Guelton - 11.0.1-3.rc2
|
||||||
|
- Waive extra test case
|
||||||
|
|
||||||
|
* Sun Dec 20 2020 sguelton@redhat.com - 11.0.1-2.rc2
|
||||||
|
- 11.0.1-rc2 release
|
||||||
|
|
||||||
|
* Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1
|
||||||
|
- 11.0.1-rc1 release
|
||||||
|
|
||||||
|
* Sat Oct 31 2020 Jeff Law <law@redhat.com> - 11.0.0-2
|
||||||
|
- Fix missing #include for gcc-11
|
||||||
|
|
||||||
|
* Wed Oct 14 2020 Josh Stone <jistone@redhat.com> - 11.0.0-1
|
||||||
|
- Fix coreos-installer test crash on s390x (rhbz#1883457)
|
||||||
|
|
||||||
|
* Mon Oct 12 2020 sguelton@redhat.com - 11.0.0-0.11
|
||||||
|
- llvm 11.0.0 - final release
|
||||||
|
|
||||||
|
* Thu Oct 08 2020 sguelton@redhat.com - 11.0.0-0.10.rc6
|
||||||
|
- 11.0.0-rc6
|
||||||
|
|
||||||
|
* Fri Oct 02 2020 sguelton@redhat.com - 11.0.0-0.9.rc5
|
||||||
|
- 11.0.0-rc5 Release
|
||||||
|
|
||||||
|
* Sun Sep 27 2020 sguelton@redhat.com - 11.0.0-0.8.rc3
|
||||||
|
- Fix NVR
|
||||||
|
|
||||||
|
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.2.rc3
|
||||||
|
- Obsolete patch for rhbz#1862012
|
||||||
|
|
||||||
|
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.1.rc3
|
||||||
|
- 11.0.0-rc3 Release
|
||||||
|
|
||||||
|
* Wed Sep 02 2020 sguelton@redhat.com - 11.0.0-0.7.rc2
|
||||||
|
- Apply upstream patch for rhbz#1862012
|
||||||
|
|
||||||
|
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.6.rc2
|
||||||
|
- Fix source location
|
||||||
|
|
||||||
|
* Fri Aug 21 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.5.rc2
|
||||||
|
- 11.0.0-rc2 Release
|
||||||
|
|
||||||
|
* Wed Aug 19 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.4.rc1
|
||||||
|
- Fix regression-tests CI tests
|
||||||
|
|
||||||
|
* Tue Aug 18 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.3.rc1
|
||||||
|
- Fix rust crash on ppc64le compiling firefox
|
||||||
|
- rhbz#1862012
|
||||||
|
|
||||||
|
* Tue Aug 11 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.2.rc1
|
||||||
|
- Install update_cc_test_checks.py script
|
||||||
|
|
||||||
|
* Thu Aug 06 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1-rc1
|
||||||
|
- LLVM 11.0.0-rc1 Release
|
||||||
|
- Make llvm-devel require llvm-static and llvm-test
|
||||||
|
|
||||||
|
* Tue Aug 04 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-10
|
||||||
|
- Backport upstream patch to fix build with -flto.
|
||||||
|
- Disable LTO on s390x to work-around unit test failures.
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 sguelton@redhat.com - 10.0.0-9
|
||||||
|
- Fix update-alternative uninstall script
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 sguelton@redhat.com - 10.0.0-8
|
||||||
|
- Fix gpg verification and update macro usage.
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-7
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
* Thu Jun 11 2020 sguelton@redhat.com - 10.0.0-5
|
||||||
|
- Make llvm-test.tar.gz creation reproducible.
|
||||||
|
|
||||||
|
* Tue Jun 02 2020 sguelton@redhat.com - 10.0.0-4
|
||||||
|
- Instruct cmake not to generate RPATH
|
||||||
|
|
||||||
|
* Thu Apr 30 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-3
|
||||||
|
- Install LLVMgold.so symlink in bfd-plugins directory
|
||||||
|
|
||||||
|
* Tue Apr 07 2020 sguelton@redhat.com - 10.0.0-2
|
||||||
|
- Do not package UpdateTestChecks tests in llvm-tests
|
||||||
|
- Apply upstream patch bab5908df to pass gating tests
|
||||||
|
|
||||||
* Wed Mar 25 2020 sguelton@redhat.com - 10.0.0-1
|
* Wed Mar 25 2020 sguelton@redhat.com - 10.0.0-1
|
||||||
- 10.0.0 final
|
- 10.0.0 final
|
||||||
|
|
||||||
|
104
release-keys.asc
Normal file
104
release-keys.asc
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
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
|
||||||
|
9RmlwZlOTFGcWBYl/cfRONn9qi9a6w==
|
||||||
|
=Lvw+
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
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
|
||||||
|
=tMzl
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
@ -48,9 +48,10 @@ esac
|
|||||||
|
|
||||||
cd $(mktemp -d)
|
cd $(mktemp -d)
|
||||||
ln -s /usr/include include
|
ln -s /usr/include include
|
||||||
|
ln -s /usr/share/llvm/src/docs docs
|
||||||
tar -xzf /usr/share/llvm/src/test.tar.gz
|
tar -xzf /usr/share/llvm/src/test.tar.gz
|
||||||
ln -s $ARCH.site.cfg.py test/lit.site.cfg.py
|
ln -s /usr/share/llvm/src/$ARCH.site.cfg.py test/lit.site.cfg.py
|
||||||
ln -s $ARCH.site.cfg.py test/Unit/lit.site.cfg.py
|
ln -s /usr/share/llvm/src/$ARCH.Unit.site.cfg.py test/Unit/lit.site.cfg.py
|
||||||
lit -v -s $threads_arg test \
|
lit -v -s $threads_arg test \
|
||||||
-Dllvm_obj_root=`pwd` \
|
-Dllvm_obj_root=`pwd` \
|
||||||
-Dllvm_test_root=`pwd`/test \
|
-Dllvm_test_root=`pwd`/test \
|
||||||
|
6
sources
6
sources
@ -1,2 +1,4 @@
|
|||||||
SHA512 (llvm-10.0.0.src.tar.xz) = 7dc961aacee3a01ecc002ff2b688a2ef50661856d2abd5ecc90566ffcad7566e4976736cd339ea96592e452cd5a17aaceba9712b2effec805661cca8ff020ee7
|
SHA512 (llvm-15.0.6.src.tar.xz) = 91b53674c140f8eda6e8373a9e3ea013807236e98702b6666f3b4144d95d97dcfa0a59591ab74aa7a320c32f88d579a585dc5a6db6666f1754f68493f95cff1e
|
||||||
SHA512 (llvm-10.0.0.src.tar.xz.sig) = 2e4c61af5d84db4bc7a8ab51367210c529ae02e401b7a73a449f79bf9d92654ccf36fdef0f552c8850df0e94bcafce2359180ad0cdf720be7c874a782a936878
|
SHA512 (llvm-15.0.6.src.tar.xz.sig) = c3bd2340cf907f3e323d084ec7ccb7b41f653578704c192b795ac45aece1d0747f81e7eebb3f6e83f1c979934a4df02e3571a590ab0ddf3ae36b6884c77cb854
|
||||||
|
SHA512 (cmake-15.0.6.src.tar.xz) = a078b9b426515414dae41c8732d7cd955e8ddc9638b4ba9c7dd0925db68e5ea760096f08fd7e1cb9d55b6d73da75f9b4318a2fac36d7aa64f47536ac383b3edc
|
||||||
|
SHA512 (cmake-15.0.6.src.tar.xz.sig) = 8041cc0233ae30e4ae9ad4daeac1b4a127fccd45ee94f7f489e3d56c8d2d0f6986908c93655d63026514643ef407c88c47e3a353f719f820ec25c7a052cd9883
|
||||||
|
6
tests/README.md
Normal file
6
tests/README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Gating testplans for LLVM
|
||||||
|
|
||||||
|
The tests for LLVM are in a separate repo: https://src.fedoraproject.org/tests/llvm
|
||||||
|
This directory should contain only fmf plans (such as build-gating.fmf) which import
|
||||||
|
the tests from the tests repo. This can be done using the "url" parameter of the
|
||||||
|
plan's "discover" step. Reference: https://tmt.readthedocs.io/en/stable/spec/plans.html#fmf
|
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
dnf download --disablerepo=* --enablerepo=test-llvm --source llvm
|
|
||||||
|
|
||||||
# The src.rpm is available in the directory the test run from.
|
|
||||||
set +e
|
|
||||||
mock --resultdir=. --old-chroot --with compat_build --rebuild *.src.rpm
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
cat root.log
|
|
||||||
cat build.log
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
|
59
tests/build-gating.fmf
Normal file
59
tests/build-gating.fmf
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
#
|
||||||
|
# Build/PR gating tests for *LLVM 13*
|
||||||
|
#
|
||||||
|
# Compatible with various LLVM 13 distributions:
|
||||||
|
#
|
||||||
|
# * Fedora (ursine packages)
|
||||||
|
# * Centos 9 stream (ursine packages)
|
||||||
|
# * RHEL-9 (ursine packages)
|
||||||
|
# * RHEL-8 (Red Hat module)
|
||||||
|
# * RHEL-7 (software collection)
|
||||||
|
#
|
||||||
|
|
||||||
|
summary: LLVM tests for build/PR gating
|
||||||
|
adjust:
|
||||||
|
- because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR."
|
||||||
|
when: >-
|
||||||
|
trigger is defined
|
||||||
|
and trigger != commit
|
||||||
|
and trigger != build
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
||||||
|
environment+:
|
||||||
|
WITH_SCL: "scl enable llvm-toolset-13.0 rust-toolset-1.58"
|
||||||
|
when: "collection == llvm-toolset-13.0"
|
||||||
|
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
||||||
|
environment+:
|
||||||
|
WITH_SCL: "scl enable llvm-toolset-14.0 rust-toolset-1.62"
|
||||||
|
when: "collection == llvm-toolset-14.0"
|
||||||
|
|
||||||
|
# Unfortunatelly, TMT does not support more declarative approach, we need to run commands on our own.
|
||||||
|
- because: "On CentOS, CRB must be enabled to provide rarer packages"
|
||||||
|
prepare+:
|
||||||
|
- name: Enable CRB
|
||||||
|
how: shell
|
||||||
|
script: dnf config-manager --set-enabled crb
|
||||||
|
when: >-
|
||||||
|
distro == centos
|
||||||
|
|
||||||
|
# Unfortunately, TMT does not support more declarative approach, we need to run commands on our own.
|
||||||
|
- because: "On RHEL, CRB must be enabled to provide rarer packages"
|
||||||
|
prepare+:
|
||||||
|
- name: Enable CRB
|
||||||
|
how: shell
|
||||||
|
script: dnf config-manager --set-enabled rhel-CRB
|
||||||
|
when: >-
|
||||||
|
distro == rhel-9
|
||||||
|
or distro == rhel-8
|
||||||
|
|
||||||
|
discover:
|
||||||
|
- name: llvm-tests
|
||||||
|
how: fmf
|
||||||
|
url: https://src.fedoraproject.org/tests/llvm.git
|
||||||
|
ref: main
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
provision:
|
||||||
|
hardware:
|
||||||
|
memory: ">= 4 GiB"
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
standard-inventory-qcow2:
|
|
||||||
qemu:
|
|
||||||
m: 2G
|
|
@ -1,30 +0,0 @@
|
|||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
required_packages:
|
|
||||||
- llvm-test
|
|
||||||
- rust
|
|
||||||
- cargo
|
|
||||||
tests:
|
|
||||||
- regression-tests:
|
|
||||||
dir: ./
|
|
||||||
run: /usr/libexec/tests/llvm/run-lit-tests --threads 1
|
|
||||||
- rust-sanity:
|
|
||||||
dir: ./
|
|
||||||
run: cargo new hello && cd hello && cargo run
|
|
||||||
# There is a bug in the build process when it runs out of disk space
|
|
||||||
# while stripping binaries, which causes the strip to fail, but does
|
|
||||||
# not fail the build. This results in a libLLVM.so that is over 2GB
|
|
||||||
# which breaks the nightly compose. So this test checks that libLLVM.so
|
|
||||||
# is less than 100MB to ensure it was successfully stripped.
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1793250
|
|
||||||
- libllvm-size:
|
|
||||||
dir: ./
|
|
||||||
run: test `stat -L -c %s /usr/lib64/libLLVM.so` -lt 100000000
|
|
||||||
# This test ensures that the spec file still builds correctly with
|
|
||||||
# %global compat_build 1
|
|
||||||
# FIXME: This fails, because the CI system has a hard-coded timeout of 4
|
|
||||||
# hours.
|
|
||||||
#- build-compat
|
|
@ -1,31 +0,0 @@
|
|||||||
- hosts: localhost
|
|
||||||
pre_tasks:
|
|
||||||
# Make sure we uninstall all sub-packages, so we can test that the cmake files
|
|
||||||
# in llvm-devel are useable when only llvm-devel is installed.
|
|
||||||
- name: Uninstall llvm sub-packages
|
|
||||||
package:
|
|
||||||
name: "{{ item }}"
|
|
||||||
state: absent
|
|
||||||
tags: classic
|
|
||||||
with_items:
|
|
||||||
- llvm
|
|
||||||
- llvm-devel
|
|
||||||
- llvm-doc
|
|
||||||
- llvm-googletest
|
|
||||||
- llvm-libs
|
|
||||||
- llvm-static
|
|
||||||
- llvm-test
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags: classic
|
|
||||||
required_packages:
|
|
||||||
- llvm-devel
|
|
||||||
- cmake
|
|
||||||
- ninja-build
|
|
||||||
- gcc
|
|
||||||
- gcc-c++
|
|
||||||
repositories:
|
|
||||||
- repo: "https://src.fedoraproject.org/tests/llvm.git"
|
|
||||||
dest: "llvm"
|
|
||||||
tests:
|
|
||||||
- llvm/llvm-devel-cmake
|
|
Loading…
Reference in New Issue
Block a user