Compare commits

..

107 Commits
f29 ... rawhide

Author SHA1 Message Date
Tulio Magno Quites Machado Filho
e3a3a0ebb8 Update to LLVM 16.0.1 2023-04-13 08:49:44 -03:00
Tulio Magno Quites Machado Filho
d5333c74aa Update to LLVM 16.0.0 2023-03-21 11:05:43 -03:00
Tulio Magno Quites Machado Filho
927c63bbc0 Update to LLVM 16.0.0 RC4 2023-03-15 17:27:39 -03:00
Tulio Magno Quites Machado Filho
730be9a996 Improve .gitignore
Replace many entries with a few globs.
2023-03-15 15:28:15 -03:00
Tulio Magno Quites Machado Filho
eb44cf3fe8 Fix the path of the libraries
Use just the major version instead of full version.
2023-03-06 12:19:37 -03:00
Tulio Magno Quites Machado Filho
d37fc52fe0 Update to LLVM 16.0.0 RC3 2023-02-27 09:36:06 -03:00
Tulio Magno Quites Machado Filho
82046e74ac Update to LLVM 16.0.0 RC1 2023-02-15 14:36:29 -03:00
Tom Stellard
95993ba8f4 Omit frame pointers when building 2023-02-01 18:18:41 +00:00
Tulio Magno Quites Machado Filho
8467d3015b Mention the Apache 2.0 license
List Apache 2.0 with LLVM exceptions in the license field.
This license got adopted in 2019.
2023-01-19 16:58:53 -03:00
Fedora Release Engineering
67452bf96d Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 00:21:48 +00:00
Nikita Popov
e7ec30269c Update to LLVM 15.0.7 2023-01-13 17:13:45 +01:00
Nikita Popov
a8840d17cc Remove ppc64le ieeelongdouble workaround
https://bugzilla.redhat.com/show_bug.cgi?id=2142648 has been
resolved.
2022-12-15 16:27:32 +01:00
Nikita Popov
34c212c177 Update to LLVM 15.0.6 2022-12-06 08:50:28 +01:00
Nikita Popov
7a4a1d091f Build with gcc on ppc64le to work around ieeelongdouble issue
The syslog.h glibc header is currently incompatible with clang
ieeelongdouble, which we recently enabled by default again. Build
with gcc to avoid the issue for now.

