Compare commits

...

39 Commits

Author SHA1 Message Date
David Abdurachmanov e131cd69c6
Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-11-07 12:41:52 +02:00
David Abdurachmanov 514c57828a
Merge remote-tracking branch 'up/main' into main-riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-11-07 12:40:31 +02:00
Tulio Magno Quites Machado Filho db9a4bdb91 Update to LLVM 17.0.4 2023-11-01 20:41:22 -03:00
Tulio Magno Quites Machado Filho 8e9cac7e43 Update to LLVM 17.0.3 2023-10-18 09:36:34 -03:00
Tulio Magno Quites Machado Filho 0c86a48b7a Update to LLVM 17.0.2 2023-10-05 09:23:45 -03:00
Tulio Magno Quites Machado Filho 9be9c8c17f Update to LLVM 17.0.1 2023-09-25 10:04:17 -03:00
Tulio Magno Quites Machado Filho 43a7a39a44 Update to LLVM 17.0.0 RC4 2023-09-11 11:43:37 -03:00
Tom Stellard 8dfdb6780c Fix FLOAT16 detection 2023-09-05 09:52:20 -03:00
Tulio Magno Quites Machado Filho ac55f0dda7 Update to LLVM 17.0.0 RC3 2023-08-25 21:53:11 -03:00
Tulio Magno Quites Machado Filho 652197cf49 Update to LLVM 17.0.0 RC2 2023-08-23 13:57:12 -03:00
Tulio Magno Quites Machado Filho 7f94942644 Fix changelog chronological order
rpmlint report errors when the changelog is not in descending
chronological order.
2023-08-23 10:16:18 -03:00
Tom Stellard b383b170ec Fix runtime install path on ppc64le 2023-08-10 10:32:06 -03:00
Tulio Magno Quites Machado Filho d423f98be3 Update to LLVM 17.0.0 RC 1
This is also a squashed merge commit from upstream-snapshot (commit ID
b0d2b4ed0ad18d3e) into rawhide whose most important commits from
upstream-snapshot are:

Konrad Kleine (19):
      Add --without=check option
      Rework compiler-rt
      Rebase 0001-PATCH-compiler-rt-Workaround-libstdc-limitation-wrt..patch patch
      Make download path for snapshot sources-easily adjustable
      Help compiler-rt utilize llvm-cmake subpackage
      Help compiler-rt to find llvm-cmake files
      Adapt to reverted https://reviews.llvm.org/D88458
      Revert "Adapt to reverted https://reviews.llvm.org/D88458"
      Require llvm-cmake-devel package when building
      Adjust the CMAKE_MODULE_PATH instead of patching the source
      Use new llvm_snashot_changelog_entry macro
      Use llvm_snapshot_version_suffix
      Compile with DWARFv4
      Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot
      Tempoarily remove build dependency on cmake-devel and the packaged cmake directory
      Make compiler-rt use the llvm-snapshot-builder
      Use %{llvm_snapshot_extra_source_tags} macro
      Fixup
      Merge remote-tracking branch 'origin/main' into upstream-snapshot

Tom Stellard (9):
      Add a patch to fix standalone buidls with compiler-rt
      Fix typo
      Handle rename of libclang_rt.orc to liborc_rt
      liborc_rt is not built on i386
      liborc_rt is not built on s390x or ppc64le
      Merge branch 'rawhide' of ssh://pkgs.fedoraproject.org/rpms/compiler-rt into upstream-snapshot
      Install llvm-snapshot-builder from the current COPR project
      Try again to enable local copr repo
      Use new per-target runtime install feature

Tulio Magno Quites Machado Filho (1):
      Fix packaging on ppc64le and s390x
2023-08-10 10:32:06 -03:00
Fedora Release Engineering c3a9639f8f Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 16:13:13 +00:00
Tulio Magno Quites Machado Filho e57eb63070 Update to LLVM 16.0.6 2023-07-10 12:13:17 -03:00
Nikita Popov 53c9478c36 Use llvm-cmake-utils package 2023-06-15 16:57:13 +02:00
Tulio Magno Quites Machado Filho 1291dd7b82 Update to LLVM 16.0.5 2023-06-06 12:03:16 -03:00
Tulio Magno Quites Machado Filho 5af9a6c642 Update to LLVM 16.0.4 2023-05-19 18:36:44 -03:00
Tulio Magno Quites Machado Filho 2ed570f50f Update to LLVM 16.0.3 2023-05-10 15:48:33 -03:00
Tulio Magno Quites Machado Filho 891fc43fb3 Update to LLVM 16.0.2 2023-04-27 10:57:45 -03:00
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
11 changed files with 341 additions and 233 deletions

