2024-10-02 11:03:59 +00:00
|
|
|
#region globals
|
|
|
|
#region version
|
2024-08-28 11:21:20 +00:00
|
|
|
%global maj_ver 19
|
2024-02-02 02:19:34 +00:00
|
|
|
%global min_ver 1
|
2024-11-05 15:30:06 +00:00
|
|
|
%global patch_ver 3
|
2024-09-19 05:50:05 +00:00
|
|
|
#global rc_ver 4
|
2023-08-09 14:47:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
%bcond_with snapshot_build
|
2023-08-09 14:47:38 +00:00
|
|
|
%if %{with snapshot_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
%include %{_sourcedir}/version.spec.inc
|
2023-08-09 14:47:38 +00:00
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion version
|
2023-08-09 14:47:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# Components enabled if supported by target architecture:
|
2018-08-28 05:46:20 +00:00
|
|
|
%define gold_arches %{ix86} x86_64 aarch64 %{power64} s390x
|
|
|
|
%ifarch %{gold_arches}
|
2024-08-28 11:21:20 +00:00
|
|
|
%bcond_without gold
|
|
|
|
%else
|
|
|
|
%bcond_with gold
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
# Build compat packages llvmN instead of main package for the current LLVM
|
2023-11-10 21:58:54 +00:00
|
|
|
# version. Used on Fedora.
|
2024-08-28 11:21:20 +00:00
|
|
|
%bcond_with compat_build
|
2016-01-27 15:23:13 +00:00
|
|
|
# Bundle compat libraries for a previous LLVM version, as part of llvm-libs and
|
2024-08-28 11:21:20 +00:00
|
|
|
# clang-libs. Used on RHEL.
|
|
|
|
%bcond_with bundle_compat_lib
|
|
|
|
%bcond_without check
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if %{with bundle_compat_lib}
|
|
|
|
%global compat_maj_ver 18
|
|
|
|
%global compat_ver %{compat_maj_ver}.1.8
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# Compat builds do not include python-lit and lldb
|
2024-07-22 08:24:04 +00:00
|
|
|
%if %{with compat_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
%bcond_with python_lit
|
|
|
|
%bcond_with lldb
|
2024-10-02 10:07:38 +00:00
|
|
|
%else
|
2024-08-28 11:21:20 +00:00
|
|
|
%bcond_without python_lit
|
|
|
|
%bcond_without lldb
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# Disable LTO on x86 and riscv in order to reduce memory consumption.
|
2018-08-28 05:46:20 +00:00
|
|
|
%ifarch %ix86 riscv64
|
2024-08-28 11:21:20 +00:00
|
|
|
%bcond_with lto_build
|
2024-10-02 10:07:38 +00:00
|
|
|
%else
|
2024-08-28 11:21:20 +00:00
|
|
|
%bcond_without lto_build
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if %{without lto_build}
|
2024-07-02 21:15:43 +00:00
|
|
|
%global _lto_cflags %nil
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
# We are building with clang for faster/lower memory LTO builds.
|
2024-07-02 21:15:43 +00:00
|
|
|
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_macros
|
2024-10-02 10:07:38 +00:00
|
|
|
%global toolchain clang
|
|
|
|
|
2024-11-07 10:20:13 +00:00
|
|
|
|
|
|
|
%if %{defined rhel} && 0%{?rhel} < 10
|
|
|
|
%global gts_version 14
|
|
|
|
%endif
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587
|
2016-01-27 15:23:13 +00:00
|
|
|
%undefine _include_frame_pointers
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# Suffixless tarball name (essentially: basename -s .tar.xz llvm-project-17.0.6.src.tar.xz)
|
2024-07-22 08:24:04 +00:00
|
|
|
%if %{with snapshot_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
%global src_tarball_dir llvm-project-%{llvm_snapshot_git_revision}
|
2024-10-02 10:07:38 +00:00
|
|
|
%else
|
2024-08-28 11:21:20 +00:00
|
|
|
%global src_tarball_dir llvm-project-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}.src
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region LLVM globals
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
%if %{with compat_build}
|
2024-05-08 11:04:38 +00:00
|
|
|
%global pkg_name_llvm llvm%{maj_ver}
|
|
|
|
%global pkg_suffix %{maj_ver}
|
|
|
|
%global exec_suffix -%{maj_ver}
|
|
|
|
%global install_prefix %{_libdir}/%{pkg_name_llvm}
|
|
|
|
%global install_bindir %{install_prefix}/bin
|
|
|
|
%global install_includedir %{install_prefix}/include
|
|
|
|
%global install_libdir %{install_prefix}/lib
|
|
|
|
%global install_datadir %{install_prefix}/share
|
|
|
|
%global install_libexecdir %{install_prefix}/libexec
|
|
|
|
%global install_docdir %{install_datadir}/doc
|
2024-07-02 21:15:43 +00:00
|
|
|
%global unprefixed_libdir lib
|
2024-07-22 08:24:04 +00:00
|
|
|
%global build_libdir llvm/%{_vpath_builddir}/lib
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%global pkg_includedir %{_includedir}/%{pkg_name_llvm}
|
2024-05-08 11:04:38 +00:00
|
|
|
%global pkg_datadir %{install_prefix}/share
|
2024-10-02 10:07:38 +00:00
|
|
|
%else
|
2024-08-28 11:21:20 +00:00
|
|
|
%global pkg_name_llvm llvm
|
|
|
|
%global install_prefix /usr
|
2024-05-08 11:04:38 +00:00
|
|
|
%global install_bindir %{_bindir}
|
|
|
|
%global install_datadir %{_datadir}
|
|
|
|
%global install_libdir %{_libdir}
|
|
|
|
%global install_includedir %{_includedir}
|
|
|
|
%global install_libexecdir %{_libexecdir}
|
|
|
|
%global install_docdir %{_docdir}
|
2024-07-02 21:15:43 +00:00
|
|
|
%global unprefixed_libdir %{_lib}
|
|
|
|
%global build_libdir llvm/%{_vpath_builddir}/%{_lib}
|
2024-05-08 11:04:38 +00:00
|
|
|
%global pkg_datadir %{_datadir}
|
2024-07-02 21:15:43 +00:00
|
|
|
%global pkg_suffix %{nil}
|
2024-05-08 11:04:38 +00:00
|
|
|
%global exec_suffix %{nil}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if 0%{?rhel}
|
2024-07-22 08:24:04 +00:00
|
|
|
%global targets_to_build "X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;ARM;Mips;BPF;WebAssembly"
|
2024-08-28 11:21:20 +00:00
|
|
|
%global experimental_targets_to_build ""
|
2024-10-02 10:07:38 +00:00
|
|
|
%else
|
2024-07-02 21:15:43 +00:00
|
|
|
%global targets_to_build "all"
|
|
|
|
%global experimental_targets_to_build "AVR"
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
%global build_install_prefix %{buildroot}%{install_prefix}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# Lower memory usage of dwz on s390x
|
2024-07-02 21:15:43 +00:00
|
|
|
%global _dwz_low_mem_die_limit_s390x 1
|
|
|
|
%global _dwz_max_die_limit_s390x 1000000
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
%global llvm_triple %{_target_platform}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# https://fedoraproject.org/wiki/Changes/PythonSafePath#Opting_out
|
2024-08-28 11:21:20 +00:00
|
|
|
# Don't add -P to Python shebangs
|
|
|
|
# The executable Python scripts in /usr/share/opt-viewer/ import each other
|
2021-09-23 12:47:00 +00:00
|
|
|
%undefine _py3_shebang_P
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLVM globals
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region CLANG globals
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
%global pkg_name_clang clang%{pkg_suffix}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion CLANG globals
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region COMPILER-RT globals
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
%global pkg_name_compiler_rt compiler-rt%{pkg_suffix}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
# TODO(kkleine): do these optflags hurt llvm and/or clang?
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# see https://sourceware.org/bugzilla/show_bug.cgi?id=25271
|
2024-07-02 21:15:43 +00:00
|
|
|
%global optflags %(echo %{optflags} -D_DEFAULT_SOURCE)
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93615
|
2024-05-08 11:04:38 +00:00
|
|
|
%global optflags %(echo %{optflags} -Dasm=__asm__)
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
# Copy CFLAGS into ASMFLAGS, so -fcf-protection is used when compiling assembly files.
|
2024-10-02 10:07:38 +00:00
|
|
|
# export ASMFLAGS=$CFLAGS
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion COMPILER-RT globals
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#region LLD globals
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
%global pkg_name_libomp libomp%{pkg_suffix}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-24 17:14:14 +00:00
|
|
|
%global so_suffix %{maj_ver}.%{min_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
%if %{with snapshot_build}
|
2023-11-24 17:14:14 +00:00
|
|
|
%global so_suffix %{maj_ver}.%{min_ver}%{llvm_snapshot_version_suffix}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-14 10:15:15 +00:00
|
|
|
%ifarch ppc64le
|
2024-07-02 21:15:43 +00:00
|
|
|
%global libomp_arch ppc64
|
2024-10-02 10:07:38 +00:00
|
|
|
%else
|
2024-07-02 21:15:43 +00:00
|
|
|
%global libomp_arch %{_arch}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLD globals
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region LLD globals
|
2024-08-28 11:21:20 +00:00
|
|
|
%global pkg_name_lld lld%{pkg_suffix}
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLD globals
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region LLDB globals
|
2024-08-28 11:21:20 +00:00
|
|
|
%global pkg_name_lldb lldb
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLDB globals
|
|
|
|
#endregion globals
|
2022-07-19 10:49:30 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#region packages
|
|
|
|
#region main package
|
2024-08-28 11:21:20 +00:00
|
|
|
Name: %{pkg_name_llvm}
|
2023-11-24 17:14:14 +00:00
|
|
|
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
|
2024-11-05 15:30:06 +00:00
|
|
|
Release: 1%{?dist}
|
2016-01-27 15:23:13 +00:00
|
|
|
Summary: The Low Level Virtual Machine
|
2013-03-08 10:41:56 +00:00
|
|
|
|
2023-01-19 19:45:58 +00:00
|
|
|
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
2016-01-27 15:23:13 +00:00
|
|
|
URL: http://llvm.org
|
2023-08-14 21:40:54 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
%if %{with snapshot_build}
|
|
|
|
Source0: https://github.com/llvm/llvm-project/archive/%{llvm_snapshot_git_revision}.tar.gz
|
|
|
|
%else
|
|
|
|
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{src_tarball_dir}.tar.xz
|
|
|
|
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{src_tarball_dir}.tar.xz.sig
|
|
|
|
%endif
|
2024-08-28 11:21:20 +00:00
|
|
|
Source6: release-keys.asc
|
2022-11-17 09:10:57 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
%if %{without compat_build}
|
|
|
|
Source2005: macros.%{pkg_name_clang}
|
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if %{with bundle_compat_lib}
|
|
|
|
Source3000: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compat_ver}/llvm-project-%{compat_ver}.src.tar.xz
|
|
|
|
Source3001: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compat_ver}/llvm-project-%{compat_ver}.src.tar.xz.sig
|
|
|
|
%endif
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
# Sources we use to split up the main spec file in sections so that we can more
|
|
|
|
# easily see what specfile sections are touched by a patch.
|
|
|
|
%if %{with snapshot_build}
|
|
|
|
Source1000: version.spec.inc
|
|
|
|
%endif
|
|
|
|
|
2024-10-30 10:28:03 +00:00
|
|
|
# We've established the habit of numbering patches the following way:
|
|
|
|
#
|
|
|
|
# 0-499: All patches that are unconditionally applied
|
|
|
|
# 500-1000: Patches applied under certain conditions (e.g. only on RHEL8)
|
|
|
|
# 1500-1599: Patches for LLVM 15
|
|
|
|
# 1600-1699: Patches for LLVM 16
|
|
|
|
# 1700-1799: Patches for LLVM 17
|
|
|
|
# ...
|
|
|
|
# 2000-2099: Patches for LLVM 20
|
|
|
|
#
|
|
|
|
# The idea behind this is that the last range of patch numbers (e.g. 2000-2099) allow
|
|
|
|
# us to "deprecate" a patch instead of deleting it right away.
|
|
|
|
# Suppose llvm upstream in git is at version 20 and there's a patch living
|
|
|
|
# in some PR that has not been merged yet. You can copy that patch and put it
|
|
|
|
# in a line like:
|
|
|
|
#
|
|
|
|
# Patch2011: upstream.patch
|
|
|
|
#
|
|
|
|
# As time goes by, llvm moves on to LLVM 21 and meanwhile the patch has landed.
|
|
|
|
# There's no need for you to remove the "Patch2011:" line. In fact, we encourage you
|
|
|
|
# to not remove it for some time. For compat libraries and compat packages we might
|
|
|
|
# still need this patch and so we're applying it automatically for you in those
|
|
|
|
# situations. Remember that a compat library is always at least one major version
|
|
|
|
# behind the latest packaged LLVM version.
|
|
|
|
|
2024-10-10 13:23:07 +00:00
|
|
|
#region OpenMP patches
|
2024-10-30 10:28:03 +00:00
|
|
|
Patch1900: 0001-openmp-Add-option-to-disable-tsan-tests-111548.patch
|
|
|
|
Patch1901: 0001-openmp-Use-core_siblings_list-if-physical_package_id.patch
|
2024-10-10 13:23:07 +00:00
|
|
|
#endregion OpenMP patches
|
2024-10-08 10:52:18 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region CLANG patches
|
2024-10-30 10:28:03 +00:00
|
|
|
Patch101: 0001-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch
|
|
|
|
Patch102: 0003-PATCH-clang-Don-t-install-static-libraries.patch
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion CLANG patches
|
2024-07-22 08:24:04 +00:00
|
|
|
|
|
|
|
# Workaround a bug in ORC on ppc64le.
|
|
|
|
# More info is available here: https://reviews.llvm.org/D159115#4641826
|
2024-10-30 10:28:03 +00:00
|
|
|
Patch103: 0001-Workaround-a-bug-in-ORC-on-ppc64le.patch
|
2024-07-22 08:24:04 +00:00
|
|
|
|
2024-11-07 10:20:13 +00:00
|
|
|
# With the introduction of --gcc-include-dir in the clang config file,
|
|
|
|
# this might no longer be needed.
|
|
|
|
Patch104: 0001-Driver-Give-devtoolset-path-precedence-over-Installe.patch
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region LLD patches
|
2024-10-30 10:28:03 +00:00
|
|
|
Patch1800: 0001-18-Always-build-shared-libs-for-LLD.patch
|
|
|
|
Patch1902: 0001-19-Always-build-shared-libs-for-LLD.patch
|
|
|
|
Patch2000: 0001-19-Always-build-shared-libs-for-LLD.patch
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLD patches
|
2024-07-22 08:24:04 +00:00
|
|
|
|
|
|
|
#region RHEL patches
|
|
|
|
# All RHEL
|
2024-09-11 08:08:23 +00:00
|
|
|
%if %{maj_ver} >= 20
|
2024-10-30 10:28:03 +00:00
|
|
|
Patch500: 0001-20-Remove-myst_parser-dependency-for-RHEL.patch
|
2024-09-11 08:08:23 +00:00
|
|
|
%else
|
2024-10-30 10:28:03 +00:00
|
|
|
Patch500: 0001-19-Remove-myst_parser-dependency-for-RHEL.patch
|
2024-09-11 08:08:23 +00:00
|
|
|
%endif
|
2024-08-28 11:21:20 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
# RHEL 8 only
|
2024-10-30 10:28:03 +00:00
|
|
|
Patch501: 0001-Fix-page-size-constant-on-aarch64-and-ppc64le.patch
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion RHEL patches
|
2023-10-12 09:15:14 +00:00
|
|
|
|
2024-11-07 10:20:13 +00:00
|
|
|
# Backport with modifications from
|
|
|
|
# https://github.com/llvm/llvm-project/pull/99273
|
|
|
|
# Fixes RHEL-49517.
|
|
|
|
Patch1801: 18-99273.patch
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if 0%{?rhel} == 8
|
|
|
|
%global python3_pkgversion 3.12
|
|
|
|
%global __python3 /usr/bin/python3.12
|
|
|
|
%endif
|
|
|
|
|
2024-11-07 10:20:13 +00:00
|
|
|
%if %{defined gts_version}
|
|
|
|
# Required for 64-bit atomics on i686.
|
|
|
|
BuildRequires: gcc-toolset-%{gts_version}-libatomic-devel
|
|
|
|
%endif
|
2018-12-04 15:10:41 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
2021-04-23 21:10:27 +00:00
|
|
|
BuildRequires: clang
|
2016-01-27 15:23:13 +00:00
|
|
|
BuildRequires: cmake
|
Only disable rpath during installation
We currently disable rpath during both build and install. Instead,
we use LD_LIBRARY_PATH to allow the built clang to find the
libLLVM.so etc objects.
However, this does not work well if the system clang and the
clang being built have the same version. During the build, we
use both the system clang and the just-built clang, and they
need to use the system and just-built shared objects respectively.
However, use of LD_LIBRARY_PATH causes us to always use the
just-built objects as long as the versions match.
This is a problem in two scenarios: When building compat packages
for the current system LLVM version, we mix system clang with
compat libraries, which assume different paths. And when building
release candidates, a build using a previous rc of a newer rc
may use ABI-incompatible objects, because we don't version sonames
on rc versions.
Fix this by keeping the rpath during the build and only stripping
it on installation using the CMAKE_SKIP_INSTALL_RPATH option.
For manually installed binaries, we need to also manually strip
the rpath using chrpath.
This way system clang will use system libraries, and just-built
clang will use just-built libraries.
2024-10-08 09:49:43 +00:00
|
|
|
BuildRequires: chrpath
|
2018-03-08 23:40:31 +00:00
|
|
|
BuildRequires: ninja-build
|
2016-01-27 15:23:13 +00:00
|
|
|
BuildRequires: zlib-devel
|
2018-12-04 15:10:41 +00:00
|
|
|
BuildRequires: libffi-devel
|
2016-06-07 09:36:38 +00:00
|
|
|
BuildRequires: ncurses-devel
|
2024-08-28 11:21:20 +00:00
|
|
|
# This intentionally does not use python3_pkgversion. RHEL 8 does not have
|
|
|
|
# python3.12-sphinx, and we are only using it as a binary anyway.
|
2016-01-27 15:23:13 +00:00
|
|
|
BuildRequires: python3-sphinx
|
2024-08-28 11:21:20 +00:00
|
|
|
%if 0%{?rhel} != 8
|
|
|
|
# RHEL 8 does not have these packages for python3.12. However, they are only
|
|
|
|
# needed for LLDB tests.
|
|
|
|
BuildRequires: python%{python3_pkgversion}-psutil
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pexpect
|
|
|
|
%endif
|
2023-05-22 15:57:51 +00:00
|
|
|
%if %{undefined rhel}
|
2024-08-28 11:21:20 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-myst-parser
|
2023-05-22 15:57:51 +00:00
|
|
|
%endif
|
2023-10-12 09:15:14 +00:00
|
|
|
# Needed for %%multilib_fix_c_header
|
2017-04-03 19:24:44 +00:00
|
|
|
BuildRequires: multilib-rpm-config
|
2012-02-24 09:59:11 +00:00
|
|
|
%if %{with gold}
|
2018-12-04 15:10:41 +00:00
|
|
|
BuildRequires: binutils-devel
|
2024-11-11 13:31:41 +00:00
|
|
|
%if %{undefined rhel} || 0%{?rhel} > 8
|
2024-11-07 13:55:49 +00:00
|
|
|
BuildRequires: binutils-gold
|
2012-02-24 09:59:11 +00:00
|
|
|
%endif
|
2024-11-11 13:31:41 +00:00
|
|
|
%endif
|
2018-08-28 05:46:20 +00:00
|
|
|
%ifarch %{valgrind_arches}
|
2017-08-25 13:40:02 +00:00
|
|
|
# Enable extra functionality when run the LLVM JIT under valgrind.
|
2018-12-04 15:10:41 +00:00
|
|
|
BuildRequires: valgrind-devel
|
2018-08-28 05:46:20 +00:00
|
|
|
%endif
|
2017-09-08 23:45:30 +00:00
|
|
|
# LLVM's LineEditor library will use libedit if it is available.
|
2018-12-04 15:10:41 +00:00
|
|
|
BuildRequires: libedit-devel
|
2021-09-23 12:47:00 +00:00
|
|
|
# We need python3-devel for %%py3_shebang_fix
|
2024-08-28 11:21:20 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
%if 0%{?rhel} == 8
|
|
|
|
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
|
|
%endif
|
2008-01-21 17:33:11 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# For gpg source verification
|
2020-07-13 12:27:26 +00:00
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
BuildRequires: swig
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
|
|
|
# For clang-offload-packager
|
|
|
|
BuildRequires: elfutils-libelf-devel
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-Data-Dumper
|
|
|
|
BuildRequires: perl-Encode
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
# According to https://fedoraproject.org/wiki/Packaging:Emacs a package
|
|
|
|
# should BuildRequires: emacs if it packages emacs integration files.
|
|
|
|
BuildRequires: emacs
|
|
|
|
|
|
|
|
BuildRequires: libatomic
|
|
|
|
|
|
|
|
# scan-build uses these perl modules so they need to be installed in order
|
|
|
|
# to run the tests.
|
|
|
|
BuildRequires: perl(Digest::MD5)
|
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
BuildRequires: perl(Hash::Util)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Term::ANSIColor)
|
|
|
|
BuildRequires: perl(Text::ParseWords)
|
|
|
|
BuildRequires: perl(Sys::Hostname)
|
|
|
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
2024-07-05 19:19:24 +00:00
|
|
|
# This is required because we need "ps" when running LLDB tests
|
|
|
|
BuildRequires: procps-ng
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# For reproducible pyc file generation
|
|
|
|
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
|
2024-07-16 10:29:26 +00:00
|
|
|
# Since Fedora 41 this happens automatically, and RHEL 8 does not support this.
|
|
|
|
%if (%{defined fedora} && 0%{?fedora} < 41) || 0%{?rhel} == 9 || 0%{?rhel} == 10
|
2024-07-02 21:15:43 +00:00
|
|
|
BuildRequires: /usr/bin/marshalparser
|
|
|
|
%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib}
|
|
|
|
%endif
|
|
|
|
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_llvm}-libs%{?_isa} = %{version}-%{release}
|
2008-01-21 17:33:11 +00:00
|
|
|
|
2019-07-18 03:50:40 +00:00
|
|
|
Provides: llvm(major) = %{maj_ver}
|
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
%description
|
|
|
|
LLVM is a compiler infrastructure designed for compile-time, link-time,
|
|
|
|
runtime, and idle-time optimization of programs from arbitrary programming
|
|
|
|
languages. The compiler infrastructure includes mirror sets of programming
|
|
|
|
tools as well as libraries with equivalent functionality.
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion main package
|
2008-01-21 17:33:11 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
#region LLVM lit package
|
2024-08-28 11:21:20 +00:00
|
|
|
%if %{with python_lit}
|
|
|
|
%package -n python%{python3_pkgversion}-lit
|
|
|
|
Summary: LLVM lit test runner for Python 3
|
2024-07-04 20:29:05 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
Requires: python%{python3_pkgversion}-setuptools
|
|
|
|
%if 0%{?rhel} == 8
|
|
|
|
# Became python3.12-clang in LLVM 19
|
|
|
|
Obsoletes: python3-lit < 18.9
|
|
|
|
%else
|
|
|
|
# This optional dependency is not available for python3.12 on RHEL 8.
|
|
|
|
Recommends: python%{python3_pkgversion}-psutil
|
|
|
|
%endif
|
2018-08-30 21:47:59 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n python%{python3_pkgversion}-lit
|
|
|
|
lit is a tool used by the LLVM project for executing its test suites.
|
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLVM lit package
|
2008-01-21 17:33:11 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
#region LLVM packages
|
2022-11-09 18:22:27 +00:00
|
|
|
|
2011-08-01 16:50:42 +00:00
|
|
|
%package -n %{pkg_name_llvm}-devel
|
|
|
|
Summary: Libraries and header files for LLVM
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_llvm}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{pkg_name_llvm}-libs%{?_isa} = %{version}-%{release}
|
2024-07-02 21:15:43 +00:00
|
|
|
# The installed LLVM cmake files will add -ledit to the linker flags for any
|
2023-10-12 09:15:14 +00:00
|
|
|
# app that requires the libLLVMLineEditor, so we need to make sure
|
2017-09-08 23:45:30 +00:00
|
|
|
# libedit-devel is available.
|
2018-12-04 15:10:41 +00:00
|
|
|
Requires: libedit-devel
|
2024-07-02 21:15:43 +00:00
|
|
|
Requires: libzstd-devel
|
2023-10-12 09:15:14 +00:00
|
|
|
# The installed cmake files reference binaries from llvm-test, llvm-static, and
|
|
|
|
# llvm-gtest. 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: %{pkg_name_llvm}-static%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{pkg_name_llvm}-test%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{pkg_name_llvm}-googletest%{?_isa} = %{version}-%{release}
|
2011-12-05 22:44:54 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
Requires(post): %{_sbindir}/alternatives
|
|
|
|
Requires(postun): %{_sbindir}/alternatives
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2019-07-18 03:50:40 +00:00
|
|
|
Provides: llvm-devel(major) = %{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_llvm}-devel
|
|
|
|
This package contains library and header files needed to develop new native
|
|
|
|
programs that use the LLVM infrastructure.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_llvm}-doc
|
2016-01-27 15:23:13 +00:00
|
|
|
Summary: Documentation for LLVM
|
2024-08-28 11:21:20 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
Requires: %{pkg_name_llvm} = %{version}-%{release}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_llvm}-doc
|
|
|
|
Documentation for the LLVM compiler infrastructure.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_llvm}-libs
|
2016-01-27 15:23:13 +00:00
|
|
|
Summary: LLVM shared libraries
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_llvm}-libs
|
2016-01-27 15:23:13 +00:00
|
|
|
Shared libraries for the LLVM compiler infrastructure.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_llvm}-static
|
2024-07-22 08:24:04 +00:00
|
|
|
Summary: LLVM static libraries
|
2024-08-28 11:21:20 +00:00
|
|
|
Conflicts: %{pkg_name_llvm}-devel < 8
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2019-07-18 03:50:40 +00:00
|
|
|
Provides: llvm-static(major) = %{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_llvm}-static
|
|
|
|
Static libraries for the LLVM compiler infrastructure.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_llvm}-cmake-utils
|
2016-01-27 15:23:13 +00:00
|
|
|
Summary: CMake utilities shared across LLVM subprojects
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_llvm}-cmake-utils
|
2016-01-27 15:23:13 +00:00
|
|
|
CMake utilities shared across LLVM subprojects.
|
2024-05-16 16:43:43 +00:00
|
|
|
This is for internal use by LLVM packages only.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_llvm}-test
|
2024-07-02 21:15:43 +00:00
|
|
|
Summary: LLVM regression tests
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_llvm}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{pkg_name_llvm}-libs%{?_isa} = %{version}-%{release}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2019-07-18 03:50:40 +00:00
|
|
|
Provides: llvm-test(major) = %{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_llvm}-test
|
2024-07-02 21:15:43 +00:00
|
|
|
LLVM regression tests.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_llvm}-googletest
|
|
|
|
Summary: LLVM's modified googletest sources
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_llvm}-googletest
|
2024-05-16 16:43:43 +00:00
|
|
|
LLVM's modified googletest sources.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if %{with snapshot_build}
|
|
|
|
%package -n %{pkg_name_llvm}-build-stats
|
2024-07-16 10:29:26 +00:00
|
|
|
Summary: Statistics for the RPM build
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_llvm}-build-stats
|
2024-07-02 21:15:43 +00:00
|
|
|
Statistics for the RPM build. Only available in snapshot builds.
|
2021-07-13 20:14:17 +00:00
|
|
|
%endif
|
2024-08-28 11:21:20 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLVM packages
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region CLANG packages
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
%package -n %{pkg_name_clang}
|
2016-01-27 15:23:13 +00:00
|
|
|
Summary: A C language family front-end for LLVM
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_clang}-libs%{?_isa} = %{version}-%{release}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-05 19:19:24 +00:00
|
|
|
# clang requires gcc, clang++ requires libstdc++-devel
|
2024-07-02 21:15:43 +00:00
|
|
|
# - https://bugzilla.redhat.com/show_bug.cgi?id=1021645
|
|
|
|
# - https://bugzilla.redhat.com/show_bug.cgi?id=1158594
|
|
|
|
Requires: libstdc++-devel
|
2018-12-04 15:10:41 +00:00
|
|
|
Requires: gcc-c++
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2019-07-18 03:50:40 +00:00
|
|
|
Provides: clang(major) = %{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
Conflicts: compiler-rt < 11.0.0
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_clang}
|
2024-10-02 10:07:38 +00:00
|
|
|
clang: noun
|
2024-07-16 10:29:26 +00:00
|
|
|
1. A loud, resonant, metallic sound.
|
2024-08-28 11:21:20 +00:00
|
|
|
2. The strident call of a crane or goose.
|
2016-01-27 15:23:13 +00:00
|
|
|
3. C-language family front-end toolkit.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
The goal of the Clang project is to create a new C, C++, Objective C
|
2016-01-27 15:23:13 +00:00
|
|
|
and Objective C++ front-end for the LLVM compiler. Its tools are built
|
|
|
|
as libraries and designed to be loosely-coupled and extensible.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
Install compiler-rt if you want the Blocks C language extension or to
|
|
|
|
enable sanitization and profiling options when building, and
|
2024-05-16 16:43:43 +00:00
|
|
|
libomp-devel to enable -fopenmp.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_clang}-libs
|
2016-01-27 15:23:13 +00:00
|
|
|
Summary: Runtime library for clang
|
2024-10-14 08:42:34 +00:00
|
|
|
Requires: %{pkg_name_clang}-resource-filesystem%{?_isa} = %{version}-%{release}
|
2024-11-07 10:20:13 +00:00
|
|
|
%if %{defined gts_version}
|
|
|
|
Requires: gcc-toolset-%{gts_version}-gcc-c++
|
|
|
|
%endif
|
2024-10-14 08:42:34 +00:00
|
|
|
Recommends: %{pkg_name_compiler_rt}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{pkg_name_llvm}-libs = %{version}-%{release}
|
2024-08-28 11:21:20 +00:00
|
|
|
# atomic support is not part of compiler-rt
|
2023-10-12 09:15:14 +00:00
|
|
|
Recommends: libatomic%{?_isa}
|
2016-01-27 15:23:13 +00:00
|
|
|
# libomp-devel is required, so clang can find the omp.h header when compiling
|
2024-10-02 10:07:38 +00:00
|
|
|
# with -fopenmp.
|
2024-10-14 08:42:34 +00:00
|
|
|
Recommends: %{pkg_name_libomp}-devel%{_isa} = %{version}-%{release}
|
|
|
|
Recommends: %{pkg_name_libomp}%{_isa} = %{version}-%{release}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_clang}-libs
|
2016-01-27 15:23:13 +00:00
|
|
|
Runtime library for clang.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_clang}-devel
|
2024-05-08 11:04:38 +00:00
|
|
|
Summary: Development header files for clang
|
|
|
|
Requires: %{pkg_name_clang}-libs = %{version}-%{release}
|
|
|
|
Requires: %{pkg_name_clang}%{?_isa} = %{version}-%{release}
|
|
|
|
# The clang CMake files reference tools from clang-tools-extra.
|
|
|
|
Requires: %{pkg_name_clang}-tools-extra%{?_isa} = %{version}-%{release}
|
|
|
|
Provides: clang-devel(major) = %{maj_ver}
|
2024-09-24 01:01:50 +00:00
|
|
|
# For the clangd language server contained in this subpackage,
|
|
|
|
# add a Provides so users can just run "dnf install clangd."
|
|
|
|
# This Provides is only present in the primary, unversioned clang package.
|
|
|
|
# Users who want the compat versions can install them using the full name.
|
|
|
|
%if %{without compat_build}
|
|
|
|
Provides: clangd = %{version}-%{release}
|
|
|
|
%endif
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_clang}-devel
|
2024-05-08 11:04:38 +00:00
|
|
|
Development header files for clang.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-08 11:04:38 +00:00
|
|
|
%package -n %{pkg_name_clang}-resource-filesystem
|
|
|
|
Summary: Filesystem package that owns the clang resource directory
|
|
|
|
Provides: clang-resource-filesystem(major) = %{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_clang}-resource-filesystem
|
2024-05-08 11:04:38 +00:00
|
|
|
This package owns the clang resouce directory: $libdir/clang/$version/
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-08 11:04:38 +00:00
|
|
|
%package -n %{pkg_name_clang}-analyzer
|
|
|
|
Summary: A source code analysis framework
|
|
|
|
License: Apache-2.0 WITH LLVM-exception OR NCSA OR MIT
|
2024-10-02 10:07:38 +00:00
|
|
|
BuildArch: noarch
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_clang} = %{version}-%{release}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_clang}-analyzer
|
2024-05-08 11:04:38 +00:00
|
|
|
The Clang Static Analyzer consists of both a source code analysis
|
|
|
|
framework and a standalone tool that finds bugs in C and Objective-C
|
|
|
|
programs. The standalone tool is invoked from the command-line, and is
|
2023-11-10 21:58:54 +00:00
|
|
|
intended to run in tandem with a build of a project or code base.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_clang}-tools-extra
|
2016-01-27 15:23:13 +00:00
|
|
|
Summary: Extra tools for clang
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_clang}-libs%{?_isa} = %{version}-%{release}
|
2024-07-02 21:15:43 +00:00
|
|
|
Requires: emacs-filesystem
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_clang}-tools-extra
|
2024-05-08 11:04:38 +00:00
|
|
|
A set of extra tools built using Clang's tooling API.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_clang}-tools-extra-devel
|
2016-01-27 15:23:13 +00:00
|
|
|
Summary: Development header files for clang tools
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_clang}-tools-extra = %{version}-%{release}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_clang}-tools-extra-devel
|
2016-01-27 15:23:13 +00:00
|
|
|
Development header files for clang tools.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-08 11:04:38 +00:00
|
|
|
# Put git-clang-format in its own package, because it Requires git
|
|
|
|
# and we don't want to force users to install all those dependenices if they
|
2024-08-28 11:21:20 +00:00
|
|
|
# just want clang.
|
2024-05-08 11:04:38 +00:00
|
|
|
%package -n git-clang-format%{pkg_suffix}
|
2016-01-27 15:23:13 +00:00
|
|
|
Summary: Integration of clang-format for git
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_clang}-tools-extra = %{version}-%{release}
|
2024-07-02 21:15:43 +00:00
|
|
|
Requires: git
|
2024-08-28 11:21:20 +00:00
|
|
|
Requires: python%{python3_pkgversion}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-08 11:04:38 +00:00
|
|
|
%description -n git-clang-format%{pkg_suffix}
|
2024-07-02 21:15:43 +00:00
|
|
|
clang-format integration for git.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-08 11:04:38 +00:00
|
|
|
%if %{without compat_build}
|
|
|
|
%package -n python%{python3_pkgversion}-clang
|
|
|
|
Summary: Python3 bindings for clang
|
|
|
|
Requires: %{pkg_name_clang}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: python%{python3_pkgversion}
|
|
|
|
%if 0%{?rhel} == 8
|
|
|
|
# Became python3.12-clang in LLVM 19
|
|
|
|
Obsoletes: python3-clang < 18.9
|
|
|
|
%endif
|
|
|
|
%description -n python%{python3_pkgversion}-clang
|
|
|
|
%{summary}.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
|
2024-05-08 11:04:38 +00:00
|
|
|
%endif
|
2011-08-01 16:50:42 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion CLANG packages
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region COMPILER-RT packages
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-02 10:26:55 +00:00
|
|
|
%package -n %{pkg_name_compiler_rt}
|
2024-08-28 11:21:20 +00:00
|
|
|
Summary: LLVM "compiler-rt" runtime libraries
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-01-19 19:45:58 +00:00
|
|
|
License: Apache-2.0 WITH LLVM-exception OR NCSA OR MIT
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-14 08:42:34 +00:00
|
|
|
Requires: clang-resource-filesystem%{?_isa} = %{version}-%{release}
|
2019-07-18 03:50:40 +00:00
|
|
|
Provides: compiler-rt(major) = %{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_compiler_rt}
|
2016-01-27 15:23:13 +00:00
|
|
|
The compiler-rt project is a part of the LLVM project. It provides
|
2024-07-02 21:15:43 +00:00
|
|
|
implementation of the low-level target-specific hooks required by
|
2016-01-27 15:23:13 +00:00
|
|
|
code generation, sanitizer runtimes and profiling library for code
|
2024-05-16 16:43:43 +00:00
|
|
|
instrumentation, and Blocks C language extension.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion COMPILER-RT packages
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region OPENMP packages
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-02 10:26:55 +00:00
|
|
|
%package -n %{pkg_name_libomp}
|
2016-01-27 15:23:13 +00:00
|
|
|
Summary: OpenMP runtime for clang
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
URL: http://openmp.llvm.org
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-14 08:42:34 +00:00
|
|
|
Requires: elfutils-libelf%{?_isa}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-04 07:50:27 +00:00
|
|
|
Provides: libomp(major) = %{maj_ver}
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_libomp}
|
2016-01-27 15:23:13 +00:00
|
|
|
OpenMP runtime for clang.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_libomp}-devel
|
|
|
|
Summary: OpenMP header files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
URL: http://openmp.llvm.org
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-14 08:42:34 +00:00
|
|
|
Requires: %{pkg_name_libomp}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: clang-resource-filesystem%{?_isa} = %{version}-%{release}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-04 07:50:27 +00:00
|
|
|
Provides: libomp-devel(major) = %{maj_ver}
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_libomp}-devel
|
|
|
|
OpenMP header files.
|
2016-01-27 15:23:13 +00:00
|
|
|
URL: http://openmp.llvm.org
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion OPENMP packages
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region LLD packages
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_lld}
|
|
|
|
Summary: The LLVM Linker
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
Requires(preun): %{_sbindir}/update-alternatives
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_lld}-libs = %{version}-%{release}
|
2024-10-10 07:06:28 +00:00
|
|
|
Provides: lld(major) = %{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_lld}
|
|
|
|
The LLVM project linker.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-02 10:26:55 +00:00
|
|
|
%package -n %{pkg_name_lld}-devel
|
2023-11-10 21:58:54 +00:00
|
|
|
Summary: Libraries and header files for LLD
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_lld}-libs%{?_isa} = %{version}-%{release}
|
2021-07-13 20:14:17 +00:00
|
|
|
%if %{without compat_build}
|
2023-11-10 21:58:54 +00:00
|
|
|
# lld tools are referenced in the cmake files, so we need to add lld as a
|
|
|
|
# dependency.
|
2024-08-28 11:21:20 +00:00
|
|
|
Requires: %{pkg_name_lld}%{?_isa} = %{version}-%{release}
|
2023-11-10 21:58:54 +00:00
|
|
|
%endif
|
2019-07-18 03:50:40 +00:00
|
|
|
Provides: lld-devel(major) = %{maj_ver}
|
2011-08-01 16:50:42 +00:00
|
|
|
|
2024-08-02 10:26:55 +00:00
|
|
|
%description -n %{pkg_name_lld}-devel
|
|
|
|
This package contains library and header files needed to develop new native
|
|
|
|
programs that use the LLD infrastructure.
|
2009-09-07 06:59:47 +00:00
|
|
|
|
2024-08-02 10:26:55 +00:00
|
|
|
%package -n %{pkg_name_lld}-libs
|
|
|
|
Summary: LLD shared libraries
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-14 08:42:34 +00:00
|
|
|
Requires: %{pkg_name_llvm}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
2024-08-02 10:26:55 +00:00
|
|
|
%description -n %{pkg_name_lld}-libs
|
|
|
|
Shared libraries for LLD.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLD packages
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region Toolset package
|
2024-07-16 10:29:26 +00:00
|
|
|
%if 0%{?rhel}
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n %{pkg_name_llvm}-toolset
|
2024-08-02 10:26:55 +00:00
|
|
|
Summary: Package that installs llvm-toolset
|
2024-10-14 08:42:34 +00:00
|
|
|
Requires: clang = %{version}-%{release}
|
|
|
|
Requires: llvm = %{version}-%{release}
|
|
|
|
Requires: lld = %{version}-%{release}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_llvm}-toolset
|
2024-08-02 10:26:55 +00:00
|
|
|
This is the main package for llvm-toolset.
|
2024-07-04 20:29:05 +00:00
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion Toolset package
|
2024-07-04 20:29:05 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
#region LLDB packages
|
|
|
|
%if %{with lldb}
|
|
|
|
%package -n %{pkg_name_lldb}
|
|
|
|
Summary: Next generation high-performance debugger
|
|
|
|
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
|
|
|
URL: http://lldb.llvm.org/
|
2018-03-19 16:26:08 +00:00
|
|
|
|
2024-10-14 08:42:34 +00:00
|
|
|
Requires: %{pkg_name_clang}-libs%{?_isa} = %{version}-%{release}
|
2024-08-28 11:21:20 +00:00
|
|
|
Requires: python%{python3_pkgversion}-lldb
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_lldb}
|
2024-07-16 10:29:26 +00:00
|
|
|
LLDB is a next generation, high-performance debugger. It is built as a set
|
2024-05-16 16:43:43 +00:00
|
|
|
of reusable components which highly leverage existing libraries in the
|
2024-07-22 08:24:04 +00:00
|
|
|
larger LLVM Project, such as the Clang expression parser and LLVM
|
2024-10-02 10:07:38 +00:00
|
|
|
disassembler.
|
|
|
|
|
2008-01-21 17:33:11 +00:00
|
|
|
%package -n %{pkg_name_lldb}-devel
|
|
|
|
Summary: Development header files for LLDB
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_lldb}%{?_isa} = %{version}-%{release}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n %{pkg_name_lldb}-devel
|
|
|
|
The package contains header files for the LLDB debugger.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%package -n python%{python3_pkgversion}-lldb
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-lldb}
|
2024-07-02 21:15:43 +00:00
|
|
|
Summary: Python module for LLDB
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-10-12 09:15:14 +00:00
|
|
|
Requires: %{pkg_name_lldb}%{?_isa} = %{version}-%{release}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if 0%{?rhel} == 8
|
|
|
|
# Became python3.12-lldb in LLVM 19
|
|
|
|
Obsoletes: python3-lldb < 18.9
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%description -n python%{python3_pkgversion}-lldb
|
|
|
|
The package contains the LLDB Python module.
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLDB packages
|
|
|
|
#endregion packages
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#region prep
|
2024-10-02 10:07:38 +00:00
|
|
|
%prep
|
2024-07-22 08:24:04 +00:00
|
|
|
%if %{without snapshot_build}
|
2024-10-02 10:07:38 +00:00
|
|
|
# llvm
|
2024-07-22 08:24:04 +00:00
|
|
|
%{gpgverify} --keyring='%{SOURCE6}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if %{with bundle_compat_lib}
|
|
|
|
%{gpgverify} --keyring='%{SOURCE6}' --signature='%{SOURCE3001}' --data='%{SOURCE3000}'
|
|
|
|
%setup -T -q -b 3000 -n llvm-project-%{compat_ver}.src
|
2024-10-30 10:28:03 +00:00
|
|
|
|
|
|
|
# Apply all patches with number < 500 (unconditionally)
|
|
|
|
# See https://rpm-software-management.github.io/rpm/manual/autosetup.html
|
|
|
|
%autopatch -M499 -p1
|
|
|
|
|
|
|
|
# automatically apply patches based on LLVM version
|
|
|
|
%autopatch -m%{compat_maj_ver}00 -M%{compat_maj_ver}99 -p1
|
|
|
|
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
# -T : Do Not Perform Default Archive Unpacking (without this, the <n>th source would be unpacked twice)
|
2024-07-22 08:24:04 +00:00
|
|
|
# -b <n> : Unpack The nth Sources Before Changing Directory
|
2024-07-02 21:15:43 +00:00
|
|
|
# -n : Set Name of Build Directory
|
2024-10-02 10:07:38 +00:00
|
|
|
#
|
2024-07-02 21:15:43 +00:00
|
|
|
# see http://ftp.rpm.org/max-rpm/s1-rpm-inside-macros.html
|
2024-07-22 08:24:04 +00:00
|
|
|
%autosetup -N -T -b 0 -n %{src_tarball_dir}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-30 10:28:03 +00:00
|
|
|
# Apply all patches with number < 500 (unconditionally)
|
2024-07-22 08:24:04 +00:00
|
|
|
# See https://rpm-software-management.github.io/rpm/manual/autosetup.html
|
2024-10-30 10:28:03 +00:00
|
|
|
%autopatch -M499 -p1
|
|
|
|
|
|
|
|
# automatically apply patches based on LLVM version
|
|
|
|
%autopatch -m%{maj_ver}00 -M%{maj_ver}99 -p1
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-05-22 15:57:51 +00:00
|
|
|
%if %{defined rhel}
|
2024-10-30 10:28:03 +00:00
|
|
|
%patch -p1 -P500
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if %{rhel} == 8
|
2024-10-30 10:28:03 +00:00
|
|
|
%patch -p1 -P501
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region LLVM preparation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2021-09-23 12:47:00 +00:00
|
|
|
%py3_shebang_fix \
|
2016-01-27 15:23:13 +00:00
|
|
|
llvm/test/BugPoint/compile-custom.ll.py \
|
2024-10-02 10:07:38 +00:00
|
|
|
llvm/tools/opt-viewer/*.py \
|
2024-05-16 16:43:43 +00:00
|
|
|
llvm/utils/update_cc_test_checks.py
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLVM preparation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region CLANG preparation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2021-09-23 12:47:00 +00:00
|
|
|
%py3_shebang_fix \
|
2024-10-02 10:07:38 +00:00
|
|
|
clang-tools-extra/clang-tidy/tool/ \
|
2024-07-22 08:24:04 +00:00
|
|
|
clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2021-09-23 12:47:00 +00:00
|
|
|
%py3_shebang_fix \
|
2024-10-02 10:07:38 +00:00
|
|
|
clang/tools/clang-format/ \
|
2024-07-22 08:24:04 +00:00
|
|
|
clang/tools/clang-format/git-clang-format \
|
2024-10-02 10:07:38 +00:00
|
|
|
clang/utils/hmaptool/hmaptool \
|
|
|
|
clang/tools/scan-view/bin/scan-view \
|
2024-07-02 21:15:43 +00:00
|
|
|
clang/tools/scan-view/share/Reporter.py \
|
|
|
|
clang/tools/scan-view/share/startfile.py \
|
|
|
|
clang/tools/scan-build-py/bin/* \
|
|
|
|
clang/tools/scan-build-py/libexec/*
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion CLANG preparation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region COMPILER-RT preparation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2021-09-23 12:47:00 +00:00
|
|
|
%py3_shebang_fix compiler-rt/lib/hwasan/scripts/hwasan_symbolize
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion COMPILER-RT preparation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region LLDB preparation
|
2024-07-05 19:19:24 +00:00
|
|
|
# Empty lldb/docs/CMakeLists.txt because we cannot build it
|
2024-07-02 21:15:43 +00:00
|
|
|
echo "" > lldb/docs/CMakeLists.txt
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLDB preparation
|
|
|
|
#endregion prep
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#region build
|
2024-10-02 10:07:38 +00:00
|
|
|
%build
|
2008-01-21 17:33:11 +00:00
|
|
|
# TODO(kkleine): In clang we had this %ifarch s390 s390x aarch64 %ix86 ppc64le
|
2023-11-10 21:58:54 +00:00
|
|
|
# Decrease debuginfo verbosity to reduce memory consumption during final library linking.
|
2024-07-02 21:15:43 +00:00
|
|
|
%global reduce_debuginfo 0
|
2024-10-02 10:07:38 +00:00
|
|
|
%ifarch %ix86
|
2024-07-02 21:15:43 +00:00
|
|
|
%global reduce_debuginfo 1
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-08-28 11:21:20 +00:00
|
|
|
%if 0%{?rhel} == 8
|
2024-07-02 21:15:43 +00:00
|
|
|
%global reduce_debuginfo 1
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
%if %reduce_debuginfo == 1
|
2024-11-07 10:20:13 +00:00
|
|
|
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
2024-08-28 11:21:20 +00:00
|
|
|
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
%global projects clang;clang-tools-extra;lld
|
2012-02-24 09:59:11 +00:00
|
|
|
%if %{with lldb}
|
2024-07-02 21:15:43 +00:00
|
|
|
%global projects %{projects};lldb
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
# Copy CFLAGS into ASMFLAGS, so -fcf-protection is used when compiling assembly files.
|
2024-10-02 10:07:38 +00:00
|
|
|
export ASMFLAGS="%{build_cflags}"
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
# We set CLANG_DEFAULT_PIE_ON_LINUX=OFF and PPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON to match the
|
2024-08-28 11:21:20 +00:00
|
|
|
# defaults used by Fedora's GCC.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# Disable dwz on aarch64, because it takes a huge amount of time to decide not to optimize things.
|
2024-10-02 11:03:59 +00:00
|
|
|
# This is copied from clang.
|
2018-08-28 05:46:20 +00:00
|
|
|
%ifarch aarch64
|
2024-05-16 16:43:43 +00:00
|
|
|
%define _find_debuginfo_dwz_opts %{nil}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
cd llvm
|
|
|
|
|
2017-08-25 13:40:02 +00:00
|
|
|
#region LLVM lit
|
2024-07-02 21:15:43 +00:00
|
|
|
%if %{with python_lit}
|
2024-10-02 10:07:38 +00:00
|
|
|
pushd utils/lit
|
|
|
|
%py3_build
|
|
|
|
popd
|
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLVM lit
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if 0%{?rhel} == 8
|
|
|
|
%undefine __cmake_in_source_build
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-10-02 21:21:49 +00:00
|
|
|
#region cmake options
|
|
|
|
%global cmake_config_args ""
|
|
|
|
|
|
|
|
#region clang options
|
|
|
|
%global cmake_config_args %{cmake_config_args} \\\
|
|
|
|
-DCLANG_BUILD_EXAMPLES:BOOL=OFF \\\
|
|
|
|
-DCLANG_CONFIG_FILE_SYSTEM_DIR=%{_sysconfdir}/%{pkg_name_clang}/ \\\
|
|
|
|
-DCLANG_DEFAULT_PIE_ON_LINUX=OFF \\\
|
|
|
|
-DCLANG_DEFAULT_UNWINDLIB=libgcc \\\
|
|
|
|
-DCLANG_ENABLE_ARCMT:BOOL=ON \\\
|
|
|
|
-DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON \\\
|
|
|
|
-DCLANG_INCLUDE_DOCS:BOOL=ON \\\
|
|
|
|
-DCLANG_INCLUDE_TESTS:BOOL=ON \\\
|
|
|
|
-DCLANG_LINK_CLANG_DYLIB=ON \\\
|
|
|
|
-DCLANG_PLUGIN_SUPPORT:BOOL=ON \\\
|
|
|
|
-DCLANG_REPOSITORY_STRING="%{?dist_vendor} %{version}-%{release}" \\\
|
|
|
|
-DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{with compat_build}
|
2024-10-02 21:21:49 +00:00
|
|
|
%global cmake_config_args %{cmake_config_args} -DCLANG_RESOURCE_DIR=../../../lib/clang/%{maj_ver}
|
|
|
|
%else
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DCLANG_RESOURCE_DIR=../lib/clang/%{maj_ver}
|
|
|
|
%endif
|
|
|
|
#endregion clang options
|
|
|
|
|
|
|
|
#region compiler-rt options
|
|
|
|
%global cmake_config_args %{cmake_config_args} \\\
|
|
|
|
-DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF \\\
|
|
|
|
-DCOMPILER_RT_INSTALL_PATH=%{_prefix}/lib/clang/%{maj_ver}
|
|
|
|
#endregion compiler-rt options
|
|
|
|
|
|
|
|
#region docs options
|
|
|
|
%global cmake_config_args %{cmake_config_args} \\\
|
|
|
|
-DLLVM_BUILD_DOCS:BOOL=ON \\\
|
|
|
|
-DLLVM_ENABLE_SPHINX:BOOL=ON \\\
|
|
|
|
-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3 \\\
|
|
|
|
-DSPHINX_WARNINGS_AS_ERRORS=OFF \\\
|
|
|
|
-DLLVM_ENABLE_DOXYGEN:BOOL=OFF \\\
|
|
|
|
-DLLVM_INCLUDE_DOCS:BOOL=ON \\\
|
|
|
|
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html
|
|
|
|
#endregion docs options
|
|
|
|
|
|
|
|
#region lldb options
|
|
|
|
%if %{with lldb}
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLDB_DISABLE_CURSES:BOOL=OFF
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLDB_DISABLE_LIBEDIT:BOOL=OFF
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLDB_DISABLE_PYTHON:BOOL=OFF
|
|
|
|
%ifarch ppc64le
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLDB_TEST_USER_ARGS=--skip-category=watchpoint
|
|
|
|
%endif
|
|
|
|
%if 0%{?rhel} == 8
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLDB_INCLUDE_TESTS:BOOL=OFF
|
|
|
|
%else
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLDB_ENFORCE_STRICT_TEST_REQUIREMENTS:BOOL=ON
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
#endregion lldb options
|
|
|
|
|
|
|
|
#region llvm options
|
|
|
|
%global cmake_config_args %{cmake_config_args} \\\
|
|
|
|
-DLLVM_APPEND_VC_REV:BOOL=OFF \\\
|
|
|
|
-DLLVM_BUILD_EXAMPLES:BOOL=OFF \\\
|
|
|
|
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \\\
|
|
|
|
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \\\
|
|
|
|
-DLLVM_BUILD_RUNTIME:BOOL=ON \\\
|
|
|
|
-DLLVM_BUILD_TOOLS:BOOL=ON \\\
|
|
|
|
-DLLVM_BUILD_UTILS:BOOL=ON \\\
|
|
|
|
-DLLVM_COMMON_CMAKE_UTILS=%{install_datadir}/llvm/cmake \\\
|
|
|
|
-DLLVM_DEFAULT_TARGET_TRIPLE=%{llvm_triple} \\\
|
|
|
|
-DLLVM_DYLIB_COMPONENTS="all" \\\
|
|
|
|
-DLLVM_ENABLE_EH=ON \\\
|
|
|
|
-DLLVM_ENABLE_FFI:BOOL=ON \\\
|
|
|
|
-DLLVM_ENABLE_LIBCXX:BOOL=OFF \\\
|
|
|
|
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON \\\
|
|
|
|
-DLLVM_ENABLE_PROJECTS="%{projects}" \\\
|
|
|
|
-DLLVM_ENABLE_RTTI:BOOL=ON \\\
|
|
|
|
-DLLVM_ENABLE_RUNTIMES="compiler-rt;openmp;offload" \\\
|
|
|
|
-DLLVM_ENABLE_ZLIB:BOOL=ON \\\
|
|
|
|
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{experimental_targets_to_build} \\\
|
|
|
|
-DLLVM_INCLUDE_BENCHMARKS=OFF \\\
|
|
|
|
-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \\\
|
|
|
|
-DLLVM_INCLUDE_TOOLS:BOOL=ON \\\
|
|
|
|
-DLLVM_INCLUDE_UTILS:BOOL=ON \\\
|
|
|
|
-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \\\
|
|
|
|
-DLLVM_INSTALL_UTILS:BOOL=ON \\\
|
|
|
|
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \\\
|
|
|
|
-DLLVM_PARALLEL_LINK_JOBS=1 \\\
|
|
|
|
-DLLVM_TARGETS_TO_BUILD=%{targets_to_build} \\\
|
|
|
|
-DLLVM_TOOLS_INSTALL_DIR:PATH=bin \\\
|
|
|
|
-DLLVM_UNREACHABLE_OPTIMIZE:BOOL=OFF \\\
|
|
|
|
-DLLVM_USE_PERF:BOOL=ON \\\
|
|
|
|
-DLLVM_UTILS_INSTALL_DIR:PATH=bin
|
|
|
|
#endregion llvm options
|
|
|
|
|
|
|
|
#region openmp options
|
|
|
|
%global cmake_config_args %{cmake_config_args} \\\
|
|
|
|
-DOPENMP_INSTALL_LIBDIR=%{unprefixed_libdir} \\\
|
|
|
|
-DLIBOMP_INSTALL_ALIASES=OFF
|
|
|
|
#endregion openmp options
|
|
|
|
|
|
|
|
#region test options
|
|
|
|
%global cmake_config_args %{cmake_config_args} \\\
|
|
|
|
-DLLVM_BUILD_TESTS:BOOL=ON \\\
|
|
|
|
-DLLVM_INCLUDE_TESTS:BOOL=ON \\\
|
|
|
|
-DLLVM_INSTALL_GTEST:BOOL=ON \\\
|
|
|
|
-DLLVM_LIT_ARGS="-vv"
|
|
|
|
|
|
|
|
%if %{with lto_build}
|
|
|
|
%if 0%{?fedora} >= 41
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLVM_UNITTEST_LINK_FLAGS="-fno-lto"
|
2024-10-02 10:07:38 +00:00
|
|
|
%else
|
2024-10-02 21:21:49 +00:00
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLVM_UNITTEST_LINK_FLAGS="-Wl,-plugin-opt=O0"
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
#endregion test options
|
|
|
|
|
|
|
|
#region misc options
|
|
|
|
%global cmake_config_args %{cmake_config_args} \\\
|
|
|
|
-DBUILD_SHARED_LIBS:BOOL=OFF \\\
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \\\
|
|
|
|
-DCMAKE_INSTALL_PREFIX=%{install_prefix} \\\
|
|
|
|
-DENABLE_LINKER_BUILD_ID:BOOL=ON \\\
|
|
|
|
-DOFFLOAD_INSTALL_LIBDIR=%{unprefixed_libdir} \\\
|
|
|
|
-DPython3_EXECUTABLE=%{__python3}
|
|
|
|
|
Only disable rpath during installation
We currently disable rpath during both build and install. Instead,
we use LD_LIBRARY_PATH to allow the built clang to find the
libLLVM.so etc objects.
However, this does not work well if the system clang and the
clang being built have the same version. During the build, we
use both the system clang and the just-built clang, and they
need to use the system and just-built shared objects respectively.
However, use of LD_LIBRARY_PATH causes us to always use the
just-built objects as long as the versions match.
This is a problem in two scenarios: When building compat packages
for the current system LLVM version, we mix system clang with
compat libraries, which assume different paths. And when building
release candidates, a build using a previous rc of a newer rc
may use ABI-incompatible objects, because we don't version sonames
on rc versions.
Fix this by keeping the rpath during the build and only stripping
it on installation using the CMAKE_SKIP_INSTALL_RPATH option.
For manually installed binaries, we need to also manually strip
the rpath using chrpath.
This way system clang will use system libraries, and just-built
clang will use just-built libraries.
2024-10-08 09:49:43 +00:00
|
|
|
# During the build, we use both the system clang and the just-built clang, and
|
|
|
|
# they need to use the system and just-built shared objects respectively. If
|
|
|
|
# we use LD_LIBRARY_PATH to point to our build directory, the system clang
|
|
|
|
# may use the just-built shared objects instead, which may not be compatible
|
|
|
|
# even if the version matches (e.g. when building compat libs or different rcs).
|
|
|
|
# Instead, we make use of rpath during the build and only strip it on
|
|
|
|
# installation using the CMAKE_SKIP_INSTALL_RPATH option.
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
|
|
|
|
|
2024-10-02 21:21:49 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 9
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON
|
|
|
|
%endif
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
%if %reduce_debuginfo == 1
|
2024-10-02 21:21:49 +00:00
|
|
|
%global cmake_config_args %{cmake_config_args} -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG"
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG"
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-10-02 21:21:49 +00:00
|
|
|
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-05-16 16:43:43 +00:00
|
|
|
%if 0%{?__isa_bits} == 64
|
2024-10-02 21:21:49 +00:00
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLVM_LIBDIR_SUFFIX=64
|
2024-10-02 10:07:38 +00:00
|
|
|
%else
|
2024-10-02 21:21:49 +00:00
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLVM_LIBDIR_SUFFIX=
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
2024-10-02 21:21:49 +00:00
|
|
|
|
2012-02-24 09:59:11 +00:00
|
|
|
%if %{with gold}
|
2024-10-02 21:21:49 +00:00
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLVM_BINUTILS_INCDIR=%{_includedir}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-10-02 21:21:49 +00:00
|
|
|
|
|
|
|
%if %{with snapshot_build}
|
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLVM_VERSION_SUFFIX="%{llvm_snapshot_version_suffix}"
|
2024-10-09 09:45:24 +00:00
|
|
|
%else
|
|
|
|
%if %{without compat_build}
|
2024-10-02 21:21:49 +00:00
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLVM_VERSION_SUFFIX=''
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-10-09 09:45:24 +00:00
|
|
|
%endif
|
2024-10-02 21:21:49 +00:00
|
|
|
|
2024-10-02 10:07:38 +00:00
|
|
|
%ifarch x86_64
|
2024-10-02 21:21:49 +00:00
|
|
|
%global cmake_config_args %{cmake_config_args} -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -Wl,-z,cet-report=error"
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-10-02 21:21:49 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if 0%{?rhel} == 8
|
2024-10-02 21:21:49 +00:00
|
|
|
%global cmake_config_args %{cmake_config_args} -DLLVM_RAM_PER_COMPILE_JOB=2048
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-10-02 21:21:49 +00:00
|
|
|
#endregion misc options
|
2024-10-08 10:52:18 +00:00
|
|
|
|
|
|
|
extra_cmake_args=''
|
|
|
|
# TSan does not support 5-level page tables (https://github.com/llvm/llvm-project/issues/111492)
|
|
|
|
# so do not run tests using tsan on systems that potentially use 5-level page tables.
|
|
|
|
if grep 'flags.*la57' /proc/cpuinfo; then
|
|
|
|
extra_cmake_args="$extra_cmake_args -DOPENMP_TEST_ENABLE_TSAN=OFF"
|
|
|
|
fi
|
2024-10-02 21:21:49 +00:00
|
|
|
#endregion cmake options
|
|
|
|
|
2024-10-08 10:52:18 +00:00
|
|
|
%cmake -G Ninja %cmake_config_args $extra_cmake_args
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# 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
|
2024-07-16 10:29:26 +00:00
|
|
|
# builders without having to artificially limit the number of concurrent jobs.
|
2024-10-02 10:07:38 +00:00
|
|
|
%cmake_build --target LLVM
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# Also build libclang-cpp.so separately to avoid OOM errors.
|
|
|
|
# This is to fix occasional OOM errors on the ppc64le COPR builders.
|
|
|
|
%cmake_build --target libclang-cpp.so
|
2024-10-02 10:07:38 +00:00
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
|
2024-11-07 10:20:13 +00:00
|
|
|
# If we don't build the runtimes target here, we'll have to wait for the %%check
|
2024-07-02 21:15:43 +00:00
|
|
|
# section until these files are available but they need to be installed.
|
2024-10-02 10:07:38 +00:00
|
|
|
#
|
2024-07-02 21:15:43 +00:00
|
|
|
# /usr/lib64/libomptarget.devicertl.a
|
2024-10-02 10:07:38 +00:00
|
|
|
# /usr/lib64/libomptarget-amdgpu-*.bc
|
|
|
|
# /usr/lib64/libomptarget-nvptx-*.bc
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
%cmake_build --target runtimes
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#region compat lib
|
2024-10-02 10:07:38 +00:00
|
|
|
cd ..
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if %{with bundle_compat_lib}
|
|
|
|
%cmake -S ../llvm-project-%{compat_ver}.src/llvm -B ../llvm-compat-libs -G Ninja \
|
2024-07-22 08:24:04 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=%{buildroot}%{_libdir}/llvm%{compat_maj_ver}/ \
|
2024-10-02 10:07:38 +00:00
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
2024-07-02 21:15:43 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2024-07-22 08:24:04 +00:00
|
|
|
-DBUILD_SHARED_LIBS=OFF \
|
2024-10-02 10:07:38 +00:00
|
|
|
-DLLVM_BUILD_LLVM_DYLIB=ON \
|
2017-08-25 13:40:02 +00:00
|
|
|
-DLLVM_ENABLE_EH=ON \
|
|
|
|
-DLLVM_ENABLE_RTTI=ON \
|
2024-10-31 12:38:34 +00:00
|
|
|
-DLLVM_ENABLE_PROJECTS="clang;lldb" \
|
2024-05-16 16:43:43 +00:00
|
|
|
-DLLVM_TARGETS_TO_BUILD=%{targets_to_build} \
|
2024-10-02 10:07:38 +00:00
|
|
|
-DLLVM_INCLUDE_BENCHMARKS=OFF \
|
2024-05-16 16:43:43 +00:00
|
|
|
-DLLVM_INCLUDE_TESTS=OFF
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
%ninja_build -C ../llvm-compat-libs LLVM
|
|
|
|
%ninja_build -C ../llvm-compat-libs libclang.so
|
|
|
|
%ninja_build -C ../llvm-compat-libs libclang-cpp.so
|
2024-10-31 12:38:34 +00:00
|
|
|
%ninja_build -C ../llvm-compat-libs liblldb.so
|
2024-10-02 10:07:38 +00:00
|
|
|
|
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion compat lib
|
|
|
|
#endregion build
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#region install
|
2024-10-02 10:07:38 +00:00
|
|
|
%install
|
2024-05-16 16:43:43 +00:00
|
|
|
#region LLVM installation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
|
|
|
pushd llvm
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
%if %{with python_lit}
|
2024-10-02 10:07:38 +00:00
|
|
|
pushd utils/lit
|
|
|
|
%py3_install
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# Strip out #!/usr/bin/env python
|
|
|
|
sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/lit/*.py
|
2024-10-02 10:07:38 +00:00
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
2024-08-02 10:26:55 +00:00
|
|
|
mkdir -p %{buildroot}/%{_bindir}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# Install binaries needed for lit tests
|
2024-05-16 16:43:43 +00:00
|
|
|
%global test_binaries llvm-isel-fuzzer llvm-opt-fuzzer
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
for f in %{test_binaries}
|
2024-10-02 10:07:38 +00:00
|
|
|
do
|
2024-05-16 16:43:43 +00:00
|
|
|
install -m 0755 llvm/%{_vpath_builddir}/bin/$f %{buildroot}%{install_bindir}
|
Only disable rpath during installation
We currently disable rpath during both build and install. Instead,
we use LD_LIBRARY_PATH to allow the built clang to find the
libLLVM.so etc objects.
However, this does not work well if the system clang and the
clang being built have the same version. During the build, we
use both the system clang and the just-built clang, and they
need to use the system and just-built shared objects respectively.
However, use of LD_LIBRARY_PATH causes us to always use the
just-built objects as long as the versions match.
This is a problem in two scenarios: When building compat packages
for the current system LLVM version, we mix system clang with
compat libraries, which assume different paths. And when building
release candidates, a build using a previous rc of a newer rc
may use ABI-incompatible objects, because we don't version sonames
on rc versions.
Fix this by keeping the rpath during the build and only stripping
it on installation using the CMAKE_SKIP_INSTALL_RPATH option.
For manually installed binaries, we need to also manually strip
the rpath using chrpath.
This way system clang will use system libraries, and just-built
clang will use just-built libraries.
2024-10-08 09:49:43 +00:00
|
|
|
chrpath --delete %{buildroot}%{install_bindir}/$f
|
2024-10-02 10:07:38 +00:00
|
|
|
done
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# Install libraries needed for unittests
|
2024-05-16 16:43:43 +00:00
|
|
|
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{install_libdir}
|
|
|
|
install %{build_libdir}/libLLVMTestingAnnotations.a %{buildroot}%{install_libdir}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-10-12 09:15:14 +00:00
|
|
|
# Fix multi-lib
|
2024-05-16 16:43:43 +00:00
|
|
|
%multilib_fix_c_header --file %{install_includedir}/llvm/Config/llvm-config.h
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
# Fix some man pages
|
|
|
|
ln -s llvm-config.1 %{buildroot}%{_mandir}/man1/llvm-config%{exec_suffix}-%{__isa_bits}.1
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2012-02-24 09:59:11 +00:00
|
|
|
%if %{with gold}
|
2024-07-22 08:24:04 +00:00
|
|
|
# Add symlink to lto plugin in the binutils plugin directory.
|
2024-07-02 21:15:43 +00:00
|
|
|
%{__mkdir_p} %{buildroot}%{_libdir}/bfd-plugins/
|
2024-07-22 08:24:04 +00:00
|
|
|
ln -s -t %{buildroot}%{_libdir}/bfd-plugins/ ../LLVMgold.so
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
# Create ld.so.conf.d entry
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
2024-07-22 08:24:04 +00:00
|
|
|
cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{pkg_name_llvm}-%{_arch}.conf << EOF
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}
|
2024-10-02 10:07:38 +00:00
|
|
|
EOF
|
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
# Add version suffix to man pages and move them to mandir.
|
2024-08-02 10:26:55 +00:00
|
|
|
mkdir -p %{buildroot}/%{_mandir}/man1
|
2024-07-02 21:15:43 +00:00
|
|
|
for f in %{build_install_prefix}/share/man/man1/*; do
|
2024-08-28 11:21:20 +00:00
|
|
|
filename=`basename $f | cut -f 1 -d '.'`
|
2024-05-16 16:43:43 +00:00
|
|
|
mv $f %{buildroot}%{_mandir}/man1/$filename%{exec_suffix}.1
|
2024-10-02 10:07:38 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
mkdir -p %{buildroot}%{pkg_datadir}/llvm/cmake
|
|
|
|
cp -Rv cmake/* %{buildroot}%{pkg_datadir}/llvm/cmake
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLVM installation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region CLANG installation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
# Add a symlink in /usr/bin to clang-format-diff
|
2024-05-16 16:43:43 +00:00
|
|
|
ln -s %{install_datadir}/clang/clang-format-diff.py %{buildroot}%{install_bindir}/clang-format-diff
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# File in the macros file for other packages to use. We are not doing this
|
2024-07-22 08:24:04 +00:00
|
|
|
# in the compat package, because the version macros would # conflict with
|
2024-08-28 11:21:20 +00:00
|
|
|
# eachother if both clang and the clang compat package were installed together.
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-07-22 08:24:04 +00:00
|
|
|
install -p -m0644 -D %{SOURCE2005} %{buildroot}%{_rpmmacrodir}/macros.%{pkg_name_clang}
|
2024-08-28 11:21:20 +00:00
|
|
|
sed -i -e "s|@@CLANG_MAJOR_VERSION@@|%{maj_ver}|" \
|
|
|
|
-e "s|@@CLANG_MINOR_VERSION@@|%{min_ver}|" \
|
2023-11-24 17:14:14 +00:00
|
|
|
-e "s|@@CLANG_PATCH_VERSION@@|%{patch_ver}|" \
|
2024-07-22 08:24:04 +00:00
|
|
|
%{buildroot}%{_rpmmacrodir}/macros.%{pkg_name_clang}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# install clang python bindings
|
2024-07-02 21:15:43 +00:00
|
|
|
mkdir -p %{buildroot}%{python3_sitelib}/clang/
|
2024-07-22 08:24:04 +00:00
|
|
|
# If we don't default to true here, we'll see this error:
|
2024-07-02 21:15:43 +00:00
|
|
|
# install: omitting directory 'bindings/python/clang/__pycache__'
|
2024-08-28 11:21:20 +00:00
|
|
|
# NOTE: this only happens if we include the gdb plugin of libomp.
|
2024-05-16 16:43:43 +00:00
|
|
|
# Remove the plugin with command and we're good: rm -rf %{buildroot}/%{_datarootdir}/gdb
|
2024-07-02 21:15:43 +00:00
|
|
|
install -p -m644 clang/bindings/python/clang/* %{buildroot}%{python3_sitelib}/clang/
|
|
|
|
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/clang
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# install scanbuild-py to python sitelib.
|
|
|
|
mv %{buildroot}%{_prefix}/lib/{libear,libscanbuild} %{buildroot}%{python3_sitelib}
|
|
|
|
# Cannot use {libear,libscanbuild} style expansion in py_byte_compile.
|
|
|
|
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/libear
|
|
|
|
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/libscanbuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
# Move emacs integration files to the correct directory
|
2024-07-02 21:15:43 +00:00
|
|
|
mkdir -p %{buildroot}%{_emacs_sitestartdir}
|
2016-01-27 15:23:13 +00:00
|
|
|
for f in clang-format.el clang-include-fixer.el; do
|
2024-05-16 16:43:43 +00:00
|
|
|
mv %{buildroot}{%{_datadir}/clang,%{_emacs_sitestartdir}}/$f
|
2024-10-02 10:07:38 +00:00
|
|
|
done
|
2024-09-11 08:08:23 +00:00
|
|
|
%if %{maj_ver} < 20
|
2024-05-16 16:43:43 +00:00
|
|
|
mv %{buildroot}{%{_datadir}/clang,%{_emacs_sitestartdir}}/clang-rename.el
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
# Add clang++-{version} symlink
|
2024-08-28 11:21:20 +00:00
|
|
|
ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
# Fix permission
|
2024-05-16 16:43:43 +00:00
|
|
|
chmod u-x %{buildroot}%{_mandir}/man1/scan-build%{exec_suffix}.1*
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# Not sure where to put these python modules for the compat build.
|
|
|
|
rm -Rf %{buildroot}%{install_libdir}/{libear,libscanbuild}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# Not sure where to put the emacs integration files for the compat build.
|
2024-05-16 16:43:43 +00:00
|
|
|
rm -Rf %{buildroot}%{install_datadir}/clang/*.el
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
# Add clang++-{version} symlink
|
2024-10-10 07:06:28 +00:00
|
|
|
ln -s clang++ %{buildroot}%{install_bindir}/clang++-%{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
# Create Manpage symlinks
|
|
|
|
ln -s clang%{exec_suffix}.1.gz %{buildroot}%{_mandir}/man1/clang++%{exec_suffix}.1.gz
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang-%{maj_ver}.1.gz
|
|
|
|
ln -s clang.1.gz %{buildroot}%{_mandir}/man1/clang++-%{maj_ver}.1.gz
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# Fix permissions of scan-view scripts
|
2024-07-22 08:24:04 +00:00
|
|
|
chmod a+x %{buildroot}%{install_datadir}/scan-view/{Reporter.py,startfile.py}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-10-12 09:15:14 +00:00
|
|
|
# multilib fix
|
2024-08-28 11:21:20 +00:00
|
|
|
%multilib_fix_c_header --file %{install_includedir}/clang/Config/config.h
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# remove editor integrations (bbedit, sublime, emacs, vim)
|
2024-05-16 16:43:43 +00:00
|
|
|
rm -vf %{buildroot}%{install_datadir}/clang/clang-format-bbedit.applescript
|
|
|
|
rm -vf %{buildroot}%{install_datadir}/clang/clang-format-sublime.py*
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# TODO: Package html docs
|
2024-07-22 08:24:04 +00:00
|
|
|
rm -Rvf %{buildroot}%{install_docdir}/LLVM/clang/html
|
|
|
|
rm -Rvf %{buildroot}%{install_docdir}/LLVM/clang-tools/html
|
2024-05-16 16:43:43 +00:00
|
|
|
rm -Rvf %{buildroot}%{install_datadir}/clang-doc/clang-doc-default-stylesheet.css
|
|
|
|
rm -Rvf %{buildroot}%{install_datadir}/clang-doc/index.js
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# TODO: What are the Fedora guidelines for packaging bash autocomplete files?
|
2024-07-22 08:24:04 +00:00
|
|
|
rm -vf %{buildroot}%{install_datadir}/clang/bash-autocomplete.sh
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
# Create sub-directories in the clang resource directory that will be
|
2024-08-28 11:21:20 +00:00
|
|
|
# populated by other packages
|
2024-07-22 08:24:04 +00:00
|
|
|
mkdir -p %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/{bin,include,lib,share}/
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
# Add versioned resource directory macro
|
2024-07-02 21:15:43 +00:00
|
|
|
mkdir -p %{buildroot}%{_rpmmacrodir}/
|
2024-07-22 08:24:04 +00:00
|
|
|
echo "%%clang%{maj_ver}_resource_dir %%{_prefix}/lib/clang/%{maj_ver}" >> %{buildroot}%{_rpmmacrodir}/macros.%{pkg_name_clang}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
# Install config file for clang
|
2024-09-11 08:08:23 +00:00
|
|
|
%if %{maj_ver} >=18
|
2024-11-07 10:20:13 +00:00
|
|
|
%global cfg_file_content --gcc-triple=%{_target_cpu}-redhat-linux
|
|
|
|
|
|
|
|
%if %{defined rhel} && 0%{?rhel} < 10
|
|
|
|
%global cfg_file_content %{cfg_file_content} -gdwarf-4 -g0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{defined gts_version}
|
|
|
|
%global cfg_file_content %{cfg_file_content} --gcc-install-dir=/opt/rh/gcc-toolset-%{gts_version}/root/usr
|
|
|
|
%endif
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/
|
2024-11-07 10:20:13 +00:00
|
|
|
echo " %{cfg_file_content}" >> %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang.cfg
|
|
|
|
echo " %{cfg_file_content}" >> %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang++.cfg
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-11-07 10:20:13 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion CLANG installation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region COMPILER-RT installation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
# Triple where compiler-rt libs are installed. If it differs from llvm_triple, then there is
|
|
|
|
# also a symlink llvm_triple -> compiler_rt_triple.
|
|
|
|
%global compiler_rt_triple %{llvm_triple}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-14 10:15:15 +00:00
|
|
|
%ifarch ppc64le
|
2024-07-22 08:24:04 +00:00
|
|
|
# Fix install path on ppc64le so that the directory name matches the triple used
|
2024-10-02 10:07:38 +00:00
|
|
|
# by clang.
|
2023-11-24 17:14:14 +00:00
|
|
|
mv %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/lib/powerpc64le-redhat-linux-gnu %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2018-08-28 05:46:20 +00:00
|
|
|
%ifarch %{ix86}
|
2024-07-02 21:15:43 +00:00
|
|
|
# Fix install path on ix86 so that the directory name matches the triple used
|
2024-08-28 11:21:20 +00:00
|
|
|
# by clang on both actual ix86 (i686) and on x86_64 with -m32 (i386):
|
2016-01-27 15:23:13 +00:00
|
|
|
%global compiler_rt_triple i386-redhat-linux-gnu
|
2024-08-28 11:21:20 +00:00
|
|
|
%if "%{llvm_triple}" != "%{compiler_rt_triple}"
|
2024-07-22 08:24:04 +00:00
|
|
|
ln -s %{compiler_rt_triple} %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion COMPILER-RT installation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region OPENMP installation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
# Remove static libraries with equivalent shared libraries
|
2024-05-16 16:43:43 +00:00
|
|
|
rm -rf %{buildroot}%{install_libdir}/libarcher_static.a
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# Remove the openmp gdb plugin for now
|
2024-05-16 16:43:43 +00:00
|
|
|
rm -rf %{buildroot}/%{install_datadir}/gdb
|
2024-07-02 21:15:43 +00:00
|
|
|
# # TODO(kkleine): These was added to avoid a permission issue
|
|
|
|
# chmod go+w %{buildroot}/%{_datarootdir}/gdb/python/ompd/ompdModule.so
|
|
|
|
# chmod +w %{buildroot}/%{_datarootdir}/gdb/python/ompd/ompdModule.so
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2018-08-28 05:46:20 +00:00
|
|
|
%ifnarch %{ix86}
|
2024-08-28 11:21:20 +00:00
|
|
|
# Remove files that we don't package, yet.
|
2024-09-11 08:08:23 +00:00
|
|
|
%if %{maj_ver} >= 20
|
2024-05-16 16:43:43 +00:00
|
|
|
rm %{buildroot}%{install_bindir}/llvm-offload-device-info
|
2024-10-02 10:07:38 +00:00
|
|
|
%else
|
2024-05-16 16:43:43 +00:00
|
|
|
rm %{buildroot}%{install_bindir}/llvm-omp-device-info
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-05-16 16:43:43 +00:00
|
|
|
rm %{buildroot}%{install_bindir}/llvm-omp-kernel-replay
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion OPENMP installation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
#region LLD installation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# Remove LLD's HTML documentation files
|
2024-07-22 08:24:04 +00:00
|
|
|
rm -Rvf %{buildroot}%{install_docdir}/LLVM/lld/html
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-07-05 19:19:24 +00:00
|
|
|
# Required when using update-alternatives:
|
2024-07-02 21:15:43 +00:00
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Alternatives/
|
|
|
|
touch %{buildroot}%{_bindir}/ld
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-02 10:26:55 +00:00
|
|
|
install -D -m 644 -t %{buildroot}%{_mandir}/man1/ lld/docs/ld.lld.1
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLD installation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
#region LLDB installation
|
2012-02-24 09:59:11 +00:00
|
|
|
%if %{with lldb}
|
2024-05-16 16:43:43 +00:00
|
|
|
%multilib_fix_c_header --file %{install_includedir}/lldb/Host/Config.h
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# python: fix binary libraries location
|
2024-07-22 08:24:04 +00:00
|
|
|
liblldb=$(basename $(readlink -e %{buildroot}%{_libdir}/liblldb.so))
|
2024-07-02 21:15:43 +00:00
|
|
|
ln -vsf "../../../${liblldb}" %{buildroot}%{python3_sitearch}/lldb/_lldb.so
|
|
|
|
%py_byte_compile %{__python3} %{buildroot}%{python3_sitearch}/lldb
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLDB installation
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{with compat_build}
|
2024-07-16 10:29:26 +00:00
|
|
|
# Add version suffix to binaries. Do this at the end so it includes any
|
2024-05-16 16:43:43 +00:00
|
|
|
# additional binaries that may be been added by other steps.
|
|
|
|
for f in %{buildroot}/%{install_bindir}/*; do
|
2024-10-02 10:07:38 +00:00
|
|
|
filename=`basename $f`
|
2024-08-28 11:21:20 +00:00
|
|
|
if echo $filename | grep -e '%{maj_ver}'; then
|
2024-10-02 10:07:38 +00:00
|
|
|
continue
|
|
|
|
fi
|
2024-05-16 16:43:43 +00:00
|
|
|
ln -s ../../%{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename%{exec_suffix}
|
2024-10-02 10:07:38 +00:00
|
|
|
done
|
|
|
|
%endif
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
# llvm-config special casing. llvm-config is managed by update-alternatives.
|
2024-07-22 08:24:04 +00:00
|
|
|
# the original file must remain available for compatibility with the CMake
|
2016-01-27 15:23:13 +00:00
|
|
|
# infrastructure. Without compat, cmake points to the symlink, with compat it
|
2024-07-02 21:15:43 +00:00
|
|
|
# points to the original file.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
mv %{buildroot}/%{install_bindir}/llvm-config %{buildroot}/%{install_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
|
|
|
# We still maintain a versionned symlink for consistency across llvm versions.
|
2024-07-02 21:15:43 +00:00
|
|
|
# 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
|
2024-10-02 10:07:38 +00:00
|
|
|
# steps.
|
2024-05-16 16:43:43 +00:00
|
|
|
(cd %{buildroot}/%{install_bindir} ; ln -s llvm-config%{exec_suffix}-%{__isa_bits} llvm-config-%{maj_ver}-%{__isa_bits} )
|
2024-10-02 10:07:38 +00:00
|
|
|
# ghost presence
|
2024-08-28 11:21:20 +00:00
|
|
|
touch %{buildroot}%{_bindir}/llvm-config-%{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
|
|
|
%else
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
rm %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
|
|
|
(cd %{buildroot}/%{install_bindir} ; ln -s llvm-config llvm-config%{exec_suffix}-%{__isa_bits} )
|
2024-10-02 10:07:38 +00:00
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# ghost presence
|
2024-05-16 16:43:43 +00:00
|
|
|
touch %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%if %{with bundle_compat_lib}
|
2024-07-22 08:24:04 +00:00
|
|
|
install -m 0755 ../llvm-compat-libs/lib/libLLVM.so.%{compat_maj_ver}* %{buildroot}%{_libdir}
|
|
|
|
install -m 0755 ../llvm-compat-libs/lib/libclang.so.%{compat_maj_ver}* %{buildroot}%{_libdir}
|
|
|
|
install -m 0755 ../llvm-compat-libs/lib/libclang-cpp.so.%{compat_maj_ver}* %{buildroot}%{_libdir}
|
2024-10-31 12:38:34 +00:00
|
|
|
install -m 0755 ../llvm-compat-libs/lib/liblldb.so.%{compat_maj_ver}* %{buildroot}%{_libdir}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion install
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#region check
|
2024-10-02 10:07:38 +00:00
|
|
|
%check
|
2024-07-02 21:15:43 +00:00
|
|
|
# TODO(kkleine): Instead of deleting test files we should mark them as expected
|
|
|
|
# to fail. See https://llvm.org/docs/CommandGuide/lit.html#cmdoption-lit-xfail
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-14 10:15:15 +00:00
|
|
|
%ifarch ppc64le
|
2017-08-25 13:40:02 +00:00
|
|
|
# TODO: Re-enable when ld.gold fixed its internal error.
|
2024-08-28 11:21:20 +00:00
|
|
|
rm llvm/test/tools/gold/PowerPC/mtriple.ll
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# non reproducible errors
|
|
|
|
# TODO(kkleine): Add this to XFAIL instead?
|
2024-05-16 16:43:43 +00:00
|
|
|
rm llvm/test/tools/dsymutil/X86/swift-interface.test
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{with check}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
|
|
|
cd llvm
|
|
|
|
|
2017-08-25 13:40:02 +00:00
|
|
|
#region Helper functions
|
2024-07-16 10:29:26 +00:00
|
|
|
# Call this function before setting up a next component to test.
|
2017-08-25 13:40:02 +00:00
|
|
|
function reset_test_opts()
|
2024-10-02 10:07:38 +00:00
|
|
|
{
|
2024-07-16 10:29:26 +00:00
|
|
|
# Some libraries will not be found if we don't set this
|
2024-05-16 16:43:43 +00:00
|
|
|
export LD_LIBRARY_PATH="%{buildroot}/%{install_libdir}:%{buildroot}/%{_libdir}";
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# See https://llvm.org/docs/CommandGuide/lit.html#general-options
|
2024-10-10 13:23:07 +00:00
|
|
|
export LIT_OPTS="-vv --time-tests"
|
2024-10-30 10:28:03 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
# Set to mark tests as expected to fail.
|
2024-07-02 21:15:43 +00:00
|
|
|
# See https://llvm.org/docs/CommandGuide/lit.html#cmdoption-lit-xfail
|
2024-10-02 10:07:38 +00:00
|
|
|
unset LIT_XFAIL
|
2024-10-17 15:17:24 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
# Set to mark tests to not even run.
|
2024-07-02 21:15:43 +00:00
|
|
|
# See https://llvm.org/docs/CommandGuide/lit.html#cmdoption-lit-filter-out
|
2024-07-16 10:29:26 +00:00
|
|
|
# Unfortunately LIT_FILTER_OUT is not accepting a list but a regular expression.
|
2024-05-16 16:43:43 +00:00
|
|
|
# To make this easily maintainable, we'll create an associate array in bash,
|
2024-07-16 10:29:26 +00:00
|
|
|
# to which you can append and later we'll join that array and escape dots (".")
|
2016-01-27 15:23:13 +00:00
|
|
|
# in your test paths. The following line resets this array.
|
2024-07-22 08:24:04 +00:00
|
|
|
# See also the function "test_list_to_regex".
|
2024-10-02 10:07:38 +00:00
|
|
|
test_list_filter_out=()
|
2024-07-22 08:24:04 +00:00
|
|
|
unset LIT_FILTER_OUT
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
# Set for filtering out unit tests.
|
2024-08-28 11:21:20 +00:00
|
|
|
# See http://google.github.io/googletest/advanced.html#running-a-subset-of-the-tests
|
2024-10-02 10:07:38 +00:00
|
|
|
unset GTEST_FILTER
|
|
|
|
}
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# Convert array of test names into a regex.
|
2016-01-27 15:23:13 +00:00
|
|
|
# Call this function with an indexed array.
|
2024-10-02 10:07:38 +00:00
|
|
|
#
|
|
|
|
# Example:
|
|
|
|
#
|
|
|
|
# testlist=()
|
|
|
|
# testlist+=("foo")
|
|
|
|
# testlist+=("bar")
|
2024-07-02 21:15:43 +00:00
|
|
|
# export LIT_FILTER_OUT=$(test_list_to_regex testlist)
|
2024-10-02 10:07:38 +00:00
|
|
|
#
|
2024-07-02 21:15:43 +00:00
|
|
|
# Then $LIT_FILTER_OUT should evaluate to: (foo|bar)
|
2016-01-27 15:23:13 +00:00
|
|
|
function test_list_to_regex()
|
2024-10-02 10:07:38 +00:00
|
|
|
{
|
|
|
|
local -n arr=$1
|
2024-07-02 21:15:43 +00:00
|
|
|
# Prepare LIT_FILTER_OUT regex from index bash array
|
2024-05-16 16:43:43 +00:00
|
|
|
# Join each element with a pipe symbol (regex for "or")
|
2024-08-28 11:21:20 +00:00
|
|
|
arr=$(printf "|%s" "${arr[@]}")
|
2024-05-16 16:43:43 +00:00
|
|
|
# Remove the initial pipe symbol
|
2024-10-02 10:07:38 +00:00
|
|
|
arr=${arr:1}
|
2024-08-28 11:21:20 +00:00
|
|
|
# Properly escape path dots (".") for use in regular expression
|
2024-10-02 10:07:38 +00:00
|
|
|
arr=$(echo $arr | sed 's/\./\\./g')
|
2024-05-16 16:43:43 +00:00
|
|
|
# Add enclosing parenthesis
|
2024-10-02 10:07:38 +00:00
|
|
|
echo "($arr)"
|
|
|
|
}
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion Helper functions
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2017-08-25 13:40:02 +00:00
|
|
|
#region Test LLVM lit
|
2024-08-28 11:21:20 +00:00
|
|
|
# It's fine to always run this, even if we're not shipping python-lit.
|
2024-10-02 10:07:38 +00:00
|
|
|
reset_test_opts
|
2024-07-02 21:15:43 +00:00
|
|
|
%cmake_build --target check-lit
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion Test LLVM lit
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2017-08-25 13:40:02 +00:00
|
|
|
#region Test LLVM
|
2024-10-02 10:07:38 +00:00
|
|
|
reset_test_opts
|
2024-07-22 08:24:04 +00:00
|
|
|
# Xfail testing of update utility tools
|
2024-05-16 16:43:43 +00:00
|
|
|
export LIT_XFAIL="tools/UpdateTestChecks"
|
2024-10-02 10:07:38 +00:00
|
|
|
%cmake_build --target check-llvm
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion Test LLVM
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region Test CLANG
|
2024-10-02 10:07:38 +00:00
|
|
|
reset_test_opts
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;clang/test/CodeGen/profile-filter.c"
|
2024-07-22 08:24:04 +00:00
|
|
|
%cmake_build --target check-clang
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion Test Clang
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region Test Clang Tools
|
2024-10-02 10:07:38 +00:00
|
|
|
reset_test_opts
|
|
|
|
%ifarch %ix86
|
2024-07-02 21:15:43 +00:00
|
|
|
# Clang Tools :: clang-tidy/checkers/altera/struct-pack-align.cpp
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;clang-tidy/checkers/altera/struct-pack-align.cpp"
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-07-22 08:24:04 +00:00
|
|
|
%cmake_build --target check-clang-tools
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion Test Clang Tools
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region Test OPENMP
|
2024-10-02 10:07:38 +00:00
|
|
|
reset_test_opts
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
# TODO(kkleine): OpenMP tests are currently not run on rawhide (see https://bugzilla.redhat.com/show_bug.cgi?id=2252966):
|
2024-10-02 10:07:38 +00:00
|
|
|
#
|
2024-07-02 21:15:43 +00:00
|
|
|
# + /usr/bin/cmake --build redhat-linux-build -j6 --verbose --target check-openmp
|
|
|
|
# Change Dir: '/builddir/build/BUILD/openmp-17.0.6.src/redhat-linux-build'
|
|
|
|
# Run Build Command(s): /usr/bin/ninja-build -v -j 6 check-openmp
|
|
|
|
# [1/1] cd /builddir/build/BUILD/openmp-17.0.6.src/redhat-linux-build && /usr/bin/cmake -E echo check-openmp\ does\ nothing,\ dependencies\ not\ found.
|
2024-10-02 10:07:38 +00:00
|
|
|
#
|
2024-07-22 08:24:04 +00:00
|
|
|
# We're marking the tests that are failing with the follwing error as expected to fail (XFAIL):
|
2024-10-02 10:07:38 +00:00
|
|
|
#
|
2024-08-28 11:21:20 +00:00
|
|
|
# gdb.error: No symbol "ompd_sizeof____kmp_gtid" in current context
|
2024-10-02 10:07:38 +00:00
|
|
|
#
|
2024-07-16 10:29:26 +00:00
|
|
|
# NOTE: It could be a different symbol in some tests.
|
2016-01-27 15:23:13 +00:00
|
|
|
export LIT_XFAIL="api_tests/test_ompd_get_curr_task_handle.c"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_enclosing_parallel_handle.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_generating_task_handle.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_icv_from_scope.c"
|
2016-01-27 15:23:13 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_scheduling_task_handle.c"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_state.c"
|
2016-01-27 15:23:13 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_task_frame.c"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_task_function.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_task_in_parallel.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_task_parallel_handle.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_thread_id.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_thread_in_parallel.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_parallel_handle_compare.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_rel_parallel_handle.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_rel_task_handle.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_rel_thread_handle.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_task_handle_compare.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_thread_handle_compare.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;openmp_examples/ompd_icvs.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_curr_parallel_handle.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_display_control_vars.c"
|
2016-01-27 15:23:13 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api_tests/test_ompd_get_thread_handle.c"
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
# The following test is flaky and we'll filter it out
|
2024-08-28 11:21:20 +00:00
|
|
|
test_list_filter_out+=("libomp :: ompt/teams/distribute_dispatch.c")
|
2024-05-16 16:43:43 +00:00
|
|
|
test_list_filter_out+=("libomp :: affinity/kmp-abs-hw-subset.c")
|
2024-08-28 11:21:20 +00:00
|
|
|
test_list_filter_out+=("libomp :: parallel/bug63197.c")
|
2024-10-04 12:27:27 +00:00
|
|
|
test_list_filter_out+=("libomp :: tasking/issue-69733.c")
|
2024-07-22 08:24:04 +00:00
|
|
|
test_list_filter_out+=("libarcher :: races/task-taskgroup-unrelated.c")
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
# These tests fail more often than not, but not always.
|
2024-07-02 21:15:43 +00:00
|
|
|
test_list_filter_out+=("libomp :: worksharing/for/omp_collapse_many_GELTGT_int.c")
|
|
|
|
test_list_filter_out+=("libomp :: worksharing/for/omp_collapse_many_GTGEGT_int.c")
|
|
|
|
test_list_filter_out+=("libomp :: worksharing/for/omp_collapse_many_LTLEGE_int.c")
|
|
|
|
test_list_filter_out+=("libomp :: worksharing/for/omp_collapse_one_int.c")
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-10 13:23:07 +00:00
|
|
|
%ifarch s390x
|
|
|
|
test_list_filter_out+=("libomp :: flush/omp_flush.c")
|
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
# The following tests seem pass on ppc64le and x86_64 and aarch64 only:
|
2024-08-14 10:15:15 +00:00
|
|
|
%ifnarch ppc64le x86_64 s390x aarch64
|
2024-07-22 08:24:04 +00:00
|
|
|
# Passes on ppc64le:
|
2024-07-02 21:15:43 +00:00
|
|
|
# libomptarget :: powerpc64le-ibm-linux-gnu :: mapping/target_derefence_array_pointrs.cpp
|
|
|
|
# libomptarget :: powerpc64le-ibm-linux-gnu-LTO :: mapping/target_derefence_array_pointrs.cpp
|
2024-10-02 10:07:38 +00:00
|
|
|
# Passes on x86_64:
|
2024-07-02 21:15:43 +00:00
|
|
|
# libomptarget :: x86_64-pc-linux-gnu :: mapping/target_derefence_array_pointrs.cpp
|
|
|
|
# libomptarget :: x86_64-pc-linux-gnu-LTO :: mapping/target_derefence_array_pointrs.cpp
|
|
|
|
# Passes on s390x:
|
|
|
|
# libomptarget :: s390x-ibm-linux-gnu :: mapping/target_derefence_array_pointrs.cpp
|
|
|
|
# libomptarget :: s390x-ibm-linux-gnu-LTO :: mapping/target_derefence_array_pointrs.cpp
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;mapping/target_derefence_array_pointrs.cpp"
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifnarch x86_64
|
|
|
|
# Passes on x86_64:
|
2024-07-02 21:15:43 +00:00
|
|
|
# libomptarget :: x86_64-pc-linux-gnu :: api/ompx_3d.c
|
|
|
|
# libomptarget :: x86_64-pc-linux-gnu :: api/ompx_3d.cpp
|
|
|
|
# libomptarget :: x86_64-pc-linux-gnu-LTO :: api/ompx_3d.c
|
|
|
|
# libomptarget :: x86_64-pc-linux-gnu-LTO :: api/ompx_3d.cpp
|
|
|
|
# libomptarget :: aarch64-unknown-linux-gnu ::
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api/ompx_3d.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api/ompx_3d.cpp"
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-14 10:15:15 +00:00
|
|
|
%ifarch ppc64le
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;barrier/barrier.c"
|
2016-01-27 15:23:13 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;critical/critical.c"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;critical/lock-nested.c"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;critical/lock.c"
|
2016-01-27 15:23:13 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;parallel/parallel-firstprivate.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;parallel/parallel-nosuppression.c"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;parallel/parallel-simple.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;parallel/parallel-simple2.c"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;races/critical-unrelated.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;races/lock-nested-unrelated.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;races/lock-unrelated.c"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;races/parallel-simple.c"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;races/task-dependency.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;races/task-taskgroup-unrelated.c"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;races/task-taskwait-nested.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;races/task-two.c"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;races/taskwait-depend.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;reduction/parallel-reduction-nowait.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;reduction/parallel-reduction.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;task/omp_task_depend_all.c"
|
2016-01-27 15:23:13 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;task/task-barrier.c"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;task/task-create.c"
|
2016-01-27 15:23:13 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;task/task-dependency.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;task/task-taskgroup-nested.c"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;task/task-taskgroup.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;task/task-taskwait-nested.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;task/task-taskwait.c"
|
2016-01-27 15:23:13 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;task/task_early_fulfill.c"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;task/task_late_fulfill.c"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;task/taskwait-depend.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;worksharing/ordered.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api/omp_dynamic_shared_memory.c"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;jit/empty_kernel_lvl1.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;jit/empty_kernel_lvl2.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;jit/type_punning.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/barrier_fence.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/bug49334.cpp"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/default_thread_limit.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/ompx_bare.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/ompx_coords.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/ompx_saxpy_mixed.c"
|
2024-07-22 08:24:04 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/small_trip_count.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/small_trip_count_thread_limit.cpp"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/spmdization.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/target_critical_region.cpp"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/thread_limit.c"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;api/omp_dynamic_shared_memory.c"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;jit/empty_kernel_lvl1.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;jit/empty_kernel_lvl2.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;jit/type_punning.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/barrier_fence.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/bug49334.cpp"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/default_thread_limit.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/ompx_bare.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/ompx_coords.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/ompx_saxpy_mixed.c"
|
2024-07-22 08:24:04 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/small_trip_count.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/small_trip_count_thread_limit.cpp"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/spmdization.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/target_critical_region.cpp"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/thread_limit.c"
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;mapping/auto_zero_copy.cpp"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;mapping/auto_zero_copy_globals.cpp"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/workshare_chunk.c"
|
2017-09-08 23:45:30 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;ompt/target_memcpy.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;ompt/target_memcpy_emi.c"
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-14 10:15:15 +00:00
|
|
|
%ifarch s390x ppc64le
|
2024-07-02 21:15:43 +00:00
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/thread_state_1.c"
|
|
|
|
export LIT_XFAIL="$LIT_XFAIL;offloading/thread_state_2.c"
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
export LIT_FILTER_OUT=$(test_list_to_regex test_list_filter_out)
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
%cmake_build --target check-openmp
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion Test OPENMP
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2012-02-24 09:59:11 +00:00
|
|
|
%if %{with lldb}
|
2024-07-22 08:24:04 +00:00
|
|
|
# Don't run LLDB tests on s390x because more than 150 tests are failing there
|
2024-10-02 10:07:38 +00:00
|
|
|
%ifnarch s390x
|
2016-01-27 15:23:13 +00:00
|
|
|
## TODO(kkleine): Come back and re-enable testing for LLDB
|
2024-07-05 19:19:24 +00:00
|
|
|
## #region LLDB unit tests
|
|
|
|
## reset_test_opts
|
2024-07-02 21:15:43 +00:00
|
|
|
## %%cmake_build --target check-lldb-unit
|
2024-10-02 11:03:59 +00:00
|
|
|
## #endregion LLDB unit tests
|
2024-10-02 10:07:38 +00:00
|
|
|
##
|
2024-07-05 19:19:24 +00:00
|
|
|
## #region LLDB SB API tests
|
|
|
|
## reset_test_opts
|
2024-07-02 21:15:43 +00:00
|
|
|
## %%cmake_build --target check-lldb-api
|
2024-10-02 11:03:59 +00:00
|
|
|
## #endregion LLDB SB API tests
|
2024-10-02 10:07:38 +00:00
|
|
|
##
|
2024-07-05 19:19:24 +00:00
|
|
|
## #region LLDB shell tests
|
|
|
|
## reset_test_opts
|
2024-07-02 21:15:43 +00:00
|
|
|
## %%cmake_build --target check-lldb-shell
|
2024-10-02 11:03:59 +00:00
|
|
|
## #endregion LLDB shell tests
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region Test LLD
|
2024-10-02 10:07:38 +00:00
|
|
|
reset_test_opts
|
2024-07-02 21:15:43 +00:00
|
|
|
%cmake_build --target check-lld
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion Test LLD
|
2024-10-02 10:07:38 +00:00
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
%if %{with snapshot_build}
|
2024-07-02 21:15:43 +00:00
|
|
|
# Do this here instead of in install so the check targets are also included.
|
2024-07-22 08:24:04 +00:00
|
|
|
cp %{_vpath_builddir}/.ninja_log %{buildroot}%{pkg_datadir}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion check
|
|
|
|
|
|
|
|
#region misc
|
2024-08-28 11:21:20 +00:00
|
|
|
%ldconfig_scriptlets -n %{pkg_name-llvm}-libs
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
%ldconfig_scriptlets -n %{pkg_name_lld}-libs
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2023-10-12 09:15:14 +00:00
|
|
|
%post -n %{pkg_name_llvm}-devel
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config%{exec_suffix} llvm-config%{exec_suffix} %{install_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits}
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-05-08 11:04:38 +00:00
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config-%{maj_ver} llvm-config-%{maj_ver} %{install_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
# During the upgrade from LLVM 16 (F38) to LLVM 17 (F39), we found out the
|
|
|
|
# main llvm-devel package was leaving entries in the alternatives system.
|
|
|
|
# Try to remove them now.
|
|
|
|
for v in 14 15 16; do
|
|
|
|
if [[ -e %{_bindir}/llvm-config-$v
|
|
|
|
&& "x$(%{_bindir}/llvm-config-$v --version | awk -F . '{ print $1 }')" != "x$v" ]]; then
|
|
|
|
%{_sbindir}/update-alternatives --remove llvm-config-$v %{install_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
2024-10-02 10:07:38 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
|
2023-10-12 09:15:14 +00:00
|
|
|
%postun -n %{pkg_name_llvm}-devel
|
2017-03-23 10:39:17 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_sbindir}/update-alternatives --remove llvm-config%{exec_suffix} %{install_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
2024-10-02 10:07:38 +00:00
|
|
|
fi
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2023-11-10 21:58:54 +00:00
|
|
|
# When upgrading between minor versions (i.e. from x.y.1 to x.y.2), we must
|
|
|
|
# not remove the alternative.
|
|
|
|
# However, during a major version upgrade (i.e. from 16.x.y to 17.z.w), the
|
|
|
|
# alternative must be removed in order to give priority to a newly installed
|
|
|
|
# compat package.
|
|
|
|
if [[ $1 -eq 0
|
2024-10-21 08:00:27 +00:00
|
|
|
|| "x$(%{_bindir}/llvm-config%{exec_suffix} --version | awk -F . '{ print $1 }')" != "x%{maj_ver}" ]]; then
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_sbindir}/update-alternatives --remove llvm-config-%{maj_ver} %{install_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
2024-10-02 10:07:38 +00:00
|
|
|
fi
|
|
|
|
%endif
|
|
|
|
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
%post -n %{pkg_name_lld}
|
2024-08-02 10:26:55 +00:00
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/ld ld %{_bindir}/ld.lld 1
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%postun -n %{pkg_name_lld}
|
2024-08-02 10:26:55 +00:00
|
|
|
if [ $1 -eq 0 ] ; then
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_sbindir}/update-alternatives --remove ld %{_bindir}/ld.lld
|
2024-10-02 10:07:38 +00:00
|
|
|
fi
|
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion misc
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#region files
|
2024-07-02 21:15:43 +00:00
|
|
|
#region LLVM lit files
|
|
|
|
%if %{with python_lit}
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n python%{python3_pkgversion}-lit
|
2017-09-08 23:45:30 +00:00
|
|
|
%license llvm/utils/lit/LICENSE.TXT
|
2024-08-28 11:21:20 +00:00
|
|
|
%doc llvm/utils/lit/README.rst
|
2024-07-02 21:15:43 +00:00
|
|
|
%{python3_sitelib}/lit/
|
|
|
|
%{python3_sitelib}/lit-*-info/
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_bindir}/lit
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLVM lit files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region LLVM files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_llvm}
|
2023-01-19 19:45:58 +00:00
|
|
|
%license llvm/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%exclude %{_mandir}/man1/llvm-config*
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_mandir}/man1/bugpoint%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/clang-tblgen%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/dsymutil%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/FileCheck%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/lit%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llc%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/lldb-tblgen%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/lli%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-addr2line%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-ar%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-as%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-bcanalyzer%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-cov%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-cxxfilt%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-cxxmap%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-debuginfo-analyzer%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-diff%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-dis%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-dwarfdump%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-dwarfutil%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-exegesis%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-extract%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-ifs%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-install-name-tool%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-lib%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-libtool-darwin%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-link%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-lipo%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-locstats%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-mc%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-mca%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-nm%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-objcopy%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-objdump%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-opt-report%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-otool%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-pdbutil%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-profdata%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-profgen%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-ranlib%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-readelf%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-readobj%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-reduce%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-remarkutil%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-size%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-stress%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-strings%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-strip%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-symbolizer%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-tblgen%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/llvm-tli-checker%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/mlir-tblgen%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/opt%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/tblgen%{exec_suffix}.1.gz
|
2024-09-11 08:08:23 +00:00
|
|
|
%if %{maj_ver} >= 20
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_mandir}/man1/llvm-cgdata%{exec_suffix}.1.gz
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/bugpoint
|
|
|
|
%{install_bindir}/dsymutil
|
|
|
|
%{install_bindir}/FileCheck
|
|
|
|
%{install_bindir}/llc
|
|
|
|
%{install_bindir}/lli
|
|
|
|
%{install_bindir}/llvm-addr2line
|
|
|
|
%{install_bindir}/llvm-ar
|
|
|
|
%{install_bindir}/llvm-as
|
|
|
|
%{install_bindir}/llvm-bcanalyzer
|
|
|
|
%{install_bindir}/llvm-bitcode-strip
|
|
|
|
%{install_bindir}/llvm-c-test
|
|
|
|
%{install_bindir}/llvm-cat
|
|
|
|
%{install_bindir}/llvm-cfi-verify
|
|
|
|
%{install_bindir}/llvm-cov
|
|
|
|
%{install_bindir}/llvm-cvtres
|
|
|
|
%{install_bindir}/llvm-cxxdump
|
|
|
|
%{install_bindir}/llvm-cxxfilt
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_bindir}/llvm-cxxmap
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/llvm-debuginfo-analyzer
|
|
|
|
%{install_bindir}/llvm-debuginfod
|
|
|
|
%{install_bindir}/llvm-debuginfod-find
|
|
|
|
%{install_bindir}/llvm-diff
|
|
|
|
%{install_bindir}/llvm-dis
|
|
|
|
%{install_bindir}/llvm-dlltool
|
|
|
|
%{install_bindir}/llvm-dwarfdump
|
|
|
|
%{install_bindir}/llvm-dwarfutil
|
|
|
|
%{install_bindir}/llvm-dwp
|
|
|
|
%{install_bindir}/llvm-exegesis
|
|
|
|
%{install_bindir}/llvm-extract
|
|
|
|
%{install_bindir}/llvm-gsymutil
|
|
|
|
%{install_bindir}/llvm-ifs
|
2024-05-08 11:04:38 +00:00
|
|
|
%{install_bindir}/llvm-install-name-tool
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/llvm-jitlink
|
|
|
|
%{install_bindir}/llvm-jitlink-executor
|
|
|
|
%{install_bindir}/llvm-lib
|
|
|
|
%{install_bindir}/llvm-libtool-darwin
|
|
|
|
%{install_bindir}/llvm-link
|
|
|
|
%{install_bindir}/llvm-lipo
|
|
|
|
%{install_bindir}/llvm-lto
|
|
|
|
%{install_bindir}/llvm-lto2
|
|
|
|
%{install_bindir}/llvm-mc
|
|
|
|
%{install_bindir}/llvm-mca
|
|
|
|
%{install_bindir}/llvm-ml
|
|
|
|
%{install_bindir}/llvm-modextract
|
|
|
|
%{install_bindir}/llvm-mt
|
|
|
|
%{install_bindir}/llvm-nm
|
|
|
|
%{install_bindir}/llvm-objcopy
|
|
|
|
%{install_bindir}/llvm-objdump
|
|
|
|
%{install_bindir}/llvm-opt-report
|
|
|
|
%{install_bindir}/llvm-otool
|
|
|
|
%{install_bindir}/llvm-pdbutil
|
|
|
|
%{install_bindir}/llvm-PerfectShuffle
|
|
|
|
%{install_bindir}/llvm-profdata
|
|
|
|
%{install_bindir}/llvm-profgen
|
|
|
|
%{install_bindir}/llvm-ranlib
|
|
|
|
%{install_bindir}/llvm-rc
|
|
|
|
%{install_bindir}/llvm-readelf
|
|
|
|
%{install_bindir}/llvm-readobj
|
|
|
|
%{install_bindir}/llvm-readtapi
|
|
|
|
%{install_bindir}/llvm-reduce
|
|
|
|
%{install_bindir}/llvm-remarkutil
|
|
|
|
%{install_bindir}/llvm-rtdyld
|
|
|
|
%{install_bindir}/llvm-sim
|
|
|
|
%{install_bindir}/llvm-size
|
|
|
|
%{install_bindir}/llvm-split
|
|
|
|
%{install_bindir}/llvm-stress
|
|
|
|
%{install_bindir}/llvm-strings
|
|
|
|
%{install_bindir}/llvm-strip
|
|
|
|
%{install_bindir}/llvm-symbolizer
|
|
|
|
%{install_bindir}/llvm-tblgen
|
|
|
|
%{install_bindir}/llvm-tli-checker
|
|
|
|
%{install_bindir}/llvm-undname
|
|
|
|
%{install_bindir}/llvm-windres
|
|
|
|
%{install_bindir}/llvm-xray
|
|
|
|
%{install_bindir}/reduce-chunk-list
|
|
|
|
%{install_bindir}/obj2yaml
|
|
|
|
%{install_bindir}/opt
|
|
|
|
%{install_bindir}/sancov
|
|
|
|
%{install_bindir}/sanstats
|
|
|
|
%{install_bindir}/split-file
|
|
|
|
%{install_bindir}/UnicodeNameMappingGenerator
|
|
|
|
%{install_bindir}/verify-uselistorder
|
|
|
|
%{install_bindir}/yaml2obj
|
2024-09-11 08:08:23 +00:00
|
|
|
%if %{maj_ver} >= 20
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/llvm-cgdata
|
|
|
|
%{install_bindir}/llvm-ctxprof-util
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{with compat_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
# This is for all the binaries with the version suffix.
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_bindir}/bugpoint%{exec_suffix}
|
|
|
|
%{_bindir}/dsymutil%{exec_suffix}
|
|
|
|
%{_bindir}/FileCheck%{exec_suffix}
|
|
|
|
%{_bindir}/llc%{exec_suffix}
|
|
|
|
%{_bindir}/lli%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-addr2line%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-ar%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-as%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-bcanalyzer%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-bitcode-strip%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-c-test%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-cat%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-cfi-verify%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-cov%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-cvtres%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-cxxdump%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-cxxfilt%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-cxxmap%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-debuginfo-analyzer%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-debuginfod%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-debuginfod-find%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-diff%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-dis%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-dlltool%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-dwarfdump%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-dwarfutil%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-dwp%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-exegesis%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-extract%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-gsymutil%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-ifs%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-install-name-tool%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-jitlink%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-jitlink-executor%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-lib%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-libtool-darwin%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-link%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-lipo%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-lto%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-lto2%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-mc%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-mca%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-ml%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-modextract%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-mt%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-nm%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-objcopy%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-objdump%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-opt-report%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-otool%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-pdbutil%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-PerfectShuffle%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-profdata%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-profgen%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-ranlib%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-rc%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-readelf%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-readobj%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-readtapi%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-reduce%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-remarkutil%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-rtdyld%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-sim%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-size%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-split%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-stress%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-strings%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-strip%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-symbolizer%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-tblgen%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-tli-checker%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-undname%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-windres%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-xray%{exec_suffix}
|
|
|
|
%{_bindir}/reduce-chunk-list%{exec_suffix}
|
|
|
|
%{_bindir}/obj2yaml%{exec_suffix}
|
|
|
|
%{_bindir}/opt%{exec_suffix}
|
|
|
|
%{_bindir}/sancov%{exec_suffix}
|
|
|
|
%{_bindir}/sanstats%{exec_suffix}
|
|
|
|
%{_bindir}/split-file%{exec_suffix}
|
|
|
|
%{_bindir}/UnicodeNameMappingGenerator%{exec_suffix}
|
|
|
|
%{_bindir}/verify-uselistorder%{exec_suffix}
|
|
|
|
%{_bindir}/yaml2obj%{exec_suffix}
|
2024-09-11 08:08:23 +00:00
|
|
|
%if %{maj_ver} >= 20
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_bindir}/llvm-cgdata%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-ctxprof-util%{exec_suffix}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
%exclude %{_bindir}/llvm-config%{exec_suffix}
|
|
|
|
%exclude %{install_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%exclude %{_bindir}/llvm-config-%{maj_ver}
|
2024-05-16 16:43:43 +00:00
|
|
|
%exclude %{install_bindir}/llvm-config-%{maj_ver}-%{__isa_bits}
|
|
|
|
%exclude %{install_bindir}/not
|
|
|
|
%exclude %{install_bindir}/count
|
|
|
|
%exclude %{install_bindir}/yaml-bench
|
|
|
|
%exclude %{install_bindir}/lli-child-target
|
|
|
|
%exclude %{install_bindir}/llvm-isel-fuzzer
|
|
|
|
%exclude %{install_bindir}/llvm-opt-fuzzer
|
2024-07-22 08:24:04 +00:00
|
|
|
%{pkg_datadir}/opt-viewer
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_llvm}-libs
|
2023-01-19 19:45:58 +00:00
|
|
|
%license llvm/LICENSE.TXT
|
2024-11-07 10:20:13 +00:00
|
|
|
%{install_libdir}/libLLVM-%{maj_ver}%{?llvm_snapshot_version_suffix}.so
|
2012-02-24 09:59:11 +00:00
|
|
|
%if %{with gold}
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/LLVMgold.so
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-07-22 08:24:04 +00:00
|
|
|
%{_libdir}/bfd-plugins/LLVMgold.so
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
2024-11-07 10:20:13 +00:00
|
|
|
%{install_libdir}/libLLVM.so.%{maj_ver}.%{min_ver}%{?llvm_snapshot_version_suffix}
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/libLTO.so*
|
|
|
|
%{install_libdir}/libRemarks.so*
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{with compat_build}
|
2024-07-22 08:24:04 +00:00
|
|
|
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-08-28 11:21:20 +00:00
|
|
|
%if %{with bundle_compat_lib}
|
2024-07-22 08:24:04 +00:00
|
|
|
%{_libdir}/libLLVM.so.%{compat_maj_ver}*
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_llvm}-devel
|
2023-01-19 19:45:58 +00:00
|
|
|
%license llvm/LICENSE.TXT
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-05-16 16:43:43 +00:00
|
|
|
%ghost %{_bindir}/llvm-config
|
|
|
|
%{install_bindir}/llvm-config-%{__isa_bits}
|
2024-10-02 10:07:38 +00:00
|
|
|
%else
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/llvm-config
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-08-28 11:21:20 +00:00
|
|
|
%ghost %{_bindir}/llvm-config-%{maj_ver}
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/llvm-config-%{maj_ver}-%{__isa_bits}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_mandir}/man1/llvm-config*
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_includedir}/llvm
|
|
|
|
%{install_includedir}/llvm-c
|
|
|
|
%{install_libdir}/libLLVM.so
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_libdir}/cmake/llvm
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_llvm}-doc
|
2023-01-19 19:45:58 +00:00
|
|
|
%license llvm/LICENSE.TXT
|
2024-10-02 10:07:38 +00:00
|
|
|
%doc %{_pkgdocdir}/html
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_llvm}-static
|
2023-01-19 19:45:58 +00:00
|
|
|
%license llvm/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/libLLVM*.a
|
|
|
|
%exclude %{install_libdir}/libLLVMTestingSupport.a
|
|
|
|
%exclude %{install_libdir}/libLLVMTestingAnnotations.a
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_llvm}-cmake-utils
|
2023-01-19 19:45:58 +00:00
|
|
|
%license llvm/LICENSE.TXT
|
2024-07-22 08:24:04 +00:00
|
|
|
%{pkg_datadir}/llvm/cmake
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_llvm}-test
|
2023-01-19 19:45:58 +00:00
|
|
|
%license llvm/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/not
|
|
|
|
%{install_bindir}/count
|
|
|
|
%{install_bindir}/yaml-bench
|
|
|
|
%{install_bindir}/lli-child-target
|
|
|
|
%{install_bindir}/llvm-isel-fuzzer
|
|
|
|
%{install_bindir}/llvm-opt-fuzzer
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{with compat_build}
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_bindir}/not%{exec_suffix}
|
|
|
|
%{_bindir}/count%{exec_suffix}
|
|
|
|
%{_bindir}/yaml-bench%{exec_suffix}
|
|
|
|
%{_bindir}/lli-child-target%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-isel-fuzzer%{exec_suffix}
|
|
|
|
%{_bindir}/llvm-opt-fuzzer%{exec_suffix}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_llvm}-googletest
|
2023-01-19 19:45:58 +00:00
|
|
|
%license llvm/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/libLLVMTestingSupport.a
|
|
|
|
%{install_libdir}/libLLVMTestingAnnotations.a
|
|
|
|
%{install_libdir}/libllvm_gtest.a
|
|
|
|
%{install_libdir}/libllvm_gtest_main.a
|
|
|
|
%{install_includedir}/llvm-gtest
|
|
|
|
%{install_includedir}/llvm-gmock
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
%if %{with snapshot_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_llvm}-build-stats
|
2024-07-22 08:24:04 +00:00
|
|
|
%{pkg_datadir}/.ninja_log
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLVM files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region CLANG files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_clang}
|
2024-10-02 10:07:38 +00:00
|
|
|
%license clang/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/clang
|
|
|
|
%{install_bindir}/clang++
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_bindir}/clang-%{maj_ver}
|
|
|
|
%{install_bindir}/clang++-%{maj_ver}
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/clang-cl
|
|
|
|
%{install_bindir}/clang-cpp
|
|
|
|
%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang.cfg
|
|
|
|
%{_sysconfdir}/%{pkg_name_clang}/%{_target_platform}-clang++.cfg
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_mandir}/man1/clang-%{maj_ver}.1.gz
|
|
|
|
%{_mandir}/man1/clang++-%{maj_ver}.1.gz
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-10-02 10:07:38 +00:00
|
|
|
%{_mandir}/man1/clang.1.gz
|
|
|
|
%{_mandir}/man1/clang++.1.gz
|
|
|
|
%else
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_bindir}/clang-%{maj_ver}
|
|
|
|
%{_bindir}/clang++-%{maj_ver}
|
|
|
|
%{_bindir}/clang-cl-%{maj_ver}
|
|
|
|
%{_bindir}/clang-cpp-%{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_clang}-libs
|
2024-10-02 10:07:38 +00:00
|
|
|
%license clang/LICENSE.TXT
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/include/*
|
2024-07-22 08:24:04 +00:00
|
|
|
%{install_libdir}/libclang.so.%{maj_ver}*
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_libdir}/libclang-cpp.so.%{maj_ver}*
|
|
|
|
%if %{with bundle_compat_lib}
|
2024-07-22 08:24:04 +00:00
|
|
|
%{_libdir}/libclang.so.%{compat_maj_ver}*
|
|
|
|
%{_libdir}/libclang-cpp.so.%{compat_maj_ver}*
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_clang}-devel
|
2024-10-02 10:07:38 +00:00
|
|
|
%license clang/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/libclang-cpp.so
|
|
|
|
%{install_libdir}/libclang.so
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_includedir}/clang/
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_includedir}/clang-c/
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_libdir}/cmake/clang
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/clang-tblgen
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{with compat_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_bindir}/clang-tblgen-%{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-05-16 16:43:43 +00:00
|
|
|
%dir %{install_datadir}/clang/
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
%files -n %{pkg_name_clang}-resource-filesystem
|
2024-10-02 10:07:38 +00:00
|
|
|
%license clang/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%dir %{_prefix}/lib/clang/
|
2024-08-28 11:21:20 +00:00
|
|
|
%dir %{_prefix}/lib/clang/%{maj_ver}/
|
|
|
|
%dir %{_prefix}/lib/clang/%{maj_ver}/bin/
|
|
|
|
%dir %{_prefix}/lib/clang/%{maj_ver}/include/
|
|
|
|
%dir %{_prefix}/lib/clang/%{maj_ver}/lib/
|
|
|
|
%dir %{_prefix}/lib/clang/%{maj_ver}/share/
|
2024-07-22 08:24:04 +00:00
|
|
|
%{_rpmmacrodir}/macros.%{pkg_name_clang}
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_clang}-analyzer
|
2024-10-02 10:07:38 +00:00
|
|
|
%license clang/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/scan-view
|
|
|
|
%{install_bindir}/scan-build
|
|
|
|
%{install_bindir}/analyze-build
|
|
|
|
%{install_bindir}/intercept-build
|
|
|
|
%{install_bindir}/scan-build-py
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{with compat_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_bindir}/scan-view-%{maj_ver}
|
|
|
|
%{_bindir}/scan-build-%{maj_ver}
|
|
|
|
%{_bindir}/analyze-build-%{maj_ver}
|
|
|
|
%{_bindir}/intercept-build-%{maj_ver}
|
|
|
|
%{_bindir}/scan-build-py-%{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libexecdir}/ccc-analyzer
|
|
|
|
%{install_libexecdir}/c++-analyzer
|
|
|
|
%{install_libexecdir}/analyze-c++
|
|
|
|
%{install_libexecdir}/analyze-cc
|
|
|
|
%{install_libexecdir}/intercept-c++
|
|
|
|
%{install_libexecdir}/intercept-cc
|
|
|
|
%{install_datadir}/scan-view/
|
|
|
|
%{install_datadir}/scan-build/
|
|
|
|
%{_mandir}/man1/scan-build%{exec_suffix}.1.*
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-07-02 21:15:43 +00:00
|
|
|
%{python3_sitelib}/libear
|
|
|
|
%{python3_sitelib}/libscanbuild
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_clang}-tools-extra
|
2024-07-02 21:15:43 +00:00
|
|
|
%license clang-tools-extra/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/amdgpu-arch
|
|
|
|
%{install_bindir}/clang-apply-replacements
|
|
|
|
%{install_bindir}/clang-change-namespace
|
|
|
|
%{install_bindir}/clang-check
|
|
|
|
%{install_bindir}/clang-doc
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_bindir}/clang-extdef-mapping
|
|
|
|
%{install_bindir}/clang-format
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/clang-include-cleaner
|
|
|
|
%{install_bindir}/clang-include-fixer
|
2024-05-08 11:04:38 +00:00
|
|
|
%{install_bindir}/clang-installapi
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/clang-move
|
|
|
|
%{install_bindir}/clang-offload-bundler
|
2024-07-02 21:15:43 +00:00
|
|
|
%{install_bindir}/clang-offload-packager
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/clang-linker-wrapper
|
|
|
|
%{install_bindir}/clang-nvlink-wrapper
|
|
|
|
%{install_bindir}/clang-query
|
|
|
|
%{install_bindir}/clang-refactor
|
|
|
|
%{install_bindir}/clang-reorder-fields
|
|
|
|
%{install_bindir}/clang-repl
|
|
|
|
%{install_bindir}/clang-scan-deps
|
2024-11-01 04:28:33 +00:00
|
|
|
%if %{maj_ver} >= 20
|
|
|
|
%{install_bindir}/clang-sycl-linker
|
|
|
|
%endif
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/clang-tidy
|
|
|
|
%{install_bindir}/clangd
|
|
|
|
%{install_bindir}/diagtool
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_bindir}/hmaptool
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/nvptx-arch
|
|
|
|
%{install_bindir}/pp-trace
|
|
|
|
%{install_bindir}/c-index-test
|
|
|
|
%{install_bindir}/find-all-symbols
|
|
|
|
%{install_bindir}/modularize
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_bindir}/clang-format-diff
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/run-clang-tidy
|
2024-09-11 08:08:23 +00:00
|
|
|
%if %{maj_ver} < 20
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/clang-pseudo
|
|
|
|
%{install_bindir}/clang-rename
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{with compat_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_bindir}/amdgpu-arch-%{maj_ver}
|
|
|
|
%{_bindir}/clang-apply-replacements-%{maj_ver}
|
|
|
|
%{_bindir}/clang-change-namespace-%{maj_ver}
|
|
|
|
%{_bindir}/clang-check-%{maj_ver}
|
|
|
|
%{_bindir}/clang-doc-%{maj_ver}
|
|
|
|
%{_bindir}/clang-extdef-mapping-%{maj_ver}
|
|
|
|
%{_bindir}/clang-format-%{maj_ver}
|
|
|
|
%{_bindir}/clang-include-cleaner-%{maj_ver}
|
|
|
|
%{_bindir}/clang-include-fixer-%{maj_ver}
|
|
|
|
%{_bindir}/clang-installapi-%{maj_ver}
|
|
|
|
%{_bindir}/clang-move-%{maj_ver}
|
|
|
|
%{_bindir}/clang-offload-bundler-%{maj_ver}
|
|
|
|
%{_bindir}/clang-offload-packager-%{maj_ver}
|
|
|
|
%{_bindir}/clang-linker-wrapper-%{maj_ver}
|
|
|
|
%{_bindir}/clang-nvlink-wrapper-%{maj_ver}
|
|
|
|
%{_bindir}/clang-query-%{maj_ver}
|
|
|
|
%{_bindir}/clang-refactor-%{maj_ver}
|
|
|
|
%{_bindir}/clang-reorder-fields-%{maj_ver}
|
|
|
|
%{_bindir}/clang-repl-%{maj_ver}
|
|
|
|
%{_bindir}/clang-scan-deps-%{maj_ver}
|
2024-11-01 04:28:33 +00:00
|
|
|
%if %{maj_ver} >= 20
|
|
|
|
%{_bindir}/clang-sycl-linker-%{maj_ver}
|
|
|
|
%endif
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_bindir}/clang-tidy-%{maj_ver}
|
|
|
|
%{_bindir}/clangd-%{maj_ver}
|
|
|
|
%{_bindir}/diagtool-%{maj_ver}
|
|
|
|
%{_bindir}/hmaptool-%{maj_ver}
|
|
|
|
%{_bindir}/nvptx-arch-%{maj_ver}
|
|
|
|
%{_bindir}/pp-trace-%{maj_ver}
|
|
|
|
%{_bindir}/c-index-test-%{maj_ver}
|
|
|
|
%{_bindir}/find-all-symbols-%{maj_ver}
|
|
|
|
%{_bindir}/modularize-%{maj_ver}
|
|
|
|
%{_bindir}/clang-format-diff-%{maj_ver}
|
|
|
|
%{_bindir}/run-clang-tidy-%{maj_ver}
|
2024-09-11 08:08:23 +00:00
|
|
|
%if %{maj_ver} < 20
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_bindir}/clang-pseudo-%{maj_ver}
|
|
|
|
%{_bindir}/clang-rename-%{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
%else
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_emacs_sitestartdir}/clang-format.el
|
2024-09-11 08:08:23 +00:00
|
|
|
%if %{maj_ver} < 20
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_emacs_sitestartdir}/clang-rename.el
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_emacs_sitestartdir}/clang-include-fixer.el
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_mandir}/man1/diagtool%{exec_suffix}.1.gz
|
|
|
|
%{_mandir}/man1/extraclangtools%{exec_suffix}.1.gz
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_datadir}/clang/clang-format.py*
|
|
|
|
%{install_datadir}/clang/clang-format-diff.py*
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_datadir}/clang/clang-include-fixer.py*
|
|
|
|
%{install_datadir}/clang/clang-tidy-diff.py*
|
|
|
|
%{install_datadir}/clang/run-find-all-symbols.py*
|
2024-09-11 08:08:23 +00:00
|
|
|
%if %{maj_ver} < 20
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_datadir}/clang/clang-rename.py*
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_clang}-tools-extra-devel
|
2024-07-02 21:15:43 +00:00
|
|
|
%license clang-tools-extra/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_includedir}/clang-tidy/
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
%files -n git-clang-format%{pkg_suffix}
|
2024-10-02 10:07:38 +00:00
|
|
|
%license clang/LICENSE.TXT
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_bindir}/git-clang-format
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{with compat_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_bindir}/git-clang-format-%{maj_ver}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n python%{python3_pkgversion}-clang
|
2024-10-02 10:07:38 +00:00
|
|
|
%license clang/LICENSE.TXT
|
2024-07-02 21:15:43 +00:00
|
|
|
%{python3_sitelib}/clang/
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion CLANG files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
#region COMPILER-RT files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_compiler_rt}
|
2024-07-02 21:15:43 +00:00
|
|
|
%license compiler-rt/LICENSE.TXT
|
2018-08-28 05:46:20 +00:00
|
|
|
%ifarch x86_64 aarch64 riscv64
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/bin/hwasan_symbolize
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/include/fuzzer
|
2024-07-22 08:24:04 +00:00
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/include/orc
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/include/profile
|
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/include/sanitizer
|
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/include/xray
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/share/*.txt
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
# Files that appear on all targets
|
2024-07-22 08:24:04 +00:00
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/lib/%{compiler_rt_triple}/libclang_rt.*
|
2024-10-02 10:07:38 +00:00
|
|
|
|
|
|
|
%ifnarch s390x
|
2024-07-22 08:24:04 +00:00
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/lib/%{compiler_rt_triple}/clang_rt.crtbegin.o
|
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/lib/%{compiler_rt_triple}/clang_rt.crtend.o
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2018-08-28 05:46:20 +00:00
|
|
|
%ifnarch %{ix86} s390x
|
2024-07-22 08:24:04 +00:00
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/lib/%{compiler_rt_triple}/liborc_rt.a
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
# Additional symlink if two triples are in use.
|
2024-08-28 11:21:20 +00:00
|
|
|
%if "%{llvm_triple}" != "%{compiler_rt_triple}"
|
2024-07-22 08:24:04 +00:00
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion COMPILER-RT files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region OPENMP files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_libomp}
|
2024-10-02 10:07:38 +00:00
|
|
|
%license openmp/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/libomp.so
|
|
|
|
%{install_libdir}/libompd.so
|
2024-07-22 08:24:04 +00:00
|
|
|
%{install_libdir}/libarcher.so
|
2018-08-28 05:46:20 +00:00
|
|
|
%ifnarch %{ix86}
|
2024-07-16 10:29:26 +00:00
|
|
|
# libomptarget is not supported on 32-bit systems.
|
|
|
|
# s390x does not support the offloading plugins.
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/libomptarget.so.%{so_suffix}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_libomp}-devel
|
2024-10-02 10:07:38 +00:00
|
|
|
%license openmp/LICENSE.TXT
|
2024-08-28 11:21:20 +00:00
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/include/omp.h
|
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/include/ompx.h
|
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/include/omp-tools.h
|
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/include/ompt.h
|
|
|
|
%{_prefix}/lib/clang/%{maj_ver}/include/ompt-multiplex.h
|
|
|
|
%{install_libdir}/cmake/openmp/
|
2018-08-28 05:46:20 +00:00
|
|
|
%ifnarch %{ix86}
|
2024-07-16 10:29:26 +00:00
|
|
|
# libomptarget is not supported on 32-bit systems.
|
|
|
|
# s390x does not support the offloading plugins.
|
2024-07-22 08:24:04 +00:00
|
|
|
%{install_libdir}/libomptarget.devicertl.a
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/libomptarget-amdgpu-*.bc
|
|
|
|
%{install_libdir}/libomptarget-nvptx-*.bc
|
2024-07-22 08:24:04 +00:00
|
|
|
%{install_libdir}/libomptarget.so
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion OPENMP files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region LLD files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_lld}
|
2024-10-02 10:07:38 +00:00
|
|
|
%license lld/LICENSE.TXT
|
2024-08-02 10:26:55 +00:00
|
|
|
%ghost %{_bindir}/ld
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/lld
|
|
|
|
%{install_bindir}/lld-link
|
|
|
|
%{install_bindir}/ld.lld
|
|
|
|
%{install_bindir}/ld64.lld
|
|
|
|
%{install_bindir}/wasm-ld
|
2024-02-07 19:36:02 +00:00
|
|
|
%if %{without compat_build}
|
2024-08-02 10:26:55 +00:00
|
|
|
%{_mandir}/man1/ld.lld.1*
|
2024-10-02 10:07:38 +00:00
|
|
|
%else
|
2024-05-16 16:43:43 +00:00
|
|
|
%{_bindir}/lld%{exec_suffix}
|
|
|
|
%{_bindir}/lld-link%{exec_suffix}
|
|
|
|
%{_bindir}/ld.lld%{exec_suffix}
|
|
|
|
%{_bindir}/ld64.lld%{exec_suffix}
|
|
|
|
%{_bindir}/wasm-ld%{exec_suffix}
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_lld}-devel
|
2024-10-02 10:07:38 +00:00
|
|
|
%license lld/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_includedir}/lld
|
|
|
|
%{install_libdir}/liblldCOFF.so
|
|
|
|
%{install_libdir}/liblldCommon.so
|
|
|
|
%{install_libdir}/liblldELF.so
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_libdir}/liblldMachO.so
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/liblldMinGW.so
|
|
|
|
%{install_libdir}/liblldWasm.so
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_libdir}/cmake/lld/
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_lld}-libs
|
2024-10-02 10:07:38 +00:00
|
|
|
%license lld/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/liblldCOFF.so.*
|
|
|
|
%{install_libdir}/liblldCommon.so.*
|
|
|
|
%{install_libdir}/liblldELF.so.*
|
2024-08-28 11:21:20 +00:00
|
|
|
%{install_libdir}/liblldMachO.so.*
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/liblldMinGW.so.*
|
|
|
|
%{install_libdir}/liblldWasm.so.*
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLD files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
#region Toolset files
|
2024-07-16 10:29:26 +00:00
|
|
|
%if 0%{?rhel}
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_llvm}-toolset
|
2024-10-02 10:07:38 +00:00
|
|
|
%license LICENSE.TXT
|
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion Toolset files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
#region LLDB files
|
2012-02-24 09:59:11 +00:00
|
|
|
%if %{with lldb}
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_lldb}
|
2024-10-02 10:07:38 +00:00
|
|
|
%license lldb/LICENSE.TXT
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_bindir}/lldb*
|
2024-08-28 11:21:20 +00:00
|
|
|
# Usually, *.so symlinks are kept in devel subpackages. However, the python
|
2024-07-16 10:29:26 +00:00
|
|
|
# bindings depend on this symlink at runtime.
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_libdir}/liblldb*.so
|
|
|
|
%{install_libdir}/liblldb.so.*
|
|
|
|
%{install_libdir}/liblldbIntelFeatures.so.*
|
2024-10-31 12:38:34 +00:00
|
|
|
%if %{with bundle_compat_lib}
|
|
|
|
%{_libdir}/liblldb.so.%{compat_maj_ver}*
|
|
|
|
%endif
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n %{pkg_name_lldb}-devel
|
2024-05-16 16:43:43 +00:00
|
|
|
%{install_includedir}/lldb
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
%files -n python%{python3_pkgversion}-lldb
|
2024-07-02 21:15:43 +00:00
|
|
|
%{python3_sitearch}/lldb
|
2024-10-02 10:07:38 +00:00
|
|
|
%endif
|
2024-10-02 11:03:59 +00:00
|
|
|
#endregion LLDB files
|
|
|
|
#endregion files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-02 11:03:59 +00:00
|
|
|
#region changelog
|
2024-10-02 10:07:38 +00:00
|
|
|
%changelog
|
2024-11-05 15:30:06 +00:00
|
|
|
* Tue Nov 05 2024 Timm Bäder <tbaeder@redhat.com> - 19.1.3-1
|
|
|
|
- Update to 19.1.3
|
|
|
|
|
2024-09-24 01:01:50 +00:00
|
|
|
* Tue Sep 24 2024 Maxwell G <maxwell@gtmx.me> - 19.1.0-2
|
|
|
|
- Add 'Provides: clangd' to the clang-tools-extra subpackage
|
|
|
|
|
2024-10-01 08:23:11 +00:00
|
|
|
* Thu Sep 19 2024 Timm Bäder <tbaeder@redhat.com> - 19.1.0-1
|
|
|
|
- Update to LLVM 19.1.0
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-10-01 08:22:24 +00:00
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
2024-10-17 15:17:24 +00:00
|
|
|
|
2024-10-01 08:22:24 +00:00
|
|
|
* Thu Jul 11 2024 Jesus Checa Hidalgo <jchecahi@redhat.com> - 18.1.8-1
|
|
|
|
- Update to LLVM 18.1.8
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Tom Stellard <tstellar@redhat.com> - 18.1.7-1
|
|
|
|
- 18.1.7 Release
|
|
|
|
|
|
|
|
* Tue May 28 2024 Nikita Popov <npopov@redhat.com> - 18.1.6-2
|
|
|
|
- Fix use after free on ppc64le (rhbz#2283525)
|
|
|
|
|
|
|
|
* Sat May 18 2024 Tom Stellard <tstellar@redhat.com> - 18.1.6-1
|
|
|
|
- 18.1.6 Release
|
|
|
|
|
|
|
|
* Tue May 14 2024 Tom Stellard <tstellar@redhat.com> - 18.1.3-2
|
|
|
|
- Backport fix for rhbz#2275090
|
|
|
|
|
|
|
|
* Thu Apr 25 2024 Tom Stellard <tstellar@redhat.com> - 18.1.4-1
|
|
|
|
- 18.1.4 Release
|
|
|
|
|
|
|
|
* Fri Apr 12 2024 Tom Stellard <tstellar@redhat.com> - 18.1.3-1
|
|
|
|
- 18.1.3 Release
|
|
|
|
|
|
|
|
* Thu Mar 21 2024 Zhengyu He <hezhy472013@gmail.com> - 18.1.2-2
|
|
|
|
- Add support for riscv64
|
|
|
|
|
|
|
|
* Thu Mar 21 2024 Tom Stellard <tstellar@redhat.com> - 18.1.2-1
|
|
|
|
- 18.1.2 Release
|
|
|
|
|
|
|
|
* Mon Mar 11 2024 Tom Stellard <tstellar@redhat.com> - 18.1.1-1
|
|
|
|
- 18.1.1 Release
|
|
|
|
|
|
|
|
* Tue Feb 27 2024 Tom Stellard <tstellar@redhat.com> - 18.1.0~rc4-1
|
|
|
|
- 18.1.0-rc4 Release
|
|
|
|
|
|
|
|
* Tue Feb 20 2024 Tom Stellard <tstellar@redhat.com> - 18.1.0~rc3-1
|
|
|
|
- 18.1.0-rc3 Release
|
|
|
|
|
|
|
|
* Thu Feb 01 2024 Nikita Popov <npopov@redhat.com> - 17.0.6-6
|
|
|
|
- Fix crash with -fzero-call-used-regs (rhbz#2262260)
|
|
|
|
|
|
|
|
* Mon Jan 29 2024 Nikita Popov <npopov@redhat.com> - 17.0.6-5
|
|
|
|
- Only use cet-report=error on x86_64
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Nov 30 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.6-2
|
|
|
|
- Fix rhbz #2248872
|
|
|
|
|
|
|
|
* Tue Nov 28 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.6-1
|
|
|
|
- Update to LLVM 17.0.6
|
|
|
|
|
|
|
|
* Tue Nov 14 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.5-1
|
|
|
|
- Update to LLVM 17.0.5
|
|
|
|
|
|
|
|
* Tue Oct 31 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.4-1
|
|
|
|
- Update to LLVM 17.0.4
|
|
|
|
|
|
|
|
* Tue Oct 17 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.3-1
|
|
|
|
- Update to LLVM 17.0.3
|
|
|
|
|
|
|
|
* Tue Oct 03 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.2-1
|
|
|
|
- Update to LLVM 17.0.2
|
|
|
|
|
|
|
|
* Fri Sep 22 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.1~rc4-1
|
|
|
|
- Update to LLVM 17.0.1
|
|
|
|
|
|
|
|
* Tue Sep 05 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc4-1
|
|
|
|
- Update to LLVM 17.0.0 RC4
|
|
|
|
|
|
|
|
* Thu Aug 24 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc3-1
|
|
|
|
- Update to LLVM 17.0.0 RC3
|
|
|
|
|
|
|
|
* Thu Aug 24 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc2-2
|
|
|
|
- Temporarily disable a failing test on ppc64le
|
|
|
|
|
|
|
|
* Thu Aug 17 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc2-1
|
|
|
|
- Update to LLVM 17.0.0 RC2
|
|
|
|
|
|
|
|
* Wed Aug 16 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc1-4
|
|
|
|
- Disable LTO on i686
|
|
|
|
|
|
|
|
* Mon Aug 14 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc1-3
|
|
|
|
- Re-add patch removed by mistake
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Tue Aug 01 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc1-2
|
2017-08-25 13:40:02 +00:00
|
|
|
- Enable LLVM_UNREACHABLE_OPTIMIZE temporarily
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Mon Jul 31 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc1-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 17.0.0 RC1
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Jul 31 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.6-6
|
2024-10-02 10:07:38 +00:00
|
|
|
- Fix rhbz #2224885
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Jul 10 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.6-4
|
2024-07-22 08:24:04 +00:00
|
|
|
- Use LLVM_UNITTEST_LINK_FLAGS to reduce link times for unit tests
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Jul 03 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.6-3
|
2016-01-27 15:23:13 +00:00
|
|
|
- Improve error messages for unsupported relocs on s390x (rhbz#2216906)
|
|
|
|
- Disable LLVM_UNREACHABLE_OPTIMIZE
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Wed Jun 14 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.6-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 16.0.6
|
2024-10-02 10:07:38 +00:00
|
|
|
|
|
|
|
* Fri Jun 09 2023 Nikita Popov <npopov@redhat.com> - 16.0.5-2
|
2024-05-16 16:43:43 +00:00
|
|
|
- Split off llvm-cmake-utils package
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Mon Jun 05 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.5-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 16.0.5
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Fri May 19 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 16.0.4-2
|
2024-07-02 21:15:43 +00:00
|
|
|
- Avoid recommonmark dependency in RHEL builds
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu May 18 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.4-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 16.0.4
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue May 09 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.3-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 16.0.3
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Apr 25 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.2-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 16.0.2
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Apr 11 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 16.0.1
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Mar 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0-2
|
2017-09-08 23:45:30 +00:00
|
|
|
- Distribute libllvm_gtest.a and libllvm_gtest_main.a with llvm-googletest
|
2024-05-16 16:43:43 +00:00
|
|
|
- Stop distributing /usr/share/llvm/src/utils
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Mar 20 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 16.0.0
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Thu Mar 16 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc4-2
|
|
|
|
- Fix the ppc64le triple
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Tue Mar 14 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc4-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 16.0.0 RC4
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Fri Mar 10 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc3-2
|
2024-05-16 16:43:43 +00:00
|
|
|
- Fix llvm-exegesis failures on s390x
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Wed Feb 22 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc3-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 16.0.0 RC3
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Wed Feb 01 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc1-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 16.0.0 RC1
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Thu Jan 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 15.0.7-3
|
|
|
|
- Update license to SPDX identifiers.
|
2024-05-16 16:43:43 +00:00
|
|
|
- Include the Apache license adopted in 2019.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Jan 12 2023 Nikita Popov <npopov@redhat.com> - 15.0.7-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 15.0.7
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Mon Jan 09 2023 Tom Stellard <tstellar@redhat.com> - 15.0.6-3
|
2023-11-10 21:58:54 +00:00
|
|
|
- Omit frame pointers when building
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Mon Dec 19 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-2
|
2024-07-22 08:24:04 +00:00
|
|
|
- Remove workaround for rbhz#2048440
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Mon Dec 05 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-1
|
|
|
|
- Update to LLVM 15.0.6
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Nov 11 2022 Nikita Popov <npopov@redhat.com> - 15.0.4-2
|
2024-07-22 08:24:04 +00:00
|
|
|
- Copy CFLAGS to ASMFLAGs to enable CET in asm files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed Nov 02 2022 Nikita Popov <npopov@redhat.com> - 15.0.4-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 15.0.4
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Sep 27 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-2
|
2024-10-02 10:07:38 +00:00
|
|
|
- Export GetHostTriple.cmake
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 15.0.0
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Fri Jun 17 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-2
|
2017-04-03 19:24:44 +00:00
|
|
|
- Release bump for new redhat-rpm-config
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Mon Jun 13 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 14.0.5 Release
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed May 18 2022 Tom Stellard <tstellar@redhat.com> - 14.0.3-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 14.0.3 Release
|
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
* Fri Apr 29 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-2
|
2024-05-16 16:43:43 +00:00
|
|
|
- Remove llvm-cmake-devel package
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2016-01-27 15:23:13 +00:00
|
|
|
* Wed Mar 23 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 14.0.0
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed Feb 02 2022 Nikita Popov <npopov@redhat.com> - 13.0.1-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 13.0.1 final
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Jan 25 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc3-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 13.0.1rc3
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* 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
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Jan 13 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc2-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Update to LLVM 13.0.1rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Mon Jan 10 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- Upstream 13.0.1 rc1 release
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 13.0.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Nov 11 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-7
|
2016-01-27 15:23:13 +00:00
|
|
|
- Enable lto on s390x and arm
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Oct 25 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-6
|
|
|
|
- Build with Thin LTO
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Mon Oct 18 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-5
|
2021-04-23 21:10:27 +00:00
|
|
|
- Build with clang
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Oct 08 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-4
|
2017-08-25 13:40:02 +00:00
|
|
|
- Fix default triple on arm
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Wed Oct 06 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-3
|
2024-10-02 10:07:38 +00:00
|
|
|
- Set default triple
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Oct 04 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-2
|
2016-01-27 15:23:13 +00:00
|
|
|
- Drop abi_revision from soname
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Thu Sep 30 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 13.0.0 Release
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Thu Sep 30 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc4-2
|
2024-07-22 08:24:04 +00:00
|
|
|
- Restore config.guess for host triple detection
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Sep 24 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc4-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 13.0.0-rc4 Release
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Fri Sep 17 2021 Tom Stellard <tstellar@redhta.com> - 13.0.0~rc3-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 13.0.0-rc3 Release
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Mon Sep 13 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-3
|
2024-05-16 16:43:43 +00:00
|
|
|
- Pass LLVM_DEFAULT_TARGET_TRIPLE to cmake
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Sep 13 2021 Konrad Kleine <kkleine@redhat.com> - 13.0.0~rc1-2
|
2023-01-19 19:45:58 +00:00
|
|
|
- Add --without=check option
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-05 19:19:24 +00:00
|
|
|
* Wed Aug 04 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 13.0.0-rc1 Release
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Jul 22 2021 sguelton@redhat.com - 12.0.1-3
|
2024-08-28 11:21:20 +00:00
|
|
|
- Maintain versionned link to llvm-config
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Jul 12 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 12.0.1 Release
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Wed Jun 30 2021 Tom Stellard <tstellar@redhat.com> - llvm-12.0.1~rc3-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 12.0.1-rc3 Release
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri May 28 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc1-2
|
2024-05-16 16:43:43 +00:00
|
|
|
- Stop installing lit tests
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Wed May 26 2021 Tom Stellard <tstellar@redhat.com> - llvm-12.0.1~rc1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 12.0.1-rc1 Release
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon May 17 2021 sguelton@redhat.com - 12.0.0-7
|
2024-08-28 11:21:20 +00:00
|
|
|
- Fix handling of llvm-config
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Mon May 03 2021 kkleine@redhat.com - 12.0.0-6
|
2024-07-02 21:15:43 +00:00
|
|
|
- More verbose builds thanks to python3-psutil
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Sat May 01 2021 sguelton@redhat.com - 12.0.0-5
|
2024-08-28 11:21:20 +00:00
|
|
|
- Fix llvm-config install
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Apr 27 2021 sguelton@redhat.com - 12.0.0-4
|
2017-08-25 13:40:02 +00:00
|
|
|
- Provide default empty value for exec_suffix when not in compat mode
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Apr 27 2021 sguelton@redhat.com - 12.0.0-3
|
2024-08-28 11:21:20 +00:00
|
|
|
- Fix llvm-config install
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Apr 20 2021 sguelton@redhat.com - 12.0.0-2
|
2023-11-10 21:58:54 +00:00
|
|
|
- Backport compat package fix
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Apr 15 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 12.0.0 Release
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Apr 08 2021 sguelton@redhat.com - 12.0.0-0.11.rc5
|
2024-07-05 19:19:24 +00:00
|
|
|
- New upstream release candidate
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Apr 06 2021 sguelton@redhat.com - 12.0.0-0.10.rc4
|
2016-01-27 15:23:13 +00:00
|
|
|
- Patch test case for compatibility with llvm-test latout
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Fri Apr 02 2021 sguelton@redhat.com - 12.0.0-0.9.rc4
|
2024-07-05 19:19:24 +00:00
|
|
|
- New upstream release candidate
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Wed Mar 31 2021 Jonathan Wakely <jwakely@redhat.com> - 12.0.0-0.8.rc3
|
2016-01-27 15:23:13 +00:00
|
|
|
- Rebuilt for removed libstdc++ symbols (#1937698)
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Thu Mar 11 2021 sguelton@redhat.com - 12.0.0-0.7.rc3
|
2024-10-02 10:07:38 +00:00
|
|
|
- LLVM 12.0.0 rc3
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Wed Mar 10 2021 Kalev Lember <klember@redhat.com> - 12.0.0-0.6.rc2
|
2024-05-16 16:43:43 +00:00
|
|
|
- Add llvm-static(major) provides to the -static subpackage
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Mar 09 2021 sguelton@redhat.com - 12.0.0-0.5.rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
- rebuilt
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Mar 02 2021 sguelton@redhat.com - 12.0.0-0.4.rc2
|
2016-01-27 15:23:13 +00:00
|
|
|
- Change CI working dir
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed Feb 24 2021 sguelton@redhat.com - 12.0.0-0.3.rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
- 12.0.0-rc2 release
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Tue Feb 16 2021 Dave Airlie <airlied@redhat.com> - 12.0.0-0.2.rc1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Enable LLVM_USE_PERF to allow perf integration
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Tue Feb 2 2021 Serge Guelton - 12.0.0-0.1.rc1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 12.0.0-rc1 release
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* 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
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Fri Jan 22 2021 Serge Guelton - 11.1.0-0.2.rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
- 11.1.0-rc2 release
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Thu Jan 14 2021 Serge Guelton - 11.1.0-0.1.rc1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 11.1.0-rc1 release
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Tue Jan 05 2021 Serge Guelton - 11.0.1-3.rc2
|
2024-05-16 16:43:43 +00:00
|
|
|
- Waive extra test case
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Sun Dec 20 2020 sguelton@redhat.com - 11.0.1-2.rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
- 11.0.1-rc2 release
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 11.0.1-rc1 release
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Sat Oct 31 2020 Jeff Law <law@redhat.com> - 11.0.0-2
|
2016-01-27 15:23:13 +00:00
|
|
|
- Fix missing #include for gcc-11
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Wed Oct 14 2020 Josh Stone <jistone@redhat.com> - 11.0.0-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Fix coreos-installer test crash on s390x (rhbz#1883457)
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Oct 12 2020 sguelton@redhat.com - 11.0.0-0.11
|
2024-05-16 16:43:43 +00:00
|
|
|
- llvm 11.0.0 - final release
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Oct 08 2020 sguelton@redhat.com - 11.0.0-0.10.rc6
|
2024-10-02 10:07:38 +00:00
|
|
|
- 11.0.0-rc6
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Fri Oct 02 2020 sguelton@redhat.com - 11.0.0-0.9.rc5
|
2024-10-02 10:07:38 +00:00
|
|
|
- 11.0.0-rc5 Release
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Sun Sep 27 2020 sguelton@redhat.com - 11.0.0-0.8.rc3
|
2024-10-02 10:07:38 +00:00
|
|
|
- Fix NVR
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.2.rc3
|
2024-08-28 11:21:20 +00:00
|
|
|
- Obsolete patch for rhbz#1862012
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.1.rc3
|
2024-10-02 10:07:38 +00:00
|
|
|
- 11.0.0-rc3 Release
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Wed Sep 02 2020 sguelton@redhat.com - 11.0.0-0.7.rc2
|
2024-08-28 11:21:20 +00:00
|
|
|
- Apply upstream patch for rhbz#1862012
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.6.rc2
|
|
|
|
- Fix source location
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Aug 21 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.5.rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
- 11.0.0-rc2 Release
|
|
|
|
|
2024-07-05 19:19:24 +00:00
|
|
|
* Wed Aug 19 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.4.rc1
|
2024-07-02 21:15:43 +00:00
|
|
|
- Fix regression-tests CI tests
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Aug 18 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.3.rc1
|
2016-01-27 15:23:13 +00:00
|
|
|
- Fix rust crash on ppc64le compiling firefox
|
2024-10-02 10:07:38 +00:00
|
|
|
- rhbz#1862012
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Aug 11 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.2.rc1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Install update_cc_test_checks.py script
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Thu Aug 06 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1-rc1
|
|
|
|
- LLVM 11.0.0-rc1 Release
|
2024-05-16 16:43:43 +00:00
|
|
|
- Make llvm-devel require llvm-static and llvm-test
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Aug 04 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-10
|
2024-07-02 21:15:43 +00:00
|
|
|
- Backport upstream patch to fix build with -flto.
|
2024-07-22 08:24:04 +00:00
|
|
|
- Disable LTO on s390x to work-around unit test failures.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Sat Aug 01 2020 sguelton@redhat.com - 10.0.0-9
|
2024-05-16 16:43:43 +00:00
|
|
|
- Fix update-alternative uninstall script
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Sat Aug 01 2020 sguelton@redhat.com - 10.0.0-8
|
2023-11-10 21:58:54 +00:00
|
|
|
- Fix gpg verification and update macro usage.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* 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
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* 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.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Jun 02 2020 sguelton@redhat.com - 10.0.0-4
|
2024-07-16 10:29:26 +00:00
|
|
|
- Instruct cmake not to generate RPATH
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Thu Apr 30 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-3
|
2024-07-02 21:15:43 +00:00
|
|
|
- Install LLVMgold.so symlink in bfd-plugins directory
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Apr 07 2020 sguelton@redhat.com - 10.0.0-2
|
2024-05-16 16:43:43 +00:00
|
|
|
- Do not package UpdateTestChecks tests in llvm-tests
|
|
|
|
- Apply upstream patch bab5908df to pass gating tests
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed Mar 25 2020 sguelton@redhat.com - 10.0.0-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 10.0.0 final
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Mon Mar 23 2020 sguelton@redhat.com - 10.0.0-0.6.rc6
|
2024-10-02 10:07:38 +00:00
|
|
|
- 10.0.0 rc6
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Thu Mar 19 2020 sguelton@redhat.com - 10.0.0-0.5.rc5
|
2024-10-02 10:07:38 +00:00
|
|
|
- 10.0.0 rc5
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Sat Mar 14 2020 sguelton@redhat.com - 10.0.0-0.4.rc4
|
2024-10-02 10:07:38 +00:00
|
|
|
- 10.0.0 rc4
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Thu Mar 05 2020 sguelton@redhat.com - 10.0.0-0.3.rc3
|
2024-10-02 10:07:38 +00:00
|
|
|
- 10.0.0 rc3
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Fri Feb 28 2020 sguelton@redhat.com - 10.0.0-0.2.rc2
|
2024-05-16 16:43:43 +00:00
|
|
|
- Remove *_finite support, see rhbz#1803203
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Fri Feb 14 2020 sguelton@redhat.com - 10.0.0-0.1.rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
- 10.0.0 rc2
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Jan 31 2020 sguelton@redhat.com - 10.0.0-0.1.rc1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 10.0.0 rc1
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Jan 21 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-4
|
2024-07-02 21:15:43 +00:00
|
|
|
- Rebuild after previous build failed to strip binaries
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Fri Jan 17 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-3
|
2024-07-02 21:15:43 +00:00
|
|
|
- Add explicit Requires from sub-packages to llvm-libs
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Jan 10 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-2
|
2024-05-16 16:43:43 +00:00
|
|
|
- Fix crash with kernel bpf self-tests
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Dec 19 2019 tstellar@redhat.com - 9.0.1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 9.0.1 Release
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Nov 25 2019 sguelton@redhat.com - 9.0.0-4
|
2024-05-16 16:43:43 +00:00
|
|
|
- Activate AVR on all architectures
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Sep 30 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-3
|
2024-07-02 21:15:43 +00:00
|
|
|
- Build libLLVM.so first to avoid OOM errors
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Fri Sep 27 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-2
|
2024-07-02 21:15:43 +00:00
|
|
|
- Remove unneeded BuildRequires: libstdc++-static
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Sep 19 2019 sguelton@redhat.com - 9.0.0-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 9.0.0 Release
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Wed Sep 18 2019 sguelton@redhat.com - 9.0.0-0.5.rc3
|
2024-07-16 10:29:26 +00:00
|
|
|
- Support avr target, see rhbz#1718492
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Tue Sep 10 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.4.rc3
|
2024-07-22 08:24:04 +00:00
|
|
|
- Split out test executables into their own export file
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Fri Sep 06 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.3.rc3
|
2024-07-22 08:24:04 +00:00
|
|
|
- Fix patch for splitting out static library exports
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Fri Aug 30 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.2.rc3
|
2024-10-02 10:07:38 +00:00
|
|
|
- 9.0.0-rc3 Release
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Thu Aug 01 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.1.rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
- 9.0.0-rc2 Release
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Jul 30 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-9
|
2024-07-22 08:24:04 +00:00
|
|
|
- Sync with llvm8.0 spec file
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-8.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed Jul 17 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-8
|
2024-05-16 16:43:43 +00:00
|
|
|
- Add provides for the major version of sub-packages
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Fri May 17 2019 sguelton@redhat.com - 8.0.0-7
|
2024-05-16 16:43:43 +00:00
|
|
|
- Fix conflicts between llvm-static = 8 and llvm-dev < 8 around LLVMStaticExports.cmake
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed Apr 24 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-6
|
2024-08-28 11:21:20 +00:00
|
|
|
- Make sure we aren't passing -g on s390x
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Sat Mar 30 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-5
|
2024-07-02 21:15:43 +00:00
|
|
|
- Enable build rpath while keeping install rpath disabled
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed Mar 27 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-4
|
2024-07-22 08:24:04 +00:00
|
|
|
- Backport r351577 from trunk to fix ninja check failures
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Mar 26 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-3
|
2024-10-02 10:07:38 +00:00
|
|
|
- Fix ninja check
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Mar 22 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-2
|
2024-05-16 16:43:43 +00:00
|
|
|
- llvm-test fixes
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed Mar 20 2019 sguelton@redhat.com - 8.0.0-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 8.0.0 final
|
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Fri Mar 15 2019 sguelton@redhat.com - 8.0.0-0.6.rc4
|
2024-05-16 16:43:43 +00:00
|
|
|
- Activate all backends (rhbz#1689031)
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.5.rc4
|
2024-10-02 10:07:38 +00:00
|
|
|
- 8.0.0 Release candidate 4
|
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.4.rc3
|
|
|
|
- Move some binaries to -test package, cleanup specfile
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.3.rc3
|
2024-10-02 10:07:38 +00:00
|
|
|
- 8.0.0 Release candidate 3
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Fri Feb 22 2019 sguelton@redhat.com - 8.0.0-0.2.rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
- 8.0.0 Release candidate 2
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Sat Feb 9 2019 sguelton@redhat.com - 8.0.0-0.1.rc1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 8.0.0 Release candidate 1
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-22 08:24:04 +00:00
|
|
|
* Mon Jan 21 2019 Josh Stone <jistone@redhat.com> - 7.0.1-2
|
2023-11-10 21:58:54 +00:00
|
|
|
- Fix discriminators in metadata, rhbz#1668033
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 7.0.1 release
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Dec 04 2018 sguelton@redhat.com - 7.0.0-5
|
2024-07-22 08:24:04 +00:00
|
|
|
- Ensure rpmlint passes on specfile
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Sat Nov 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-4
|
2024-05-16 16:43:43 +00:00
|
|
|
- Install testing libraries for unittests
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Sat Oct 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-3
|
2024-07-05 19:19:24 +00:00
|
|
|
- Fix running unittests as not-root user
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Thu Sep 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-2
|
2024-05-16 16:43:43 +00:00
|
|
|
- Fixes for llvm-test package:
|
2024-07-05 19:19:24 +00:00
|
|
|
- Add some missing Requires
|
2024-07-22 08:24:04 +00:00
|
|
|
- Add --threads option to run-lit-tests script
|
|
|
|
- Set PATH so lit can find tools like count, not, etc.
|
2024-07-02 21:15:43 +00:00
|
|
|
- Don't hardcode tools directory to /usr/lib64/llvm
|
|
|
|
- Fix typo in yaml-bench define
|
2024-05-16 16:43:43 +00:00
|
|
|
- Only print information about failing tests
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Sep 21 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 7.0.0 Release
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.15.rc3
|
2024-05-16 16:43:43 +00:00
|
|
|
- Disable rpath on install LLVM and related sub-projects
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Wed Sep 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.14.rc3
|
2016-01-27 15:23:13 +00:00
|
|
|
- Remove rpath from executables and libraries
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Sep 11 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.13.rc3
|
2016-01-27 15:23:13 +00:00
|
|
|
- Re-enable arm and aarch64 targets on x86_64
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Sep 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.12.rc3
|
2024-10-02 10:07:38 +00:00
|
|
|
- 7.0.0-rc3 Release
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Fri Sep 07 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.11.rc2
|
2021-09-23 12:47:00 +00:00
|
|
|
- Use python3 shebang for opt-viewewr scripts
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.10.rc2
|
|
|
|
- Drop all uses of python2 from lit tests
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.9.rc2
|
2024-07-02 21:15:43 +00:00
|
|
|
- Build the gold plugin on all supported architectures
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Wed Aug 29 2018 Kevin Fenzi <kevin@scrye.com> - 7.0.0-0.8.rc2
|
2024-05-16 16:43:43 +00:00
|
|
|
- Re-enable debuginfo to avoid 25x size increase.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.7.rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
- 7.0.0-rc2 Release
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.6.rc1
|
2017-08-25 13:40:02 +00:00
|
|
|
- Guard valgrind usage with valgrind_arches macro
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Aug 23 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.5.rc1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Package lit tests and googletest sources.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Aug 20 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.4.rc1
|
2016-01-27 15:23:13 +00:00
|
|
|
- Re-enable AMDGPU target on ARM rhbz#1618922
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Aug 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.3.rc1
|
2024-07-22 08:24:04 +00:00
|
|
|
- Drop references to TestPlugin.so from cmake files
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.2.rc1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Fixes for lit tests
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.1.rc1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 7.0.0-rc1 Release
|
2024-07-02 21:15:43 +00:00
|
|
|
- Reduce number of enabled targets on all arches.
|
2024-07-16 10:29:26 +00:00
|
|
|
- Drop s390 detection patch, LLVM does not support s390 codegen.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Aug 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-6
|
2024-07-02 21:15:43 +00:00
|
|
|
- Backport some fixes needed by mesa and rust
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Jul 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-5
|
2017-09-08 23:45:30 +00:00
|
|
|
- Move libLLVM-6.0.so to llvm6.0-libs.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Jul 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-4
|
|
|
|
- Rebuild because debuginfo stripping failed with the previous build
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Jul 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
|
2024-05-16 16:43:43 +00:00
|
|
|
- Sync specfile with llvm6.0 package
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Jun 25 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 6.0.1 Release
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Thu Jun 07 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.4.rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
- 6.0.1-rc2
|
|
|
|
|
2024-07-05 19:19:24 +00:00
|
|
|
* Wed Jun 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.3.rc1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Re-enable all targets to avoid breaking the ABI.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Jun 04 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.2.rc1
|
2024-07-02 21:15:43 +00:00
|
|
|
- Reduce the number of enabled targets based on the architecture
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu May 10 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.1.rc1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 6.0.1 rc1
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Mar 27 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-11
|
2024-07-05 19:19:24 +00:00
|
|
|
- Re-enable arm tests that used to hang
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Mar 22 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-10
|
2024-05-16 16:43:43 +00:00
|
|
|
- Fix testcase in backported patch
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Mar 20 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-9
|
2024-05-16 16:43:43 +00:00
|
|
|
- Prevent external projects from linking against both static and shared
|
2016-01-27 15:23:13 +00:00
|
|
|
libraries. rhbz#1558657
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Mar 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-8
|
2023-11-10 21:58:54 +00:00
|
|
|
- Backport r327651 from trunk rhbz#1554349
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Fri Mar 16 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-7
|
2024-07-16 10:29:26 +00:00
|
|
|
- Filter out cxxflags and cflags from llvm-config that aren't supported by clang
|
2024-10-02 10:07:38 +00:00
|
|
|
- rhbz#1556980
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-6
|
2024-05-16 16:43:43 +00:00
|
|
|
- Enable symbol versioning in libLLVM.so
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-5
|
2024-07-05 19:19:24 +00:00
|
|
|
- Stop statically linking libstdc++. This is no longer required by Steam
|
2024-07-02 21:15:43 +00:00
|
|
|
client, but the steam installer still needs a work-around which should
|
2024-05-16 16:43:43 +00:00
|
|
|
be handled in the steam package.
|
2024-07-16 10:29:26 +00:00
|
|
|
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-4
|
2024-10-02 10:07:38 +00:00
|
|
|
- s/make check/ninja check/
|
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Mar 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-3
|
2016-01-27 15:23:13 +00:00
|
|
|
- Backport fix for compile time regression on rust rhbz#1552915
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-2
|
2024-07-02 21:15:43 +00:00
|
|
|
- Build with Ninja: This reduces RPM build time on a 6-core x86_64 builder
|
2023-11-10 21:58:54 +00:00
|
|
|
from 82 min to 52 min.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 6.0.0 Release
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.5.rc2
|
2016-01-27 15:23:13 +00:00
|
|
|
- Reduce debuginfo size on i686 to avoid OOM errors during linking
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Feb 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.4.rc2
|
2024-10-02 10:07:38 +00:00
|
|
|
- 6.0.1 rc2
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-0.3.rc1
|
2024-05-16 16:43:43 +00:00
|
|
|
- Escape macros in %%changelog
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-0.2.rc1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Jan 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 6.0.1 rc1
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Tue Dec 19 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 5.0.1 Release
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Mon Nov 20 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-5
|
2023-11-10 21:58:54 +00:00
|
|
|
- Backport debuginfo fix for rust
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Nov 03 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-4
|
2016-01-27 15:23:13 +00:00
|
|
|
- Reduce debuginfo size for ARM
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Tue Oct 10 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-2
|
2024-07-02 21:15:43 +00:00
|
|
|
- Reduce memory usage on ARM by disabling debuginfo and some non-ARM targets.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Sep 25 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 5.0.0 Release
|
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Sep 18 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-6
|
2018-12-04 15:10:41 +00:00
|
|
|
- Add Requires: libedit-devel for llvm-devel
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Sep 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-5
|
2017-09-08 23:45:30 +00:00
|
|
|
- Enable libedit backend for LineEditor API
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Fri Aug 25 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-4
|
2017-08-25 13:40:02 +00:00
|
|
|
- Enable extra functionality when run the LLVM JIT under valgrind.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-05 19:19:24 +00:00
|
|
|
* Wed Jun 21 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- 4.0.1 Release
|
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Thu Jun 15 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-6
|
2024-08-28 11:21:20 +00:00
|
|
|
- Install llvm utils
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Jun 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-5
|
2024-08-28 11:21:20 +00:00
|
|
|
- Fix docs-llvm-man target
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Mon May 01 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
|
2024-07-22 08:24:04 +00:00
|
|
|
- Make cmake files no longer depend on static libs (rhbz 1388200)
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Tue Apr 18 2017 Josh Stone <jistone@redhat.com> - 4.0.0-3
|
2024-05-16 16:43:43 +00:00
|
|
|
- Fix computeKnownBits for ARMISD::CMOV (rust-lang/llvm#67)
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Apr 03 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
|
2024-07-22 08:24:04 +00:00
|
|
|
- Simplify spec with rpm macros.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-16 10:29:26 +00:00
|
|
|
* Thu Mar 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
|
2024-05-16 16:43:43 +00:00
|
|
|
- LLVM 4.0.0 Final Release
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-05 19:19:24 +00:00
|
|
|
* Wed Mar 22 2017 tstellar@redhat.com - 3.9.1-6
|
2024-05-16 16:43:43 +00:00
|
|
|
- Fix %%postun sep for -devel package.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Mon Mar 13 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-5
|
2024-05-16 16:43:43 +00:00
|
|
|
- Disable failing tests on ARM.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Sun Mar 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 3.9.1-4
|
2024-07-22 08:24:04 +00:00
|
|
|
- Fix missing mask on relocation for aarch64 (rhbz 1429050)
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Wed Mar 01 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-3
|
2023-11-10 21:58:54 +00:00
|
|
|
- revert upstream radeonsi breaking change.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Feb 23 2017 Josh Stone <jistone@redhat.com> - 3.9.1-2
|
2024-08-28 11:21:20 +00:00
|
|
|
- disable sphinx warnings-as-errors
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Fri Feb 10 2017 Orion Poplawski <orion@cora.nwra.com> - 3.9.1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- llvm 3.9.1
|
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-05-16 16:43:43 +00:00
|
|
|
* Tue Nov 29 2016 Josh Stone <jistone@redhat.com> - 3.9.0-7
|
2024-07-16 10:29:26 +00:00
|
|
|
- Apply backports from rust-lang/llvm#55, #57
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Tue Nov 01 2016 Dave Airlie <airlied@gmail.com - 3.9.0-6
|
2024-07-02 21:15:43 +00:00
|
|
|
- rebuild for new arches
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-5
|
2023-11-10 21:58:54 +00:00
|
|
|
- apply the patch from -4
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-4
|
2016-01-27 15:23:13 +00:00
|
|
|
- add fix for lldb out-of-tree build
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Mon Oct 17 2016 Josh Stone <jistone@redhat.com> - 3.9.0-3
|
2024-07-16 10:29:26 +00:00
|
|
|
- Apply backports from rust-lang/llvm#47, #48, #53, #54
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Sat Oct 15 2016 Josh Stone <jistone@redhat.com> - 3.9.0-2
|
2024-07-16 10:29:26 +00:00
|
|
|
- Apply an InstCombine backport via rust-lang/llvm#51
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Wed Sep 07 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- llvm 3.9.0
|
2024-05-16 16:43:43 +00:00
|
|
|
- upstream moved where cmake files are packaged.
|
2024-07-02 21:15:43 +00:00
|
|
|
- upstream dropped CppBackend
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Wed Jul 13 2016 Adam Jackson <ajax@redhat.com> - 3.8.1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- llvm 3.8.1
|
|
|
|
- Add mips target
|
2024-07-02 21:15:43 +00:00
|
|
|
- Fix some shared library mispackaging
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Jun 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> - 3.8.0-2
|
2024-05-16 16:43:43 +00:00
|
|
|
- fix color support detection on terminal
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 3.8.0-1
|
2023-10-12 09:15:14 +00:00
|
|
|
- llvm 3.8.0 release
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Wed Mar 09 2016 Dan Horák <dan[at][danny.cz> 3.8.0-0.3
|
2024-07-02 21:15:43 +00:00
|
|
|
- install back memory consumption workaround for s390
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Thu Mar 03 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.2
|
2023-10-12 09:15:14 +00:00
|
|
|
- llvm 3.8.0 rc3 release
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Fri Feb 19 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.1
|
2023-10-12 09:15:14 +00:00
|
|
|
- llvm 3.8.0 rc2 release
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Tue Feb 16 2016 Dan Horák <dan[at][danny.cz> 3.7.1-7
|
2024-07-05 19:19:24 +00:00
|
|
|
- recognize s390 as SystemZ when configuring build
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-6
|
2024-07-16 10:29:26 +00:00
|
|
|
- export C++ API for mesa.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-08-28 11:21:20 +00:00
|
|
|
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-5
|
2016-01-27 15:23:13 +00:00
|
|
|
- reintroduce llvm-static, clang needs it currently.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
|
2017-09-08 23:45:30 +00:00
|
|
|
- jump back to single llvm library, the split libs aren't working very well.
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2023-11-10 21:58:54 +00:00
|
|
|
* Fri Feb 05 2016 Dave Airlie <airlied@redhat.com> 3.7.1-3
|
|
|
|
- add missing obsoletes (#1303497)
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Thu Jan 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.1-1
|
2024-10-02 10:07:38 +00:00
|
|
|
- new upstream release
|
2017-08-25 13:40:02 +00:00
|
|
|
- enable gold linker
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Wed Nov 04 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
|
|
|
|
- fix Requires for subpackages on the main package
|
2024-10-02 10:07:38 +00:00
|
|
|
|
2024-07-02 21:15:43 +00:00
|
|
|
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
|
2024-05-16 16:43:43 +00:00
|
|
|
- initial version using cmake build system
|
2024-10-02 11:03:59 +00:00
|
|
|
|
2024-10-04 07:50:27 +00:00
|
|
|
#endregion changelog
|