See https://bugzilla.redhat.com/show_bug.cgi?id=2140618.
2022-11-07 12:32:58 +01:00
Nikita Popov
a1891334fd Update to LLVM 15.0.4 2022-11-07 10:16:28 +01:00
Nikita Popov
2986b2b297 Switch to building with clang 2022-09-23 17:27:32 +02:00
Jesus Checa Hidalgo
7121d6eea6 Migrate tests to tests/compiler-rt repo 2022-09-20 07:56:23 +00:00
Nikita Popov
d64c0bd6fe Make sure asm files are built with -fcf-protection
This should fix some annocheck failures.
2022-09-13 11:18:54 +02:00
Nikita Popov
f8e98d51f0 Update to LLVM 15.0.0 2022-09-06 14:09:13 +02:00
Fedora Release Engineering
f62c027a21 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 23:26:07 +00:00
Timm Bäder
2457db0fb5 Update to 14.0.5 2022-06-20 12:26:57 +02:00
Timm Bäder
f61f587fe4 Remove llvm-cmake-devel buildrequires 2022-04-29 08:18:36 +02:00
Jesus Checa Hidalgo
6f4c3aac71 tests: add llvm-toolset-14.0 requirements to tests and plans 2022-04-22 11:01:43 +00:00
Tom Stellard
14aa17fc59 Add 14.0.0 sources 2022-03-30 04:07:10 +00:00
Timm Bäder
ddc83a70e7 Update to 14.0.0 2022-03-24 08:45:51 +01:00
Jesus Checa Hidalgo
2329a7b813 Add rpminspect config file.
This prevents badfuncs test to fail due to forbidden functions
being expectedly present in compiler-rt rpm.
2022-02-15 17:15:36 +01:00
Nikita Popov
ca35ac5a5d Update to LLVM 13.0.1 final 2022-02-03 15:49:09 +01:00
Fedora Release Engineering
febff914de - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 23:41:50 +00:00
Nikita Popov
fb9b178e7f Remove obsolete patch
This patch is part of the upstream release/13.x branch:
eb845520ac
2022-01-14 09:35:44 -05:00
Nikita Popov
844bad5042 Update to LLVM 13.0.1rc2 2022-01-14 08:38:47 -05:00
Nikita Popov
2e482faaec Update to LLVM 13.0.1rc1 2022-01-12 08:31:43 -05:00
Miloš Prchlík
7270a0aa00 tests: add support for SCL-ized LLVM 13 (llvm-toolset-13.0) 2021-12-13 13:44:22 +01:00
Milos Prchlik
d756eb2f5b tests: convert to TMT 2021-11-19 11:14:32 +00:00
Timm Bäder
d433a74d30 Add rpmlintrc and fix a few rpmlint warnings 2021-11-10 10:09:21 +01:00
Timm Bäder
6dd5cb570c Use %py3_shebang_fix macro 2021-11-10 09:14:11 +01:00
serge-sans-paille
9def6c8498 Fix test requirements 2021-10-21 22:48:42 +02:00
Timm Bäder
c4c6ace9ea Remove rpath 2021-10-13 11:00:39 +02:00
Tom Stellard
3697b3a6e3 13.0.0 Release 2021-10-02 03:15:50 +00:00
Tom Stellard
ef3e0dd523 13.0.0-rc3 Release 2021-09-24 01:18:50 +00:00
Tom Stellard
0ef86a0303 13.0.0-rc1 Release 2021-08-10 00:04:14 +00:00
Fedora Release Engineering
89dbe60334 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 19:54:30 +00:00
Fedora Release Engineering
055ee9f8b6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 14:56:06 +00:00
Tom Stellard
68898f44fb 12.0.1 Release 2021-07-14 04:57:13 +00:00
Tom Stellard
330edc056d 12.0.1-rc3 Release 2021-07-01 08:54:08 +00:00
Tom Stellard
a05b5d30b4 Fix installation paths 2021-06-04 06:00:07 +00:00
Tom Stellard
7807e96f92 12.0.1-rc1 Release 2021-06-01 23:12:34 +00:00
sergesanspaille
cb993d10ad Update removal of C++ dep to follow upstream
Also backport linux/cyclades.h removal patch
2021-05-25 11:55:51 +02:00
sergesanspaille
7290573e79 Do not introduce a dependency on c++ runtime 2021-05-11 14:59:33 +02:00
sergesanspaille
21b2d4395f Backport D102059 2021-05-11 14:59:29 +02:00
sergesanspaille
317abe29b1 Use llvm-integration-test-suite for gating 2021-05-10 20:13:09 +02:00
sergesanspaille
fcb75a9399 Backport 82150606fb11d28813ae6 2021-05-10 20:10:48 +02:00
Tom Stellard
4c0e4f5490 12.0.0 Release 2021-04-17 03:40:54 +00:00
sergesanspaille
ce7af3badb New upstream release candidate 2021-04-08 14:20:02 +02:00
sergesanspaille
8b5db29fe0 New upstream release candidate 2021-04-02 12:44:07 +02:00
sergesanspaille
d14ab4dc0a LLVM 12.0.0 rc3 2021-03-11 14:54:33 +01:00
sergesanspaille
53b166a4c0 Fix patch level 2021-03-09 15:39:54 +01:00
sergesanspaille
376d3fb6c1 rebuilt 2021-03-09 14:59:26 +01:00
sergesanspaille
14f50f317a Rename, cleanup and normalize patch serie 2021-03-02 14:37:24 +01:00
sergesanspaille
86bef4a8d9 12.0.0-rc2 release 2021-02-25 10:28:42 +01:00
sergesanspaille
2480de6359 12.0.0-rc1 release 2021-02-16 17:18:39 +01:00
Fedora Release Engineering
dc7c1bca13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:24:51 +00:00
sergesanspaille
67e8d97ea6 11.1.0-rc2 release 2021-01-22 23:00:29 +01:00
sergesanspaille
88b1c17743 11.1.0-rc1 release 2021-01-14 17:22:16 +01:00
sergesanspaille
187b2a78ab LLVM 11.0.1 final 2021-01-06 10:55:37 +01:00
sergesanspaille
9b4c01fc57 llvm 11.0.1-rc2 2020-12-22 16:19:00 +01:00
sergesanspaille
8599477eda Missing tom's GPG key 2020-12-02 06:41:26 +00:00
sergesanspaille
34365f554f llvm 11.0.1-rc1 2020-12-02 06:38:41 +00:00
Tom Stellard
6c81ee5359 Add dependency on clang-resource-filesystem 2020-10-29 18:58:58 -07:00
sergesanspaille
0e2c1f8820 Fix NVR 2020-10-15 05:17:52 +00:00
sergesanspaille
a20a9b623d llvm 11.0.0 - final release 2020-10-12 11:30:07 +00:00
sergesanspaille
1a6f1d5cf9 11.0.0-rc6 2020-10-08 09:12:10 +00:00
sergesanspaille
e65dcbb8c6 11.0.0-rc5 Release 2020-10-02 07:14:56 +00:00
sergesanspaille
39f11858bb Fix NVR 2020-09-27 13:15:11 +00:00
sergesanspaille
7e66f7a2e9 11.0.0-rc3 Release 2020-09-24 14:13:41 +00:00
sergesanspaille
95d1ac5039 11.0.0-rc2 Release 2020-09-01 10:45:16 +00:00
Tom Stellard
fdeb566dc5 11.0.0-rc1 Release 2020-08-10 16:10:53 -07:00
sergesanspaille
b108ab0078 use %license macro 2020-08-10 14:15:48 -07:00
sergesanspaille
a8f176d121 Remove now obsolete debuginfo package limitation 2020-08-10 14:08:49 -07:00
Fedora Release Engineering
da622436a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:25:40 +00:00
sergesanspaille
4160844a75 Use modern cmake macros 2020-07-20 13:03:47 +00:00
sergesanspaille
d0c80cfd62 Fix multilib runtime links, see rhbz#1855379 2020-07-17 08:34:54 +00:00
sergesanspaille
f661fa2778 Correctly use gpg verification scheme 2020-07-17 08:34:54 +00:00
Tom Stellard
99924f5d4e Drop dependency on llvm-static 2020-07-09 22:30:20 +00:00
sergesanspaille
c47f5015f8 Fix msan compilation warnings, see af38074874c605f9 upstream 2020-06-11 09:24:57 +00:00
sergesanspaille
9c1a23eab5 10.0.0 final 2020-03-30 21:06:09 +00:00
sergesanspaille
3ed62deee8 10.0.0 rc6 2020-03-25 10:59:41 +00:00
sergesanspaille
0912810025 10.0.0 rc5 2020-03-20 21:59:12 +00:00
sergesanspaille
c1466a1613 10.0.0 rc4 2020-03-15 08:06:18 +00:00
sergesanspaille
a39cd201a4 10.0.0 rc3 2020-03-05 11:28:14 +00:00
sergesanspaille
f1a1a1886b 10.0.0rc2 2020-02-15 22:54:00 +00:00
sergesanspaille
6744b0fb20 Ship blacklist files in the proper directory 2020-02-12 19:28:20 +00:00
sergesanspaille
b1b7fc453a Add sources + side note on asm change 2020-02-06 15:27:20 +00:00
sergesanspaille
f80596eee4 10.0.0rc1 2020-02-06 15:18:08 +00:00
Fedora Release Engineering
6708015bc0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 14:37:40 +00:00
Tom Stellard
c03feac3b4 9.0.0 Release 2019-09-20 01:40:31 +00:00
Tom Stellard
aea46521ae 9.0.0-rc3 Release 2019-09-10 00:09:03 +00:00
Fedora Release Engineering
34bc55f81c - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 20:49:13 +00:00
sergesanspaille
d67d734891 Fix rhbz#1678240 2019-06-19 06:46:48 +00:00
sergesanspaille
2e20afe6dc 8.0.0 final 2019-03-20 23:19:51 +00:00
sergesanspaille
ed162623d6 8.0.0rc4 2019-03-12 14:15:43 +00:00
sergesanspaille
3f72936baf Upload new sources 2019-03-06 12:19:52 +00:00
sergesanspaille
4197eae931 8.0.0 rc3 2019-03-06 11:28:51 +00:00
sergesanspaille
861c8e1ea5 8.0.0rc2 - fix version number 2019-02-22 08:17:26 +00:00
sergesanspaille
cf04a2204b 8.0.0rc2 2019-02-22 07:25:13 +00:00
serge-sans-paille
049fbf79ef 8.0.0rc1 2019-02-13 15:50:58 +00:00
Fedora Release Engineering
95edda7d81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 16:07:01 +00:00
serge-sans-paille
80b9904ccd GCC-9 compatibility patch
Backport rsp-in-clobber-list patch
2019-01-18 09:37:05 +00:00
12 changed files with 585 additions and 112 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