17
.copr/Makefile Normal file
View File

@ -0,0 +1,17 @@
# See https://docs.pagure.org/copr.copr/user_documentation.html#make-srpm
# See for the --setopt option in the enabling of copr repo see:
# https://pagure.io/copr/copr/issue/184
COPR_USERNAME=$(shell rpm --eval %copr_username)
COPR_PROJECT=$(shell rpm --eval %copr_projectname)
.PHONY: srpm
srpm:
dnf install -y dnf-plugins-core fedora-packager
dnf copr enable -y --setopt=reposdir=/tmp/yum.repos.d $(COPR_USERNAME)/$(COPR_PROJECT)
dnf install -y --setopt=reposdir=/tmp/yum.repos.d llvm-snapshot-builder
rpmbuild \
--define "_srcrpmdir $(outdir)" \
--define "_sourcedir $(shell pwd)" \
--define "_disable_source_fetch 0" \
-bs $(spec)

102
.gitignore vendored
View File

@ -1,99 +1,3 @@
/compiler-rt-3.7.1.src.tar.xz
/compiler-rt-3.8.0rc2.src.tar.xz
/compiler-rt-3.8.0rc3.src.tar.xz
/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
/compiler-rt-8.0.0rc1.src.tar.xz
/compiler-rt-8.0.0rc2.src.tar.xz
/compiler-rt-8.0.0rc3.src.tar.xz
/compiler-rt-8.0.0rc4.src.tar.xz
/compiler-rt-8.0.0.src.tar.xz
/compiler-rt-9.0.0rc2.src.tar.xz
/compiler-rt-9.0.0rc3.src.tar.xz
/compiler-rt-9.0.0.src.tar.xz
/compiler-rt-10.0.0rc1.src.tar.xz
/compiler-rt-10.0.0rc1.src.tar.xz.sig
/compiler-rt-10.0.0rc2.src.tar.xz
/compiler-rt-10.0.0rc2.src.tar.xz.sig
/compiler-rt-10.0.0rc3.src.tar.xz
/compiler-rt-10.0.0rc3.src.tar.xz.sig
/compiler-rt-10.0.0rc4.src.tar.xz
/compiler-rt-10.0.0rc4.src.tar.xz.sig
/compiler-rt-10.0.0rc5.src.tar.xz
/compiler-rt-10.0.0rc5.src.tar.xz.sig
/compiler-rt-10.0.0rc6.src.tar.xz
/compiler-rt-10.0.0rc6.src.tar.xz.sig
/compiler-rt-10.0.0.src.tar.xz
/compiler-rt-10.0.0.src.tar.xz.sig
/compiler-rt-11.0.0rc1.src.tar.xz
/compiler-rt-11.0.0rc1.src.tar.xz.sig
/compiler-rt-11.0.0rc2.src.tar.xz
/compiler-rt-11.0.0rc2.src.tar.xz.sig
/compiler-rt-11.0.0rc3.src.tar.xz
/compiler-rt-11.0.0rc3.src.tar.xz.sig
/compiler-rt-11.0.0rc5.src.tar.xz
/compiler-rt-11.0.0rc5.src.tar.xz.sig
/compiler-rt-11.0.0rc6.src.tar.xz
/compiler-rt-11.0.0rc6.src.tar.xz.sig
/compiler-rt-11.0.0.src.tar.xz
/compiler-rt-11.0.0.src.tar.xz.sig
/compiler-rt-11.0.1rc1.src.tar.xz
/compiler-rt-11.0.1rc1.src.tar.xz.sig
/compiler-rt-11.0.1rc2.src.tar.xz
/compiler-rt-11.0.1rc2.src.tar.xz.sig
/compiler-rt-11.0.1.src.tar.xz
/compiler-rt-11.0.1.src.tar.xz.sig
/compiler-rt-11.1.0rc1.src.tar.xz
/compiler-rt-11.1.0rc1.src.tar.xz.sig
/compiler-rt-11.1.0rc2.src.tar.xz
/compiler-rt-11.1.0rc2.src.tar.xz.sig
/compiler-rt-12.0.0rc1.src.tar.xz
/compiler-rt-12.0.0rc1.src.tar.xz.sig
/compiler-rt-12.0.0rc2.src.tar.xz
/compiler-rt-12.0.0rc2.src.tar.xz.sig
/compiler-rt-12.0.0rc3.src.tar.xz
/compiler-rt-12.0.0rc3.src.tar.xz.sig
/compiler-rt-12.0.0rc4.src.tar.xz
/compiler-rt-12.0.0rc4.src.tar.xz.sig
/compiler-rt-12.0.0rc5.src.tar.xz
/compiler-rt-12.0.0rc5.src.tar.xz.sig
/compiler-rt-12.0.0.src.tar.xz
/compiler-rt-12.0.0.src.tar.xz.sig
/compiler-rt-12.0.1rc1.src.tar.xz
/compiler-rt-12.0.1rc1.src.tar.xz.sig
/compiler-rt-12.0.1rc3.src.tar.xz
/compiler-rt-12.0.1rc3.src.tar.xz.sig
/compiler-rt-12.0.1.src.tar.xz
/compiler-rt-12.0.1.src.tar.xz.sig
/compiler-rt-13.0.0rc1.src.tar.xz
/compiler-rt-13.0.0rc1.src.tar.xz.sig
/compiler-rt-13.0.0rc3.src.tar.xz
/compiler-rt-13.0.0rc3.src.tar.xz.sig
/compiler-rt-13.0.0.src.tar.xz
/compiler-rt-13.0.0.src.tar.xz.sig
/compiler-rt-13.0.1rc1.src.tar.xz
/compiler-rt-13.0.1rc1.src.tar.xz.sig
/compiler-rt-13.0.1rc2.src.tar.xz
/compiler-rt-13.0.1rc2.src.tar.xz.sig
/compiler-rt-13.0.1.src.tar.xz
/compiler-rt-13.0.1.src.tar.xz.sig
/compiler-rt-14.0.0.src.tar.xz
/compiler-rt-14.0.0.src.tar.xz.sig
/compiler-rt-14.0.5.src.tar.xz
/compiler-rt-14.0.5.src.tar.xz.sig
/*.tar.xz
/*.tar.xz.sig
/*.src.rpm

View File

@ -1,45 +0,0 @@
From 2517f0b5850c90bb2316234e81672d7c557d4c6d Mon Sep 17 00:00:00 2001
From: David Abdurachmanov <davidlt@rivosinc.com>
Date: Thu, 25 Aug 2022 11:08:09 +0300
Subject: [PATCH] Fix for glibc 2.36
See:
https://github.com/llvm/llvm-project/commit/9cf13067cb5088626ba7ee1ec4c42ec59c7995a0
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
---
.../sanitizer_platform_limits_posix.cpp | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/a/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp b/b/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
index 32b8f47..a29b31a 100644
--- a/a/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
+++ b/b/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
@@ -73,7 +73,9 @@
#include <sys/vt.h>
#include <linux/cdrom.h>
#include <linux/fd.h>
+#if SANITIZER_ANDROID
#include <linux/fs.h>
+#endif
#include <linux/hdreg.h>
#include <linux/input.h>
#include <linux/ioctl.h>
@@ -857,10 +859,10 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
unsigned IOCTL_EVIOCGPROP = IOCTL_NOT_PRESENT;
unsigned IOCTL_EVIOCSKEYCODE_V2 = IOCTL_NOT_PRESENT;
#endif
- unsigned IOCTL_FS_IOC_GETFLAGS = FS_IOC_GETFLAGS;
- unsigned IOCTL_FS_IOC_GETVERSION = FS_IOC_GETVERSION;
- unsigned IOCTL_FS_IOC_SETFLAGS = FS_IOC_SETFLAGS;
- unsigned IOCTL_FS_IOC_SETVERSION = FS_IOC_SETVERSION;
+ unsigned IOCTL_FS_IOC_GETFLAGS = _IOR('f', 1, long);
+ unsigned IOCTL_FS_IOC_GETVERSION = _IOR('v', 1, long);
+ unsigned IOCTL_FS_IOC_SETFLAGS = _IOW('f', 2, long);
+ unsigned IOCTL_FS_IOC_SETVERSION = _IOW('v', 2, long);
unsigned IOCTL_GIO_CMAP = GIO_CMAP;
unsigned IOCTL_GIO_FONT = GIO_FONT;
unsigned IOCTL_GIO_UNIMAP = GIO_UNIMAP;
--
2.35.1

View File

@ -0,0 +1,36 @@
From ce15f52198639e9195b8833ed60dc1a49c293956 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar@redhat.com>
Date: Tue, 29 Aug 2023 15:49:55 -0700
Subject: [PATCH] compiler-rt: Fix FLOAT16 feature detection
CMAKE_TRY_COMPILE_TARGET_TYPE defaults to EXECUTABLE, which causes
any feature detection code snippet without a main function to fail,
so we need to make sure it gets explicitly set to STATIC_LIBRARY.
---
compiler-rt/lib/builtins/CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
index 2fc70522895f..e83a1ecea50b 100644
--- a/compiler-rt/lib/builtins/CMakeLists.txt
+++ b/compiler-rt/lib/builtins/CMakeLists.txt
@@ -5,7 +5,6 @@
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
cmake_minimum_required(VERSION 3.20.0)
- set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
project(CompilerRTBuiltins C ASM)
set(COMPILER_RT_STANDALONE_BUILD TRUE)
set(COMPILER_RT_BUILTINS_STANDALONE_BUILD TRUE)
@@ -50,6 +49,8 @@ if (COMPILER_RT_STANDALONE_BUILD)
ON)
endif()
+set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
+
include(builtin-config-ix)
include(CMakeDependentOption)
include(CMakePushCheckState)
--
2.41.0

View File

@ -1,37 +0,0 @@
commit b18bde7a9bd6ed80f5721c47c805f0158b4fe9f8
Author: Timm Bäder <tbaeder@redhat.com>
Date: Wed Mar 9 07:17:21 2022 +0100
[compiler-rt] Add LLVM cmake package in standalone builds
So the other files from the toplevel cmake/Modules directory have a
chance of being found.
diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt
index 3a41aa43e406..6516e10fa3c5 100644
--- a/compiler-rt/CMakeLists.txt
+++ b/compiler-rt/CMakeLists.txt
@@ -28,6 +28,12 @@ else()
set(CMAKE_CFG_RESOLVED_INTDIR "")
endif()
+if(COMPILER_RT_STANDALONE_BUILD)
+ # Needed to find the other modules from the toplevel cmake/Modules dir
+ find_package(LLVM REQUIRED HINTS "${LLVM_CMAKE_DIR}")
+ list(APPEND CMAKE_MODULE_PATH "${LLVM_DIR}")
+endif()
+
include(SetPlatformToolchainTools)
include(base-config-ix)
include(CompilerRTUtils)
diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt
index 5c2b634e1180..098fb0481517 100644
--- a/compiler-rt/test/CMakeLists.txt
+++ b/compiler-rt/test/CMakeLists.txt
@@ -1,6 +1,3 @@
-# Needed for lit support in standalone builds.
-include(AddLLVM)
-
option(COMPILER_RT_TEST_STANDALONE_BUILD_LIBS
"When set to ON and testing in a standalone build, test the runtime \
libraries built by this standalone build rather than the runtime libraries \

View File

@ -1,5 +1,29 @@
%global compiler_rt_version 14.0.5
#global rc_ver 2
%bcond_with snapshot_build
%if %{with snapshot_build}
# Unlock LLVM Snapshot LUA functions
%{llvm_sb_verbose}
%{llvm_sb}
%endif
%global toolchain clang
# 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 maj_ver 17
%global min_ver 0
%global patch_ver 4
#global rc_ver 4
%if %{with snapshot_build}
%global maj_ver %{llvm_snapshot_version_major}
%global min_ver %{llvm_snapshot_version_minor}
%global patch_ver %{llvm_snapshot_version_patch}
%undefine rc_ver
%endif
%global compiler_rt_version %{maj_ver}.%{min_ver}.%{patch_ver}
%global crt_srcdir compiler-rt-%{compiler_rt_version}%{?rc_ver:rc%{rc_ver}}.src
# see https://sourceware.org/bugzilla/show_bug.cgi?id=25271
@ -9,27 +33,32 @@
%global optflags %(echo %{optflags} -Dasm=__asm__)
Name: compiler-rt
Version: %{compiler_rt_version}%{?rc_ver:~rc%{rc_ver}}
Release: 2.0.riscv64%{?dist}
Version: %{compiler_rt_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
Release: 1.0.riscv64%{?dist}
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
%if %{with snapshot_build}
Source0: %{llvm_snapshot_source_prefix}compiler-rt-%{llvm_snapshot_yyyymmdd}.src.tar.xz
%{llvm_snapshot_extra_source_tags}
%else
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: tstellar-gpg-key.asc
Source2: release-keys.asc
%endif
Patch0: add-llvm-cmake-package.patch
Patch5: 0001-Fix-for-glibc-2.36.patch
Patch0: 0001-compiler-rt-Fix-FLOAT16-feature-detection.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: clang
BuildRequires: cmake
BuildRequires: ninja-build
BuildRequires: python3
# We need python3-devel for %%py3_shebang_fix
BuildRequires: python3-devel
BuildRequires: llvm-devel = %{version}
BuildRequires: llvm-cmake-utils = %{version}
BuildRequires: zlib-devel
# For gpg source verification
BuildRequires: gnupg2
@ -46,13 +75,25 @@ instrumentation, and Blocks C language extension.
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -n %{crt_srcdir} -p2
# compiler-rt does not allow configuring LLVM_COMMON_CMAKE_UTILS.
ln -s %{_datadir}/llvm/cmake ../cmake
%py3_shebang_fix lib/hwasan/scripts/hwasan_symbolize
%build
# Copy CFLAGS into ASMFLAGS, so -fcf-protection is used when compiling assembly files.
export ASMFLAGS=$CFLAGS
%cmake -GNinja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLLVM_CONFIG_PATH:FILEPATH=%{_bindir}/llvm-config-%{__isa_bits} \
-DCMAKE_MODULE_PATH=%{_libdir}/cmake/llvm \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCOMPILER_RT_INSTALL_PATH=%{_prefix}/lib/clang/%{maj_ver} \
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON \
\
%if %{with snapshot_build}
-DLLVM_VERSION_SUFFIX="%{llvm_snapshot_version_suffix}" \
%endif
\
%if 0%{?__isa_bits} == 64
-DLLVM_LIBDIR_SUFFIX=64 \
@ -66,53 +107,131 @@ instrumentation, and Blocks C language extension.
%install
%cmake_install
# move blacklist/abilist files to where clang expect them
mkdir -p %{buildroot}%{_libdir}/clang/%{compiler_rt_version}/share
mv -v %{buildroot}%{_datadir}/*list.txt %{buildroot}%{_libdir}/clang/%{compiler_rt_version}/share/
# move sanitizer libs to better place
%global libclang_rt_installdir lib/linux
mkdir -p %{buildroot}%{_libdir}/clang/%{compiler_rt_version}/lib
mv -v %{buildroot}%{_prefix}/%{libclang_rt_installdir}/*clang_rt* %{buildroot}%{_libdir}/clang/%{compiler_rt_version}/lib
mkdir -p %{buildroot}%{_libdir}/clang/%{compiler_rt_version}/lib/linux/
pushd %{buildroot}%{_libdir}/clang/%{compiler_rt_version}/lib
for i in *.a *.so
do
ln -s ../$i linux/$i
done
# multilib support: also create symlink from lib to lib64, fixes rhbz#1678240
# the symlinks will be dangling if the 32 bits version is not installed, but that should be fine
%ifarch x86_64
mkdir -p %{buildroot}/%{_exec_prefix}/lib/clang/%{compiler_rt_version}/lib/linux
for i in *.a *.so
do
target=`echo "$i" | sed -e 's/x86_64/i386/'`
ln -s ../../../../../lib/clang/%{compiler_rt_version}/lib/$target ../../../../%{_lib}/clang/%{compiler_rt_version}/lib/linux/
done
%ifarch ppc64le
# Fix install path on ppc64le so that the directory name matches the triple used
# by clang.
mv %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/lib/powerpc64le-redhat-linux-gnu %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/lib/ppc64le-redhat-linux-gnu
%endif
popd
%check
#%%cmake_build --target check-compiler-rt
%files
%license LICENSE.TXT
%{_includedir}/*
%{_libdir}/clang/%{compiler_rt_version}/lib/*
%{_libdir}/clang/%{compiler_rt_version}/share/*
%ifarch x86_64 aarch64
%{_bindir}/hwasan_symbolize
%ifarch x86_64 aarch64 riscv64
%{_prefix}/lib/clang/%{maj_ver}/bin/*
%endif
%{_prefix}/lib/clang/%{maj_ver}/include/*
%{_prefix}/lib/clang/%{maj_ver}/lib/*
%{_prefix}/lib/clang/%{maj_ver}/share/*
#%ifarch x86_64 aarch64
#{_bindir}/hwasan_symbolize
#%endif
%changelog
* Thu Aug 25 2022 David Abdurachmanov <davidlt@rivosinc.com> - 14.0.5-2.0.riscv64
- Fix build on glibc 2.36
%{?llvm_snapshot_changelog_entry}
* Tue Nov 07 2023 David Abdurachmanov <davidlt@rivosinc.com> - 17.0.4-1.0.riscv64
- Add support for riscv64
* Wed Nov 01 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.4-1
- Update to LLVM 17.0.4
* Wed Oct 18 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.3-1
- Update to LLVM 17.0.3
* Thu Oct 05 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.2-1
- Update to LLVM 17.0.2
* Mon Sep 25 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.1-1
- Update to LLVM 17.0.1
* Mon Sep 11 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc4-1
- Update to LLVM 17.0.0 RC4
* Tue Aug 29 2023 Tom Stellard <tstellar@redhat.com> - 17.0.0~rc3-2
- Fix FLOAT16 detection
* Fri Aug 25 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc3-1
- Update to LLVM 17.0.0 RC3
* Wed Aug 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc2-1
- Update to LLVM 17.0.0 RC2
* Thu Aug 03 2023 Tom Stellard <tstellar@redhat.com> - 17.0.0~rc1-2
- Fix for ppc64le
* Thu Aug 03 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc1-1
- Update to LLVM 17.0.0 RC1
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 10 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.6-1
- Update to LLVM 16.0.6
* Thu Jun 15 2023 Nikita Popov <npopov@redhat.com> - 16.0.5-2
- Use llvm-cmake-utils package
* Tue Jun 06 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.5-1
- Update to LLVM 16.0.5
* Fri May 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.4-1
- Update to LLVM 16.0.4
* Wed May 10 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.3-1
- Update to LLVM 16.0.3
* Thu Apr 27 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.2-1
- Update to LLVM 16.0.2
* Thu Apr 13 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-1
- 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

104
release-keys.asc Normal file
View File

@ -0,0 +1,104 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGLtemUBDADClvDIromq0Y4TX+wyRyYCq5WusPQheQuY8dVCXd9KhMpYAv8U
X15E5boH/quGpJ0ZlVkWcf+1WUHIrQW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8A7PaIQARAQABiQIlBBgBAgAPBQJa6oE9AhsMBQkB4TOAAAoJEKLHlKmG
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-----

View File

@ -1,2 +1,2 @@
SHA512 (compiler-rt-14.0.5.src.tar.xz) = e63792751013e144cec56f8e5f90ebf9cdf16a4dfac39bf21e12b2c3bfb83204fe4c470f9c45e03cebfe2c6b25d7f1e1dc7c93e736d17f678011f5e5321e9d40
SHA512 (compiler-rt-14.0.5.src.tar.xz.sig) = 0c8cd60736d69fc2217fc08e823f07cbe1ff73a391b40b1ce1b77a6f9cf123f50a66ab13c213d3a381affaa272392de6cce8bbb3a0268824e2617b5b91dca36c
SHA512 (compiler-rt-17.0.4.src.tar.xz) = 050ee856edc28f5cdcd28bb74de6cda4287cdac15a4c053f12be529c2293f88ef03abb954d956a1f77fe17fe57121e1daea8d5c2de3ae86904a8cefe369b0bda
SHA512 (compiler-rt-17.0.4.src.tar.xz.sig) = d76e7e0e19b543224a8fd132c86d2e6f8e2e81fd697cdb170fcc20ca89d453f9aff14d365577372c4dc54a54e7760ebdf638dade2bd45088624e5c538f103444

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

View File

@ -29,10 +29,14 @@ adjust:
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/rpms/llvm.git
ref: rawhide
url: https://src.fedoraproject.org/tests/llvm.git
ref: main
test: integration-test-suite
execute:
how: tmt

Binary file not shown.