24
.gitignore vendored
View File

@ -1,21 +1,3 @@
/compiler-rt-3.7.1.src.tar.xz /*.tar.xz
/compiler-rt-3.8.0rc2.src.tar.xz /*.tar.xz.sig
/compiler-rt-3.8.0rc3.src.tar.xz /*.src.rpm
/compiler-rt-3.8.0.src.tar.xz
/compiler-rt-3.9.0.src.tar.xz
/compiler-rt-3.9.1.src.tar.xz
/compiler-rt-4.0.0.src.tar.xz
/compiler-rt-4.0.1.src.tar.xz
/Fuzzer.tar.xz
/Fuzzer-5.0.0.tar.xz
/compiler-rt-5.0.0.src.tar.xz
/Fuzzer-5.0.1.tar.xz
/compiler-rt-5.0.1.src.tar.xz
/compiler-rt-6.0.0rc1.src.tar.xz
/compiler-rt-6.0.0rc2.src.tar.xz
/compiler-rt-6.0.0.src.tar.xz
/compiler-rt-6.0.1.src.tar.xz
/compiler-rt-7.0.0rc1.src.tar.xz
/compiler-rt-7.0.0rc3.src.tar.xz
/compiler-rt-7.0.0.src.tar.xz
/compiler-rt-7.0.1.src.tar.xz

View File

@ -1,24 +0,0 @@
From 1353b7e97319f82ceee621e2e321c3f932c391fa Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar@redhat.com>
Date: Thu, 6 Sep 2018 17:32:09 -0700
Subject: [PATCH] cmake: Don't prefer python2.7
---
CMakeLists.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 86ca2b3..ef8effa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -71,7 +71,6 @@ if (COMPILER_RT_STANDALONE_BUILD)
endif()
# Find Python interpreter.
- set(Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5)
include(FindPythonInterp)
if(NOT PYTHONINTERP_FOUND)
message(FATAL_ERROR "
--
1.8.3.1

7
compiler-rt.rpmlintrc Normal file
View File

@ -0,0 +1,7 @@
# This is a devel package
addFilter("W: devel-file-in-non-devel-package")
# These symlinks are dangling on x64_64
addFilter("compiler-rt.x86_64: W: dangling-relative-symlink /usr/lib64/clang/[0-9]+.[0-9]+.[0-9]+/")
addFilter("E: hardcoded-library-path in ../../lib/clang/")

View File

@ -1,31 +1,50 @@
%ifarch s390 s390x %global toolchain clang
# only limited set of libs available on s390(x) and the existing ones (stats, ubsan) don't provide debuginfo
%global debug_package %{nil}
%endif
#%%global rc_ver 3 # Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587
%undefine _include_frame_pointers
%global crt_srcdir compiler-rt-%{version}%{?rc_ver:rc%{rc_ver}}.src %global maj_ver 16
%global min_ver 0
%global patch_ver 1
#global rc_ver 4
%global compiler_rt_version %{maj_ver}.%{min_ver}.%{patch_ver}
%global crt_srcdir compiler-rt-%{compiler_rt_version}%{?rc_ver:rc%{rc_ver}}.src
%global cmake_srcdir cmake-%{compiler_rt_version}%{?rc_ver:rc%{rc_ver}}.src
# see https://sourceware.org/bugzilla/show_bug.cgi?id=25271
%global optflags %(echo %{optflags} -D_DEFAULT_SOURCE)
# see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93615
%global optflags %(echo %{optflags} -Dasm=__asm__)
Name: compiler-rt Name: compiler-rt
Version: 7.0.1 Version: %{compiler_rt_version}%{?rc_ver:~rc%{rc_ver}}
Release: 2%{?rc_ver:.rc%{rc_ver}}%{?dist} Release: 1%{?dist}
Summary: LLVM "compiler-rt" runtime libraries Summary: LLVM "compiler-rt" runtime libraries
License: NCSA or MIT License: Apache-2.0 WITH LLVM-exception OR NCSA OR MIT
URL: http://llvm.org URL: http://llvm.org
Source0: http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/%{crt_srcdir}.tar.xz Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compiler_rt_version}%{?rc_ver:-rc%{rc_ver}}/%{crt_srcdir}.tar.xz
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compiler_rt_version}%{?rc_ver:-rc%{rc_ver}}/%{crt_srcdir}.tar.xz.sig
Source2: release-keys.asc
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compiler_rt_version}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz
Source4: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compiler_rt_version}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz.sig
Patch0: 0001-cmake-Don-t-prefer-python2.7.patch BuildRequires: clang
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake BuildRequires: cmake
BuildRequires: ninja-build
BuildRequires: python3 BuildRequires: python3
# We need python3-devel for pathfix.py. # We need python3-devel for %%py3_shebang_fix
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: llvm-devel = %{version} BuildRequires: llvm-devel = %{version}
BuildRequires: llvm-static = %{version} BuildRequires: zlib-devel
# For gpg source verification
BuildRequires: gnupg2
Requires: clang-resource-filesystem%{?isa} = %{version}
%description %description
The compiler-rt project is a part of the LLVM project. It provides The compiler-rt project is a part of the LLVM project. It provides
@ -34,16 +53,25 @@ code generation, sanitizer runtimes and profiling library for code
instrumentation, and Blocks C language extension. instrumentation, and Blocks C language extension.
%prep %prep
%autosetup -n %{crt_srcdir} -p1 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE4}' --data='%{SOURCE3}'
%setup -T -q -b 3 -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 %{crt_srcdir} -p2
pathfix.py -i %{__python3} -pn . %py3_shebang_fix lib/hwasan/scripts/hwasan_symbolize
%build %build
mkdir -p _build # Copy CFLAGS into ASMFLAGS, so -fcf-protection is used when compiling assembly files.
cd _build export ASMFLAGS=$CFLAGS
%cmake .. \
%cmake -GNinja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLLVM_CONFIG_PATH:FILEPATH=%{_bindir}/llvm-config-%{__isa_bits} \ -DCMAKE_MODULE_PATH=%{_libdir}/cmake/llvm \
-DCMAKE_SKIP_RPATH:BOOL=ON \
\ \
%if 0%{?__isa_bits} == 64 %if 0%{?__isa_bits} == 64
-DLLVM_LIBDIR_SUFFIX=64 \ -DLLVM_LIBDIR_SUFFIX=64 \
@ -52,72 +80,308 @@ cd _build
%endif %endif
-DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF # could be on? -DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF # could be on?
make %{?_smp_mflags} %cmake_build
%install %install
cd _build
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_libdir}/clang/%{version}/lib %cmake_install
%ifarch aarch64 # move blacklist/abilist files to where clang expect them
%global aarch64_blacklists hwasan_blacklist.txt mkdir -p %{buildroot}%{_libdir}/clang/%{maj_ver}/share
%endif mv -v %{buildroot}%{_datadir}/*list.txt %{buildroot}%{_libdir}/clang/%{maj_ver}/share/
for file in %{aarch64_blacklists} asan_blacklist.txt msan_blacklist.txt dfsan_blacklist.txt cfi_blacklist.txt dfsan_abilist.txt hwasan_blacklist.txt; do
mv -v %{buildroot}%{_datadir}/${file} %{buildroot}%{_libdir}/clang/%{version}/ || :
done
# move sanitizer libs to better place # move sanitizer libs to better place
%global libclang_rt_installdir lib/linux %global libclang_rt_installdir lib/linux
mv -v %{buildroot}%{_prefix}/%{libclang_rt_installdir}/libclang_rt* %{buildroot}%{_libdir}/clang/%{version}/lib mkdir -p %{buildroot}%{_libdir}/clang/%{maj_ver}/lib
mkdir -p %{buildroot}%{_libdir}/clang/%{version}/lib/linux/ mv -v %{buildroot}%{_prefix}/%{libclang_rt_installdir}/*_rt* %{buildroot}%{_libdir}/clang/%{maj_ver}/lib
pushd %{buildroot}%{_libdir}/clang/%{version}/lib mkdir -p %{buildroot}%{_libdir}/clang/%{maj_ver}/lib/linux/
pushd %{buildroot}%{_libdir}/clang/%{maj_ver}/lib
for i in *.a *.so for i in *.a *.so
do do
ln -s ../$i linux/$i ln -s ../$i linux/$i
done done
popd
# multilib support: also create symlink from lib to lib64 # multilib support: also create symlink from lib to lib64, fixes rhbz#1678240
# fixes rhbz#1678240 # the symlinks will be dangling if the 32 bits version is not installed, but that should be fine
%ifarch %{ix86} %ifarch x86_64
%post
if test "`uname -m`" = x86_64
then
cd %{_libdir}/clang/%{version}/lib
mkdir -p ../../../../lib64/clang/%{version}/lib
for i in *.a *.so
do
ln -s ../../../../%{_lib}/clang/%{version}/lib/$i ../../../../lib64/clang/%{version}/lib/$i
done
fi
%preun mkdir -p %{buildroot}/%{_exec_prefix}/lib/clang/%{maj_ver}/lib/linux
for i in *.a *.so
if test "`uname -m`" = x86_64 do
then target=`echo "$i" | sed -e 's/x86_64/i386/'`
cd %{_libdir}/clang/%{version}/lib ln -s ../../../../../lib/clang/%{maj_ver}/lib/$target ../../../../%{_lib}/clang/%{maj_ver}/lib/linux/
for i in *.a *.so done
do
rm ../../../../lib64/clang/%{version}/lib/$i
done
rmdir -p ../../../../lib64/clang/%{version}/lib 2>/dev/null 1>/dev/null || :
fi
%endif %endif
popd
%check %check
cd _build
#make check-all #%%cmake_build --target check-compiler-rt
%files %files
%license LICENSE.TXT
%{_includedir}/* %{_includedir}/*
%{_libdir}/clang/%{version} %{_libdir}/clang/%{maj_ver}/lib/*
%{_libdir}/clang/%{maj_ver}/share/*
%ifarch x86_64 aarch64
%{_bindir}/hwasan_symbolize
%endif
%changelog %changelog
* Tue Jun 18 2019 sguelton@redhat.com - 7.0.1-2 * Thu Apr 13 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-1
- Backport fix for rhbz#1678240 - Update to LLVM 16.0.1
* Tue Mar 21 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0-1
- Update to LLVM 16.0.0
* Wed Mar 15 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc4-1
- Update to LLVM 16.0.0 RC4
* Mon Mar 06 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc3-2
- Fix the path of the libraries
* Thu Feb 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc3-1
- Update to LLVM 16.0.0 RC3
* Wed Feb 15 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc1-1
- Update to LLVM 16.0.0 RC1
* Wed Feb 01 2023 Tom Stellard <tstellar@redhat.com> - 15.0.7-4
- Omit frame pointers when building
* Thu Jan 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 15.0.7-3
- Include the Apache license adopted in 2019.
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jan 13 2023 Nikita Popov <npopov@redhat.com> - 15.0.7-1
- Update to LLVM 15.0.7
* Thu Dec 15 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-2
- Remove ppc64le ieeelongdouble workaround
* Tue Dec 06 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
* Fri Sep 23 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-3
- Switch to building with clang
* Tue Sep 13 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-2
- Make sure asm files are built with -fcf-protection
* Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1
- Update to LLVM 15.0.0
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 20 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-1
- Update to 14.0.5
* Fri Apr 29 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-2
- Remove llvm-cmake-devel BR
* Thu Mar 24 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
- Update to 14.0.0
* Thu Feb 03 2022 Nikita Popov <npopov@redhat.com> - 13.0.1-1
- Update to LLVM 13.0.1 final
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.1~rc2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jan 14 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc2-1
- Update to LLVM 13.0.1rc2
* Wed Jan 12 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc1-1
- Update to LLVM 13.0.1rc1
* Fri Oct 01 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
- 13.0.0 Release
* Wed Sep 22 2021 Tom Stellard <tsellar@redhat.com> - 13.0.0~rc3-1
- 13.0.0-rc3 Release
* Mon Aug 09 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-1
- 13.0.0-rc1 Release
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jul 13 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1
- 12.0.1 Release
* Wed Jun 30 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc3-1
- 12.0.1-rc3 Release
* Fri Jun 04 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc1-2
- Fix installation paths
* Tue Jun 01 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc1-1
- 12.0.1-rc1 Release
* Fri May 21 2021 sguelton@redhat.com - 12.0.0-3
- Update removal of C++ dep to follow upstream
- Backport linux/cyclade.h removal patch
* Mon May 10 2021 sguelton@redhat.com - 12.0.0-2
- Backport 82150606fb11d28813ae6
* Fri Apr 16 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.6.rc5
- New upstream release candidate
* Fri Apr 02 2021 sguelton@redhat.com - 12.0.0-0.5.rc4
- New upstream release candidate
* Thu Mar 11 2021 sguelton@redhat.com - 12.0.0-0.4.rc3
- LLVM 12.0.0 rc3
* Tue Mar 09 2021 sguelton@redhat.com - 12.0.0-0.3.rc2
- rebuilt
* Thu Feb 25 2021 Serge Guelton - 12.0.0-0.2.rc2
- 12.0.0-rc2 release
* Tue Feb 16 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
* Wed Jan 06 2021 Serge Guelton - 11.0.1-3
- LLVM 11.0.1 final
* Tue Dec 22 2020 sguelton@redhat.com - 11.0.1-2.rc2
- llvm 11.0.1-rc2
* Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1
- llvm 11.0.1-rc1
* Thu Oct 29 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-2
- Add dependency on clang-resource-filesystem
* Thu Oct 15 2020 sguelton@redhat.com - 11.0.0-1
- Fix NVR
* Mon Oct 12 2020 sguelton@redhat.com - 11.0.0-0.5
- llvm 11.0.0 - final release
* Thu Oct 08 2020 sguelton@redhat.com - 11.0.0-0.4.rc6
- 11.0.0-rc6
* Fri Oct 02 2020 sguelton@redhat.com - 11.0.0-0.3.rc5
- 11.0.0-rc5 Release
* Sun Sep 27 2020 sguelton@redhat.com - 11.0.0-0.2.rc3
- Fix NVR
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.1.rc3
- 11.0.0-rc3 Release
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.1.rc2
- 11.0.0-rc2 Release
* Mon Aug 10 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1.rc1
- 11.0.0-rc1 Release
* Wed Jul 29 2020 sguelton@redhat.com - 10.0.0-9
- use %%license macro
* Mon Jul 27 2020 sguelton@redhat.com - 10.0.0-8
- Remove now obsolete debuginfo package limitation
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 20 2020 sguelton@redhat.com - 10.0.0-6
- Use modern cmake macros
* Wed Jul 15 2020 sguelton@redhat.com - 10.0.0-5
- Fix multilib runtime links, see rhbz#1855379
* Wed Jul 15 2020 sguelton@redhat.com - 10.0.0-4
- Correctly use gpg verification
* Thu Jul 09 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-3
- Drop dependency on llvm-static
* Thu Jun 11 2020 sguelton@redhat.com - 10.0.0-2
- Fix msan compilation warnings, see af38074874c605f9 upstream
* Mon Mar 30 2020 sguelton@redhat.com - 10.0.0-1
- 10.0.0 final
* Wed Mar 25 2020 sguelton@redhat.com - 10.0.0-0.6.rc6
- 10.0.0 rc6
* Fri Mar 20 2020 sguelton@redhat.com - 10.0.0-0.5.rc5
- 10.0.0 rc5
* Sun Mar 15 2020 sguelton@redhat.com - 10.0.0-0.4.rc4
- 10.0.0 rc4
* Thu Mar 5 2020 sguelton@redhat.com - 10.0.0-0.3.rc3
- 10.0.0 rc3
* Fri Feb 14 2020 sguelton@redhat.com - 10.0.0-0.1.rc2
- 10.0.0 rc2
* Wed Feb 12 2020 sguelton@redhat.com - 10.0.0-0.2.rc1
- Ship blacklist files in the proper directory, see rhbz#1794936
* Fri Jan 31 2020 sguelton@redhat.com - 10.0.0-0.1.rc1
- 10.0.0 rc1
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Sep 19 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
- 9.0.0 Release
* Thu Aug 22 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.1.rc3
- 9.0.0-rc3 Release
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Jun 18 2019 sguelton@redhat.com - 8.0.0-2
- Fix rhbz#1678240
* Wed Mar 20 2019 sguelton@redhat.com - 8.0.0-1
- 8.0.0 final
* Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.4.rc4
- 8.0.0 Release candidate 4
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.3.rc3
- 8.0.0 Release candidate 3
* Fri Feb 22 2019 sguelton@redhat.com - 8.0.0-0.2.rc2
- 8.0.0 Release candidate 2
* Mon Feb 11 2019 sguelton@redhat.com - 8.0.0-0.1.rc1
- 8.0.0 Release candidate 1
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jan 18 2019 sguelton@redhat.com - 7.0.1-2
- GCC-9 compatibility
* Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1 * Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1
- 7.0.1 Release - 7.0.1 Release

12
gating.yaml Normal file
View File

@ -0,0 +1,12 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_testing
rules:
- !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: fedora-ci.koji-build.tier0.functional}

52
hans-gpg-key.asc Normal file
View File

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFS+1SABEACnmkESkY7eZq0GhDjbkWpKmURGk9+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+u0rC24WwScZIniaryC4JHDas
Ahr2S2CtgCvBgslK6f3gD16KHxPZMBpX73TzOYIhMEP/vXgVJbUD6dYht+U9c4Oh
EDJown0dABEBAAGJAjwEGAECACYCGwwWIQS2yPmCgrlE47DVwlMPwwQuNFrQXQUC
Wl36SwUJDwUmqwAKCRAPwwQuNFrQXT1/D/9YpRDNgaJl3YVDtVZoeQwh7BQ6ULZT
eXFPogYkF2j3VWg8s9UmAs4sg/4a+9KLSantXjX+JFsRv0lQe5Gr/Vl8VQ4LKEXB
fiGmSivjIZ7eopdd3YP2w6G5T3SA4d2CQfsg4rnJPnXIjzKNiSOi368ybnt9fL0Y
2r2aqLTmP6Y7issDUO+J1TW1XHm349JPR0Hl4cTuNnWm4JuX2m2CJEc5XBlDAha9
pUVs+J5C2D0UFFkyeOzeJPwy6x5ApWHm84n8AjhQSpu1qRKxKXdwei6tkQWWMHui
+TgSY/zCkmD9/oY15Ei5avJ4WgIbTLJUoZMi70riPmU8ThjpzA7S+Nk0g7rMPq+X
l1whjKU/u0udlsrIJjzkh6ftqKUmIkbxYTpjhnEujNrEr5m2S6Z6x3y9E5QagBMR
dxRhfk+HbyACcP/p9rXOzl4M291DoKeAAH70GHniGxyNs9rAoMr/hD5XW/Wrz3dc
KMc2s555E6MZILE2ZiolcRn+bYOMPZtWlbx98t8uqMf49gY4FGQBZAwPglMrx7mr
m7HTIiXahThQGOJg6izJDAD5RwSEGlAcL28T8KAuM6CLLkhlBfQwiKsUBNnh9r8w
V3lB+pV0GhL+3i077gTYfZBRwLzjFdhm9xUKEaZ6rN1BX9lzix4eSNK5nln0jUq1
67H2IH//2sf8dw==
=ADVe
-----END PGP PUBLIC KEY BLOCK-----

104
release-keys.asc Normal file
View File

@ -0,0 +1,104 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGLtemUBDADClvDIromq0Y4TX+wyRyYCq5WusPQheQuY8dVCXd9KhMpYAv8U
X15E5boH/quGpJ0ZlVkWcf+1WUHIrQWlbz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PaIQARAQABiQIlBBgBAgAPBQJa6oE9AhsMBQkB4TOAAAoJEKLHlKmG
QZ2KAaMQALHif2E0PBLVt09vlr4i8jAsQvDrzRajmVPd2B9RpfNU6HJe/y93SZd2
udr9vzgmfd2o5u12vbegKNiMRgp1VyHQDmYlce27jrH5aPuKmos78+o5/p5yPWCv
Rj8zxGKh7le7UPO+7UveKu+bgb3zwTj6bEuHX7fVI+WjGmEH3bbjDGamWxXrpfGc
7+Jr8TN4ZO2OwYBcFOS9U2ZQ6TxrPaCSIm6+j8f+a9HPOuuDc62mMuV/EWQZy0i7
DhDqU2PNpVjQDWQNpHA8oLDrjNFAoJS8gbHABVsFM1VnwBNT2MKcZQmm05dlQ+ll
S6meHNCvTniKIKC+Giz1Yd5JVGDACZWWPxEz6VhpQW/twkxRqwlUdpFt7UgDquTL
M1beQUCZRt81yJTNdrggbhQ2POxOdIO0CPiQv7U1IzndZp6baedeBw4a7FCbj6GY
cQeHxQCrWpQrwigiseG5uhhS9aiaVFEHja9baSLfXlZu/vsR4MdDG5/iEpier/Xw
h1qnpTSY+r31Uw3lTUlPHzlg47PMgPslaIhCzfVggxh9bTqxcDbuYJ7NuoMho3tN
yWfeofTJ7PhKzoXM2Y/rRFoM5gNh1RVA19ngLT5Jwiof8fPZvHJ/9ZkHn+O7eMNm
m5++gYza3pnn2/PoGpGGAKok+sfJiq5Tb7RUefyJTeZiyTZ/XJrA
=tMzl
-----END PGP PUBLIC KEY BLOCK-----

21
rpminspect.yaml Normal file
View File

@ -0,0 +1,21 @@
---
# For compiler-rt, we filter out the following forbidden functions from the list:
# - gethostbyname
# - gethostbyname2
# - gethostbyaddr
# - inet_aton
# These are never actually used, and are installed just as interceptors.
badfuncs:
- inet_addr
- inet_nsap_addr
- inet_ntoa
- inet_nsap_ntoa
- inet_makeaddr
- inet_netof
- inet_network
- inet_neta
- inet_net_ntop
- inet_net_pton
- rcmd
- rexec
- rresvport

View File

@ -1 +1,4 @@
SHA512 (compiler-rt-7.0.1.src.tar.xz) = b94a2a1fb9a6d587cef59b04b951628747bb35bdbcb67de8825aad402a2ba875916a347eef7a9575ac27264e8372e2d67cd477fe2d750c0ed3ce7d67bbbc7dba SHA512 (cmake-16.0.1.src.tar.xz) = 7a0f01a82660a953e06b1df267918542205ac46f151d284dca74255c36fe5ccd995266638a85ce502a81cdd5e76ff3311e5f8488e09d0abbf22ee07cec186f5f
SHA512 (cmake-16.0.1.src.tar.xz.sig) = 8d49050e9b04df253a5bb2fa3b27796f204d085610432826bef6bb6cab876990d67e7fd5267fc89fadf21d88da73c535c82ae6ea0e1c867f7cd5efac244b0fa2
SHA512 (compiler-rt-16.0.1.src.tar.xz) = ca9e076ef47b6298d68d7799896da0fb18148317ddc4b01e26d11b7ee02979bb771e39217611666c771c8177672f951631e5114140c9b3e58fe94e596964a9b9
SHA512 (compiler-rt-16.0.1.src.tar.xz.sig) = c427904cf95515c42ce7cd02b08890cf475ec538a5725ce207a0c330ff131554f9ca32ea08e469433c851760e3c8acc61c83186349b0614ac5f2fe0965161958

6
tests/README.md Normal file
View File

@ -0,0 +1,6 @@
# Gating testplans for compiler-rt
The tests for compiler-rt are in a separate repo: https://src.fedoraproject.org/tests/compiler-rt
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

45
tests/build-gating.fmf Normal file
View File

@ -0,0 +1,45 @@
#
# 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: compiler-rt 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"
when: "collection == llvm-toolset-14.0"
discover:
- name: compiler-rt-tests
how: fmf
url: https://src.fedoraproject.org/tests/compiler-rt.git
ref: main
- name: upstream-llvm-integration-testsuite
how: fmf
url: https://src.fedoraproject.org/tests/llvm.git
ref: main
test: integration-test-suite
execute:
how: tmt
provision:
hardware:
memory: ">= 4 GiB"