|
|
c8621d |
# Components enabled if supported by target architecture:
|
|
|
c8621d |
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64}
|
|
|
9b827f |
%if 0%{?rhel} > 8 || 0%{?fedora}
|
|
|
9b827f |
# FIXME: Why is this disabled on RHEL <= 8
|
|
|
9b827f |
%global gold_arches %{gold_arches} s390x
|
|
|
9b827f |
%endif
|
|
|
9b827f |
|
|
|
c8621d |
%ifarch %{gold_arches}
|
|
|
c8621d |
%bcond_without gold
|
|
|
c8621d |
%else
|
|
|
c8621d |
%bcond_with gold
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
c8621d |
%bcond_with compat_build
|
|
|
9b827f |
%bcond_without check
|
|
|
c8621d |
|
|
|
c8621d |
%global llvm_libdir %{_libdir}/%{name}
|
|
|
c8621d |
%global build_llvm_libdir %{buildroot}%{llvm_libdir}
|
|
|
9b827f |
#global rc_ver 4
|
|
|
9b827f |
%global maj_ver 13
|
|
|
c8621d |
%global min_ver 0
|
|
|
7d161a |
%global patch_ver 1
|
|
|
9b827f |
%if !%{maj_ver} && 0%{?rc_ver}
|
|
|
9b827f |
%global abi_revision 2
|
|
|
9b827f |
%endif
|
|
|
9b827f |
%global llvm_srcdir llvm-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src
|
|
|
c8621d |
|
|
|
c8621d |
%if %{with compat_build}
|
|
|
0e237d |
%global pkg_name llvm%{maj_ver}
|
|
|
0e237d |
%global exec_suffix -%{maj_ver}
|
|
|
c8621d |
%global install_prefix %{_libdir}/%{name}
|
|
|
c8621d |
%global install_bindir %{install_prefix}/bin
|
|
|
c8621d |
%global install_includedir %{install_prefix}/include
|
|
|
c8621d |
%global install_libdir %{install_prefix}/lib
|
|
|
c8621d |
|
|
|
c8621d |
%global pkg_bindir %{install_bindir}
|
|
|
c8621d |
%global pkg_includedir %{_includedir}/%{name}
|
|
|
c8621d |
%global pkg_libdir %{install_libdir}
|
|
|
c8621d |
%else
|
|
|
c8621d |
%global pkg_name llvm
|
|
|
c8621d |
%global install_prefix /usr
|
|
|
c8621d |
%global install_libdir %{_libdir}
|
|
|
0e237d |
%global pkg_bindir %{_bindir}
|
|
|
c8621d |
%global pkg_libdir %{install_libdir}
|
|
|
0e237d |
%global exec_suffix %{nil}
|
|
|
0e237d |
%endif
|
|
|
0e237d |
|
|
|
0e237d |
%if 0%{?rhel}
|
|
|
0e237d |
%global targets_to_build "X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;ARM;Mips;BPF;WebAssembly"
|
|
|
0e237d |
%global experimental_targets_to_build ""
|
|
|
0e237d |
%global _smp_mflags -j8
|
|
|
0e237d |
%else
|
|
|
0e237d |
%global targets_to_build "all"
|
|
|
0e237d |
%global experimental_targets_to_build "AVR"
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
9b827f |
%global build_install_prefix %{buildroot}%{install_prefix}
|
|
|
9b827f |
|
|
|
9b827f |
# Lower memory usage of dwz on s390x
|
|
|
9b827f |
%global _dwz_low_mem_die_limit_s390x 1
|
|
|
9b827f |
%global _dwz_max_die_limit_s390x 1000000
|
|
|
9b827f |
|
|
|
9b827f |
%ifarch %{arm}
|
|
|
9b827f |
# koji overrides the _gnu variable to be gnu, which is not correct for clang, so
|
|
|
9b827f |
# we need to hard-code the correct triple here.
|
|
|
9b827f |
%global llvm_triple armv7l-redhat-linux-gnueabihf
|
|
|
9b827f |
%else
|
|
|
9b827f |
%global llvm_triple %{_host}
|
|
|
9b827f |
%endif
|
|
|
c8621d |
|
|
|
c8621d |
%if !0%{?rhel}
|
|
|
c8621d |
# libedit-devel is a buildroot-only package in RHEL8, so we can't have a
|
|
|
c8621d |
# any run-time depencies on it.
|
|
|
c8621d |
%global use_libedit 1
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
c8621d |
Name: %{pkg_name}
|
|
|
0e237d |
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
|
|
7d161a |
Release: 1%{?dist}
|
|
|
c8621d |
Summary: The Low Level Virtual Machine
|
|
|
c8621d |
|
|
|
c8621d |
License: NCSA
|
|
|
c8621d |
URL: http://llvm.org
|
|
|
9b827f |
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz
|
|
|
9b827f |
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz.sig
|
|
|
0e237d |
|
|
|
c8621d |
%if %{without compat_build}
|
|
|
08f1e7 |
Source3: run-lit-tests
|
|
|
08f1e7 |
Source4: lit.fedora.cfg.py
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
9b827f |
%if 0%{?abi_revision}
|
|
|
9b827f |
Patch0: 0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch
|
|
|
9b827f |
%endif
|
|
|
9b827f |
Patch2: 0001-XFAIL-missing-abstract-variable.ll-test-on-ppc64le.patch
|
|
|
c8621d |
|
|
|
c8621d |
# RHEL-specific patches.
|
|
|
08f1e7 |
Patch101: 0001-Deactivate-markdown-doc.patch
|
|
|
c8621d |
|
|
|
c8621d |
BuildRequires: gcc
|
|
|
c8621d |
BuildRequires: gcc-c++
|
|
|
c8621d |
BuildRequires: cmake
|
|
|
c8621d |
BuildRequires: ninja-build
|
|
|
c8621d |
BuildRequires: zlib-devel
|
|
|
c8621d |
BuildRequires: libffi-devel
|
|
|
c8621d |
BuildRequires: ncurses-devel
|
|
|
c8621d |
BuildRequires: python3-sphinx
|
|
|
08f1e7 |
|
|
|
c8621d |
%if !0%{?rhel}
|
|
|
08f1e7 |
BuildRequires: python3-recommonmark
|
|
|
c8621d |
%else
|
|
|
08f1e7 |
BuildRequires: pandoc
|
|
|
c8621d |
%endif
|
|
|
08f1e7 |
|
|
|
c8621d |
BuildRequires: multilib-rpm-config
|
|
|
c8621d |
%if %{with gold}
|
|
|
c8621d |
BuildRequires: binutils-devel
|
|
|
c8621d |
%endif
|
|
|
c8621d |
%ifarch %{valgrind_arches}
|
|
|
c8621d |
# Enable extra functionality when run the LLVM JIT under valgrind.
|
|
|
c8621d |
BuildRequires: valgrind-devel
|
|
|
c8621d |
%endif
|
|
|
c8621d |
%if 0%{?use_libedit}
|
|
|
c8621d |
# LLVM's LineEditor library will use libedit if it is available.
|
|
|
c8621d |
BuildRequires: libedit-devel
|
|
|
c8621d |
%endif
|
|
|
c8621d |
# We need python3-devel for pathfix.py.
|
|
|
c8621d |
BuildRequires: python3-devel
|
|
|
0e237d |
BuildRequires: python3-setuptools
|
|
|
c8621d |
|
|
|
c8621d |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
c8621d |
|
|
|
c8621d |
Provides: llvm(major) = %{maj_ver}
|
|
|
c8621d |
|
|
|
c8621d |
%description
|
|
|
c8621d |
LLVM is a compiler infrastructure designed for compile-time, link-time,
|
|
|
c8621d |
runtime, and idle-time optimization of programs from arbitrary programming
|
|
|
c8621d |
languages. The compiler infrastructure includes mirror sets of programming
|
|
|
c8621d |
tools as well as libraries with equivalent functionality.
|
|
|
c8621d |
|
|
|
c8621d |
%package devel
|
|
|
c8621d |
Summary: Libraries and header files for LLVM
|
|
|
c8621d |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c8621d |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
c8621d |
# The installed LLVM cmake files will add -ledit to the linker flags for any
|
|
|
c8621d |
# app that requires the libLLVMLineEditor, so we need to make sure
|
|
|
c8621d |
# libedit-devel is available.
|
|
|
c8621d |
%if 0%{?use_libedit}
|
|
|
c8621d |
Requires: libedit-devel
|
|
|
c8621d |
%endif
|
|
|
08f1e7 |
# The installed cmake files reference binaries from llvm-test and llvm-static.
|
|
|
08f1e7 |
# We tried in the past to split the cmake exports for these binaries out into
|
|
|
08f1e7 |
# separate files, so that llvm-devel would not need to Require these packages,
|
|
|
08f1e7 |
# but this caused bugs (rhbz#1773678) and forced us to carry two non-upstream
|
|
|
08f1e7 |
# patches.
|
|
|
0e237d |
Requires: %{name}-static%{?_isa} = %{version}-%{release}
|
|
|
0e237d |
%if %{without compat_build}
|
|
|
0e237d |
Requires: %{name}-test%{?_isa} = %{version}-%{release}
|
|
|
0e237d |
%endif
|
|
|
08f1e7 |
|
|
|
08f1e7 |
|
|
|
c8621d |
Requires(post): %{_sbindir}/alternatives
|
|
|
c8621d |
Requires(postun): %{_sbindir}/alternatives
|
|
|
c8621d |
|
|
|
c8621d |
Provides: llvm-devel(major) = %{maj_ver}
|
|
|
c8621d |
|
|
|
c8621d |
%description devel
|
|
|
c8621d |
This package contains library and header files needed to develop new native
|
|
|
c8621d |
programs that use the LLVM infrastructure.
|
|
|
c8621d |
|
|
|
c8621d |
%package doc
|
|
|
c8621d |
Summary: Documentation for LLVM
|
|
|
c8621d |
BuildArch: noarch
|
|
|
c8621d |
Requires: %{name} = %{version}-%{release}
|
|
|
c8621d |
|
|
|
c8621d |
%description doc
|
|
|
c8621d |
Documentation for the LLVM compiler infrastructure.
|
|
|
c8621d |
|
|
|
c8621d |
%package libs
|
|
|
c8621d |
Summary: LLVM shared libraries
|
|
|
c8621d |
|
|
|
c8621d |
%description libs
|
|
|
c8621d |
Shared libraries for the LLVM compiler infrastructure.
|
|
|
c8621d |
|
|
|
c8621d |
%package static
|
|
|
c8621d |
Summary: LLVM static libraries
|
|
|
c8621d |
Conflicts: %{name}-devel < 8
|
|
|
c8621d |
|
|
|
0e237d |
Provides: llvm-static(major) = %{maj_ver}
|
|
|
0e237d |
|
|
|
c8621d |
%description static
|
|
|
c8621d |
Static libraries for the LLVM compiler infrastructure.
|
|
|
c8621d |
|
|
|
c8621d |
%if %{without compat_build}
|
|
|
c8621d |
|
|
|
c8621d |
%package test
|
|
|
c8621d |
Summary: LLVM regression tests
|
|
|
c8621d |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c8621d |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
c8621d |
|
|
|
c8621d |
Provides: llvm-test(major) = %{maj_ver}
|
|
|
c8621d |
|
|
|
c8621d |
%description test
|
|
|
c8621d |
LLVM regression tests.
|
|
|
c8621d |
|
|
|
c8621d |
%package googletest
|
|
|
c8621d |
Summary: LLVM's modified googletest sources
|
|
|
c8621d |
|
|
|
c8621d |
%description googletest
|
|
|
c8621d |
LLVM's modified googletest sources.
|
|
|
c8621d |
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
c8621d |
%prep
|
|
|
c8621d |
%autosetup -n %{llvm_srcdir} -p2
|
|
|
c8621d |
|
|
|
c8621d |
pathfix.py -i %{__python3} -pn \
|
|
|
c8621d |
test/BugPoint/compile-custom.ll.py \
|
|
|
08f1e7 |
tools/opt-viewer/*.py \
|
|
|
08f1e7 |
utils/update_cc_test_checks.py
|
|
|
c8621d |
|
|
|
08f1e7 |
# Convert markdown files to rst to cope with the absence of compatible md parser in rhel.
|
|
|
c8621d |
# The sed expression takes care of a slight difference between pandoc markdown and sphinx markdown.
|
|
|
c8621d |
find -name '*.md' | while read md; do sed -r -e 's/^( )*\* /\n\1\* /' ${md} | pandoc -f markdown -o ${md%.md}.rst ; done
|
|
|
c8621d |
|
|
|
c8621d |
%build
|
|
|
0e237d |
|
|
|
0e237d |
mkdir -p %{_vpath_builddir}
|
|
|
0e237d |
cd %{_vpath_builddir}
|
|
|
c8621d |
|
|
|
c8621d |
%ifarch s390 %{arm} %ix86
|
|
|
c8621d |
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
|
|
c8621d |
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
49a92e |
# Need to explicitly call set_build_flags if we want to update LDFLAGS
|
|
|
49a92e |
%set_build_flags
|
|
|
0e237d |
export LDFLAGS="${LDFLAGS} -Wl,--build-id=md5"
|
|
|
0e237d |
|
|
|
c8621d |
# force off shared libs as cmake macros turns it on.
|
|
|
c8621d |
%cmake .. -G Ninja \
|
|
|
c8621d |
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
|
|
c8621d |
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
|
|
c8621d |
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
0e237d |
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
|
|
c8621d |
%ifarch s390 %{arm} %ix86
|
|
|
c8621d |
-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
|
|
c8621d |
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
|
|
c8621d |
%endif
|
|
|
c8621d |
%if %{without compat_build}
|
|
|
c8621d |
%if 0%{?__isa_bits} == 64
|
|
|
c8621d |
-DLLVM_LIBDIR_SUFFIX=64 \
|
|
|
c8621d |
%else
|
|
|
c8621d |
-DLLVM_LIBDIR_SUFFIX= \
|
|
|
c8621d |
%endif
|
|
|
c8621d |
%endif
|
|
|
c8621d |
\
|
|
|
0e237d |
-DLLVM_TARGETS_TO_BUILD=%{targets_to_build} \
|
|
|
c8621d |
-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
|
|
|
c8621d |
-DLLVM_ENABLE_ZLIB:BOOL=ON \
|
|
|
c8621d |
-DLLVM_ENABLE_FFI:BOOL=ON \
|
|
|
c8621d |
-DLLVM_ENABLE_RTTI:BOOL=ON \
|
|
|
0e237d |
-DLLVM_USE_PERF:BOOL=ON \
|
|
|
c8621d |
%if %{with gold}
|
|
|
c8621d |
-DLLVM_BINUTILS_INCDIR=%{_includedir} \
|
|
|
c8621d |
%endif
|
|
|
0e237d |
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{experimental_targets_to_build} \
|
|
|
c8621d |
\
|
|
|
c8621d |
-DLLVM_BUILD_RUNTIME:BOOL=ON \
|
|
|
c8621d |
\
|
|
|
c8621d |
-DLLVM_INCLUDE_TOOLS:BOOL=ON \
|
|
|
c8621d |
-DLLVM_BUILD_TOOLS:BOOL=ON \
|
|
|
c8621d |
\
|
|
|
c8621d |
-DLLVM_INCLUDE_TESTS:BOOL=ON \
|
|
|
c8621d |
-DLLVM_BUILD_TESTS:BOOL=ON \
|
|
|
c8621d |
\
|
|
|
c8621d |
-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \
|
|
|
c8621d |
-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
|
|
|
c8621d |
\
|
|
|
c8621d |
-DLLVM_INCLUDE_UTILS:BOOL=ON \
|
|
|
c8621d |
%if %{with compat_build}
|
|
|
c8621d |
-DLLVM_INSTALL_UTILS:BOOL=OFF \
|
|
|
c8621d |
%else
|
|
|
c8621d |
-DLLVM_INSTALL_UTILS:BOOL=ON \
|
|
|
c8621d |
-DLLVM_UTILS_INSTALL_DIR:PATH=%{_bindir} \
|
|
|
c8621d |
-DLLVM_TOOLS_INSTALL_DIR:PATH=bin \
|
|
|
c8621d |
%endif
|
|
|
c8621d |
\
|
|
|
c8621d |
-DLLVM_INCLUDE_DOCS:BOOL=ON \
|
|
|
c8621d |
-DLLVM_BUILD_DOCS:BOOL=ON \
|
|
|
c8621d |
-DLLVM_ENABLE_SPHINX:BOOL=ON \
|
|
|
c8621d |
-DLLVM_ENABLE_DOXYGEN:BOOL=OFF \
|
|
|
c8621d |
\
|
|
|
08f1e7 |
%if %{without compat_build}
|
|
|
08f1e7 |
-DLLVM_VERSION_SUFFIX='' \
|
|
|
08f1e7 |
%endif
|
|
|
c8621d |
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
|
|
|
c8621d |
-DLLVM_DYLIB_EXPORT_ALL:BOOL=ON \
|
|
|
c8621d |
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
|
|
c8621d |
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
|
|
|
c8621d |
-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \
|
|
|
c8621d |
\
|
|
|
c8621d |
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
|
|
|
c8621d |
-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
|
|
|
c8621d |
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
|
|
|
c8621d |
-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3
|
|
|
c8621d |
|
|
|
c8621d |
# Build libLLVM.so first. This ensures that when libLLVM.so is linking, there
|
|
|
c8621d |
# are no other compile jobs running. This will help reduce OOM errors on the
|
|
|
c8621d |
# builders without having to artificially limit the number of concurrent jobs.
|
|
|
c8621d |
%ninja_build LLVM
|
|
|
c8621d |
%ninja_build
|
|
|
c8621d |
|
|
|
c8621d |
%install
|
|
|
0e237d |
%ninja_install -C %{_vpath_builddir}
|
|
|
c8621d |
|
|
|
c8621d |
mkdir -p %{buildroot}/%{_bindir}
|
|
|
c8621d |
|
|
|
0e237d |
%if %{without compat_build}
|
|
|
1e30ac |
|
|
|
c8621d |
# Fix some man pages
|
|
|
0e237d |
ln -s llvm-config.1 %{buildroot}%{_mandir}/man1/llvm-config%{exec_suffix}-%{__isa_bits}.1
|
|
|
c8621d |
|
|
|
c8621d |
# Install binaries needed for lit tests
|
|
|
c8621d |
%global test_binaries llvm-isel-fuzzer llvm-opt-fuzzer
|
|
|
c8621d |
|
|
|
c8621d |
for f in %{test_binaries}
|
|
|
c8621d |
do
|
|
|
0e237d |
install -m 0755 %{_vpath_builddir}/bin/$f %{buildroot}%{_bindir}
|
|
|
c8621d |
done
|
|
|
c8621d |
|
|
|
c8621d |
# Remove testing of update utility tools
|
|
|
c8621d |
rm -rf test/tools/UpdateTestChecks
|
|
|
c8621d |
|
|
|
c8621d |
%multilib_fix_c_header --file %{_includedir}/llvm/Config/llvm-config.h
|
|
|
c8621d |
|
|
|
c8621d |
# Install libraries needed for unittests
|
|
|
c8621d |
%if 0%{?__isa_bits} == 64
|
|
|
0e237d |
%global build_libdir %{_vpath_builddir}/lib64
|
|
|
c8621d |
%else
|
|
|
0e237d |
%global build_libdir %{_vpath_builddir}/lib
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
c8621d |
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{_libdir}
|
|
|
c8621d |
|
|
|
c8621d |
%global install_srcdir %{buildroot}%{_datadir}/llvm/src
|
|
|
c8621d |
%global lit_cfg test/%{_arch}.site.cfg.py
|
|
|
c8621d |
%global lit_unit_cfg test/Unit/%{_arch}.site.cfg.py
|
|
|
c8621d |
%global lit_fedora_cfg %{_datadir}/llvm/lit.fedora.cfg.py
|
|
|
c8621d |
|
|
|
c8621d |
# Install gtest sources so clang can use them for gtest
|
|
|
c8621d |
install -d %{install_srcdir}
|
|
|
c8621d |
install -d %{install_srcdir}/utils/
|
|
|
c8621d |
cp -R utils/unittest %{install_srcdir}/utils/
|
|
|
c8621d |
|
|
|
08f1e7 |
# Clang needs these for running lit tests.
|
|
|
08f1e7 |
cp utils/update_cc_test_checks.py %{install_srcdir}/utils/
|
|
|
08f1e7 |
cp -R utils/UpdateTestChecks %{install_srcdir}/utils/
|
|
|
08f1e7 |
|
|
|
08f1e7 |
%if %{with gold}
|
|
|
08f1e7 |
# Add symlink to lto plugin in the binutils plugin directory.
|
|
|
08f1e7 |
%{__mkdir_p} %{buildroot}%{_libdir}/bfd-plugins/
|
|
|
08f1e7 |
ln -s %{_libdir}/LLVMgold.so %{buildroot}%{_libdir}/bfd-plugins/
|
|
|
08f1e7 |
%endif
|
|
|
08f1e7 |
|
|
|
c8621d |
%else
|
|
|
c8621d |
|
|
|
c8621d |
# Add version suffix to binaries
|
|
|
c8621d |
for f in %{buildroot}/%{install_bindir}/*; do
|
|
|
c8621d |
filename=`basename $f`
|
|
|
c8621d |
ln -s ../../../%{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename%{exec_suffix}
|
|
|
c8621d |
done
|
|
|
c8621d |
|
|
|
c8621d |
# Move header files
|
|
|
c8621d |
mkdir -p %{buildroot}/%{pkg_includedir}
|
|
|
c8621d |
ln -s ../../../%{install_includedir}/llvm %{buildroot}/%{pkg_includedir}/llvm
|
|
|
c8621d |
ln -s ../../../%{install_includedir}/llvm-c %{buildroot}/%{pkg_includedir}/llvm-c
|
|
|
c8621d |
|
|
|
c8621d |
# Fix multi-lib
|
|
|
c8621d |
%multilib_fix_c_header --file %{install_includedir}/llvm/Config/llvm-config.h
|
|
|
c8621d |
|
|
|
c8621d |
# Create ld.so.conf.d entry
|
|
|
c8621d |
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
|
|
c8621d |
cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf << EOF
|
|
|
c8621d |
%{pkg_libdir}
|
|
|
c8621d |
EOF
|
|
|
c8621d |
|
|
|
c8621d |
# Add version suffix to man pages and move them to mandir.
|
|
|
c8621d |
mkdir -p %{buildroot}/%{_mandir}/man1
|
|
|
c8621d |
for f in %{build_install_prefix}/share/man/man1/*; do
|
|
|
c8621d |
filename=`basename $f | cut -f 1 -d '.'`
|
|
|
c8621d |
mv $f %{buildroot}%{_mandir}/man1/$filename%{exec_suffix}.1
|
|
|
c8621d |
done
|
|
|
c8621d |
|
|
|
c8621d |
# Remove opt-viewer, since this is just a compatibility package.
|
|
|
c8621d |
rm -Rf %{build_install_prefix}/share/opt-viewer
|
|
|
c8621d |
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
0e237d |
# llvm-config special casing. llvm-config is managed by update-alternatives.
|
|
|
0e237d |
# the original file must remain available for compatibility with the CMake
|
|
|
0e237d |
# infrastructure. Without compat, cmake points to the symlink, with compat it
|
|
|
0e237d |
# points to the original file.
|
|
|
0e237d |
|
|
|
0e237d |
%if %{without compat_build}
|
|
|
0e237d |
|
|
|
0e237d |
mv %{buildroot}/%{pkg_bindir}/llvm-config %{buildroot}/%{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
|
|
9b827f |
# We still maintain a versionned symlink for consistency across llvm versions.
|
|
|
9b827f |
# This is specific to the non-compat build and matches the exec prefix for
|
|
|
9b827f |
# compat builds. An isa-agnostic versionned symlink is also maintained in the (un)install
|
|
|
9b827f |
# steps.
|
|
|
9b827f |
(cd %{buildroot}/%{pkg_bindir} ; ln -s llvm-config%{exec_suffix}-%{__isa_bits} llvm-config-%{maj_ver}-%{__isa_bits} )
|
|
|
9b827f |
# ghost presence
|
|
|
9b827f |
touch %{buildroot}%{_bindir}/llvm-config-%{maj_ver}
|
|
|
0e237d |
|
|
|
0e237d |
%else
|
|
|
0e237d |
|
|
|
0e237d |
rm %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
|
|
0e237d |
(cd %{buildroot}/%{pkg_bindir} ; ln -s llvm-config llvm-config%{exec_suffix}-%{__isa_bits} )
|
|
|
0e237d |
|
|
|
0e237d |
%endif
|
|
|
0e237d |
|
|
|
0e237d |
# ghost presence
|
|
|
0e237d |
touch %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
|
|
0e237d |
|
|
|
0e237d |
|
|
|
c8621d |
|
|
|
c8621d |
%check
|
|
|
0e237d |
# TODO: Fix the failures below
|
|
|
c8621d |
%ifarch %{arm}
|
|
|
0e237d |
rm test/tools/llvm-readobj/ELF/dependent-libraries.test
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
0e237d |
# non reproducible errors
|
|
|
0e237d |
rm test/tools/dsymutil/X86/swift-interface.test
|
|
|
c8621d |
|
|
|
9b827f |
%if %{with check}
|
|
|
0e237d |
# FIXME: use %%cmake_build instead of %%__ninja
|
|
|
0e237d |
LD_LIBRARY_PATH=%{buildroot}/%{pkg_libdir} %{__ninja} check-all -C %{_vpath_builddir}
|
|
|
9b827f |
%endif
|
|
|
0e237d |
|
|
|
0e237d |
%ldconfig_scriptlets libs
|
|
|
c8621d |
|
|
|
c8621d |
%post devel
|
|
|
0e237d |
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config%{exec_suffix} llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits}
|
|
|
9b827f |
%if %{without compat_build}
|
|
|
9b827f |
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config-%{maj_ver} llvm-config-%{maj_ver} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits}
|
|
|
9b827f |
%endif
|
|
|
c8621d |
|
|
|
c8621d |
%postun devel
|
|
|
c8621d |
if [ $1 -eq 0 ]; then
|
|
|
0e237d |
%{_sbindir}/update-alternatives --remove llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
|
|
9b827f |
%if %{without compat_build}
|
|
|
9b827f |
%{_sbindir}/update-alternatives --remove llvm-config-%{maj_ver} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
|
|
9b827f |
%endif
|
|
|
c8621d |
fi
|
|
|
c8621d |
|
|
|
c8621d |
%files
|
|
|
08f1e7 |
%license LICENSE.TXT
|
|
|
c8621d |
%exclude %{_mandir}/man1/llvm-config*
|
|
|
c8621d |
%{_mandir}/man1/*
|
|
|
c8621d |
%{_bindir}/*
|
|
|
c8621d |
|
|
|
0e237d |
%exclude %{_bindir}/llvm-config%{exec_suffix}
|
|
|
0e237d |
%exclude %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
|
|
0e237d |
|
|
|
c8621d |
%if %{without compat_build}
|
|
|
9b827f |
%exclude %{_bindir}/llvm-config-%{maj_ver}
|
|
|
9b827f |
%exclude %{pkg_bindir}/llvm-config-%{maj_ver}-%{__isa_bits}
|
|
|
c8621d |
%exclude %{_bindir}/not
|
|
|
c8621d |
%exclude %{_bindir}/count
|
|
|
c8621d |
%exclude %{_bindir}/yaml-bench
|
|
|
c8621d |
%exclude %{_bindir}/lli-child-target
|
|
|
c8621d |
%exclude %{_bindir}/llvm-isel-fuzzer
|
|
|
c8621d |
%exclude %{_bindir}/llvm-opt-fuzzer
|
|
|
c8621d |
%{_datadir}/opt-viewer
|
|
|
c8621d |
%else
|
|
|
c8621d |
%{pkg_bindir}
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
c8621d |
%files libs
|
|
|
08f1e7 |
%license LICENSE.TXT
|
|
|
c8621d |
%{pkg_libdir}/libLLVM-%{maj_ver}.so
|
|
|
c8621d |
%if %{without compat_build}
|
|
|
c8621d |
%if %{with gold}
|
|
|
c8621d |
%{_libdir}/LLVMgold.so
|
|
|
08f1e7 |
%{_libdir}/bfd-plugins/LLVMgold.so
|
|
|
c8621d |
%endif
|
|
|
c8621d |
%{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
|
|
|
9b827f |
%{_libdir}/libLLVM-%{maj_ver}.so%{?abi_revision:.%{abi_revision}}
|
|
|
c8621d |
%{_libdir}/libLTO.so*
|
|
|
c8621d |
%else
|
|
|
c8621d |
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
|
|
c8621d |
%if %{with gold}
|
|
|
c8621d |
%{_libdir}/%{name}/lib/LLVMgold.so
|
|
|
c8621d |
%endif
|
|
|
c8621d |
%{pkg_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
|
|
|
c8621d |
%{pkg_libdir}/libLTO.so*
|
|
|
c8621d |
%exclude %{pkg_libdir}/libLTO.so
|
|
|
c8621d |
%endif
|
|
|
c8621d |
%{pkg_libdir}/libRemarks.so*
|
|
|
c8621d |
|
|
|
c8621d |
%files devel
|
|
|
08f1e7 |
%license LICENSE.TXT
|
|
|
0e237d |
|
|
|
0e237d |
%ghost %{_bindir}/llvm-config%{exec_suffix}
|
|
|
0e237d |
%{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
|
|
|
c8621d |
%{_mandir}/man1/llvm-config*
|
|
|
0e237d |
|
|
|
0e237d |
%if %{without compat_build}
|
|
|
c8621d |
%{_includedir}/llvm
|
|
|
c8621d |
%{_includedir}/llvm-c
|
|
|
c8621d |
%{_libdir}/libLLVM.so
|
|
|
c8621d |
%{_libdir}/cmake/llvm
|
|
|
9b827f |
%{pkg_bindir}/llvm-config-%{maj_ver}-%{__isa_bits}
|
|
|
9b827f |
%ghost %{_bindir}/llvm-config-%{maj_ver}
|
|
|
c8621d |
%else
|
|
|
c8621d |
%{install_includedir}/llvm
|
|
|
c8621d |
%{install_includedir}/llvm-c
|
|
|
c8621d |
%{pkg_includedir}/llvm
|
|
|
c8621d |
%{pkg_includedir}/llvm-c
|
|
|
c8621d |
%{pkg_libdir}/libLTO.so
|
|
|
c8621d |
%{pkg_libdir}/libLLVM.so
|
|
|
c8621d |
%{pkg_libdir}/cmake/llvm
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
c8621d |
%files doc
|
|
|
08f1e7 |
%license LICENSE.TXT
|
|
|
c8621d |
%doc %{_pkgdocdir}/html
|
|
|
c8621d |
|
|
|
c8621d |
%files static
|
|
|
08f1e7 |
%license LICENSE.TXT
|
|
|
c8621d |
%if %{without compat_build}
|
|
|
c8621d |
%{_libdir}/*.a
|
|
|
c8621d |
%exclude %{_libdir}/libLLVMTestingSupport.a
|
|
|
c8621d |
%else
|
|
|
c8621d |
%{_libdir}/%{name}/lib/*.a
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
c8621d |
%if %{without compat_build}
|
|
|
c8621d |
|
|
|
c8621d |
%files test
|
|
|
08f1e7 |
%license LICENSE.TXT
|
|
|
c8621d |
%{_bindir}/not
|
|
|
c8621d |
%{_bindir}/count
|
|
|
c8621d |
%{_bindir}/yaml-bench
|
|
|
c8621d |
%{_bindir}/lli-child-target
|
|
|
c8621d |
%{_bindir}/llvm-isel-fuzzer
|
|
|
c8621d |
%{_bindir}/llvm-opt-fuzzer
|
|
|
c8621d |
|
|
|
c8621d |
%files googletest
|
|
|
08f1e7 |
%license LICENSE.TXT
|
|
|
c8621d |
%{_datadir}/llvm/src/utils
|
|
|
c8621d |
%{_libdir}/libLLVMTestingSupport.a
|
|
|
c8621d |
|
|
|
c8621d |
%endif
|
|
|
c8621d |
|
|
|
c8621d |
%changelog
|
|
|
7d161a |
* Wed Feb 02 2022 Tom Stellard <tstellar@redhat.com> - 13.0.1-1
|
|
|
7d161a |
- 13.0.1 Release
|
|
|
7d161a |
|
|
|
7d161a |
* Sat Jan 29 2022 Tom Stellard <tstellar@redhat.com> - 13.0.0-4
|
|
|
7d161a |
- Rebuild with gcc fix from rhbz#2028609
|
|
|
7d161a |
|
|
|
9b827f |
* Thu Oct 21 2021 sguelton@redhat.com - 13.0.0-3
|
|
|
49a92e |
- Correctly set ldflags
|
|
|
49a92e |
|
|
|
9b827f |
* Wed Oct 20 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-2
|
|
|
9b827f |
- Disable failing test on s390x
|
|
|
9b827f |
|
|
|
9b827f |
* Thu Oct 14 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
|
|
|
9b827f |
- 13.0.0 Release
|
|
|
9b827f |
|
|
|
d272f9 |
* Fri Jul 16 2021 sguelton@redhat.com - 12.0.1-1
|
|
|
d272f9 |
- 12.0.1 release
|
|
|
d272f9 |
|
|
|
d272f9 |
* Fri Jul 02 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-2
|
|
|
d272f9 |
- Stop installing lit tests
|
|
|
d272f9 |
|
|
|
0e237d |
* Tue May 25 2021 sguelton@redhat.com - 12.0.0-1
|
|
|
0e237d |
- Remove obsolete patch
|
|
|
0e237d |
|
|
|
158546 |
* Thu Oct 29 2020 sguelton@redhat.com - 11.0.0-2
|
|
|
158546 |
- Remove obsolete patch
|
|
|
158546 |
|
|
|
158546 |
* Wed Sep 30 2020 sguelton@redhat.com - 11.0.0-1
|
|
|
158546 |
- 11.0.1 final release
|
|
|
158546 |
|
|
|
08f1e7 |
* Wed Sep 30 2020 sguelton@redhat.com - 11.0.0-0.6.rc2
|
|
|
08f1e7 |
- Restore default CI behavior wrt. number of threads
|
|
|
08f1e7 |
|
|
|
08f1e7 |
* Fri Sep 25 2020 sguelton@redhat.com - 11.0.0-0.5.rc2
|
|
|
08f1e7 |
- Fix test case depending on fs capability
|
|
|
08f1e7 |
|
|
|
08f1e7 |
* Fri Sep 25 2020 sguelton@redhat.com - 11.0.0-0.4.rc2
|
|
|
08f1e7 |
- Fix dependency on dsymutil.rst from CI
|
|
|
08f1e7 |
|
|
|
08f1e7 |
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.3.rc2
|
|
|
08f1e7 |
- Fix test file generation
|
|
|
08f1e7 |
|
|
|
08f1e7 |
* Wed Sep 23 2020 sguelton@redhat.com - 11.0.0-0.2.rc2
|
|
|
08f1e7 |
- Remove runtime dep on libedit-devel
|
|
|
08f1e7 |
|
|
|
08f1e7 |
* Mon Sep 14 2020 sguelton@redhat.com - 11.0.0-0.1.rc2
|
|
|
08f1e7 |
- 11.0.1.rc2 Release
|
|
|
08f1e7 |
|
|
|
1e30ac |
* Wed Aug 19 2020 Tom Stellard <tstellar@redhat.com> - 10.0.1-3
|
|
|
1e30ac |
- Fix rust crash on ppc64le compiling firefox
|
|
|
1e30ac |
|
|
|
1e30ac |
* Fri Jul 31 2020 sguelton@redhat.com - 10.0.1-2
|
|
|
1e30ac |
- Fix llvm-config alternative handling, see rhbz#1859996
|
|
|
1e30ac |
|
|
|
1e30ac |
* Fri Jul 24 2020 sguelton@redhat.com - 10.0.1-1
|
|
|
1e30ac |
- 10.0.1 Release
|
|
|
1e30ac |
|
|
|
c746b4 |
* Wed Jun 24 2020 sguelton@redhat.com - 10.0.0-2
|
|
|
c746b4 |
- Reproducible build of test.tar.gz, see rhbz#1820319
|
|
|
c746b4 |
|
|
|
c8621d |
* Tue Apr 7 2020 sguelton@redhat.com - 10.0.0-1
|
|
|
c8621d |
- 10.0.0 Release
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Feb 27 2020 Josh Stone <jistone@redhat.com> - 9.0.1-4
|
|
|
c8621d |
- Fix a codegen bug for Rust
|
|
|
c8621d |
|
|
|
c8621d |
* Fri Jan 17 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-3
|
|
|
c8621d |
- Add explicit Requires from sub-packages to llvm-libs
|
|
|
c8621d |
|
|
|
c8621d |
* Fri Jan 10 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-2
|
|
|
c8621d |
- Fix crash with kernel bpf self-tests
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Dec 19 2019 tstellar@redhat.com - 9.0.1-1
|
|
|
c8621d |
- 9.0.1 Release
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Oct 30 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-5
|
|
|
c8621d |
- Remove work-around for threading issue in gold
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Oct 30 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-4
|
|
|
c8621d |
- Build libLLVM.so first to avoid OOM errors
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Oct 01 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-3
|
|
|
c8621d |
- Adjust run-lit-tests script to better match in tree testing
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Sep 30 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-2
|
|
|
c8621d |
- Limit number of build threads using -l option for ninja
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Sep 26 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
|
|
|
c8621d |
- 9.0.0 Release
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Aug 1 2019 sguelton@redhat.com - 8.0.1-1
|
|
|
c8621d |
- 8.0.1 release
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Jul 2 2019 sguelton@redhat.com - 8.0.1-0.3.rc2
|
|
|
c8621d |
- Deactivate multithreading for gold plugin only to fix rhbz#1636479
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Jun 17 2019 sguelton@redhat.com - 8.0.1-0.2.rc2
|
|
|
c8621d |
- Deactivate multithreading instead of patching to fix rhbz#1636479
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Jun 13 2019 sguelton@redhat.com - 8.0.1-0.1.rc2
|
|
|
c8621d |
- 8.0.1rc2 Release
|
|
|
c8621d |
|
|
|
c8621d |
* Tue May 14 2019 sguelton@redhat.com - 8.0.0-3
|
|
|
c8621d |
- Disable threading in LTO
|
|
|
c8621d |
|
|
|
c8621d |
* Wed May 8 2019 sguelton@redhat.com - 8.0.0-2
|
|
|
c8621d |
- Fix conflicts between llvm-static = 8 and llvm-dev < 8 around LLVMStaticExports.cmake
|
|
|
c8621d |
|
|
|
c8621d |
* Thu May 2 2019 sguelton@redhat.com - 8.0.0-1
|
|
|
c8621d |
- 8.0.0 Release
|
|
|
c8621d |
|
|
|
c8621d |
* Fri Dec 14 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-1
|
|
|
c8621d |
- 7.0.1 Release
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Dec 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.5.rc3
|
|
|
c8621d |
- Drop compat libs
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Dec 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.4.rc3
|
|
|
c8621d |
- Fix ambiguous python shebangs
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Dec 11 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.3.rc3
|
|
|
c8621d |
- Disable threading in thinLTO
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Dec 11 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.2.rc3
|
|
|
c8621d |
- Update cmake options for compat build
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Dec 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.1.rc3
|
|
|
c8621d |
- 7.0.1-rc3 Release
|
|
|
c8621d |
|
|
|
c8621d |
* Fri Dec 07 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-14
|
|
|
c8621d |
- Don't build llvm-test on i686
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Dec 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-13
|
|
|
c8621d |
- Fix build when python2 is not present on system
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Nov 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-12
|
|
|
c8621d |
- Fix multi-lib installation of llvm-devel
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Oct 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-11
|
|
|
c8621d |
- Add sub-packages for testing
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Oct 01 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-10
|
|
|
c8621d |
- Drop scl macros
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-9
|
|
|
c8621d |
- Drop libedit dependency
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Aug 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-8
|
|
|
c8621d |
- Only enabled valgrind functionality on arches that support it
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Aug 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-7
|
|
|
c8621d |
- BuildRequires: python3-devel
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Aug 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-6
|
|
|
c8621d |
- Backport fixes for rhbz#1610053, rhbz#1562196, rhbz#1595996
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Aug 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-5
|
|
|
c8621d |
- Fix ld.so.conf.d path in files list
|
|
|
c8621d |
|
|
|
c8621d |
* Sat Aug 04 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-4
|
|
|
c8621d |
- Fix ld.so.conf.d path
|
|
|
c8621d |
|
|
|
c8621d |
* Fri Aug 03 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
|
|
|
c8621d |
- Install ld.so.conf so llvm libs are in the library search path
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Jul 25 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-2
|
|
|
c8621d |
- Re-enable doc package now that BREW-2381 is fixed
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Jul 10 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
|
|
|
c8621d |
- 6.0.1 Release
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Jun 04 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-13
|
|
|
c8621d |
- Limit build jobs on ppc64 to avoid OOM errors
|
|
|
c8621d |
|
|
|
c8621d |
* Sat Jun 02 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-12
|
|
|
c8621d |
- Switch to python3-sphinx
|
|
|
c8621d |
|
|
|
c8621d |
* Thu May 31 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-11
|
|
|
c8621d |
- Remove conditionals to enable building only the llvm-libs package, we don't
|
|
|
c8621d |
needs these for module builds.
|
|
|
c8621d |
|
|
|
c8621d |
* Wed May 23 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-10
|
|
|
c8621d |
- Add BuildRequires: libstdc++-static
|
|
|
c8621d |
- Resolves: #1580785
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Apr 04 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-9
|
|
|
c8621d |
- Add conditionals to enable building only the llvm-libs package
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Apr 03 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-8
|
|
|
c8621d |
- Drop BuildRequires: libstdc++-static this package does not exist in RHEL8
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Mar 20 2018 Tilmann Scheller <tschelle@redhat.com> - 5.0.1-7
|
|
|
c8621d |
- Backport fix for rhbz#1558226 from trunk
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Mar 06 2018 Tilmann Scheller <tschelle@redhat.com> - 5.0.1-6
|
|
|
c8621d |
- Backport fix for rhbz#1550469 from trunk
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Feb 22 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-5
|
|
|
c8621d |
- Backport some retpoline fixes
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Feb 06 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-4
|
|
|
c8621d |
- Backport retpoline support
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Jan 29 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-3
|
|
|
c8621d |
- Backport r315279 to fix an issue with rust
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Jan 15 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-2
|
|
|
c8621d |
- Drop ExculdeArch: ppc64
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Jan 08 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
|
|
|
c8621d |
- 5.0.1 Release
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Jun 22 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-3
|
|
|
c8621d |
- Fix Requires for devel package again.
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Jun 22 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-2
|
|
|
c8621d |
- Fix Requires for llvm-devel
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Jun 20 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
|
|
|
c8621d |
- 4.0.1 Release
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Jun 05 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-5
|
|
|
c8621d |
- Build for llvm-toolset-7 rename
|
|
|
c8621d |
|
|
|
c8621d |
* Mon May 01 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
|
|
|
c8621d |
- Remove multi-lib workarounds
|
|
|
c8621d |
|
|
|
c8621d |
* Fri Apr 28 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-3
|
|
|
c8621d |
- Fix build with llvm-toolset-4 scl
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Apr 03 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
|
|
|
c8621d |
- Simplify spec with rpm macros.
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Mar 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
|
|
|
c8621d |
- LLVM 4.0.0 Final Release
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Mar 22 2017 tstellar@redhat.com - 3.9.1-6
|
|
|
c8621d |
- Fix %%postun sep for -devel package.
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Mar 13 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-5
|
|
|
c8621d |
- Disable failing tests on ARM.
|
|
|
c8621d |
|
|
|
c8621d |
* Sun Mar 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 3.9.1-4
|
|
|
c8621d |
- Fix missing mask on relocation for aarch64 (rhbz 1429050)
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Mar 01 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-3
|
|
|
c8621d |
- revert upstream radeonsi breaking change.
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Feb 23 2017 Josh Stone <jistone@redhat.com> - 3.9.1-2
|
|
|
c8621d |
- disable sphinx warnings-as-errors
|
|
|
c8621d |
|
|
|
c8621d |
* Fri Feb 10 2017 Orion Poplawski <orion@cora.nwra.com> - 3.9.1-1
|
|
|
c8621d |
- llvm 3.9.1
|
|
|
c8621d |
|
|
|
c8621d |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-8
|
|
|
c8621d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Nov 29 2016 Josh Stone <jistone@redhat.com> - 3.9.0-7
|
|
|
c8621d |
- Apply backports from rust-lang/llvm#55, #57
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Nov 01 2016 Dave Airlie
|
|
|
c8621d |
- rebuild for new arches
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-5
|
|
|
c8621d |
- apply the patch from -4
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-4
|
|
|
c8621d |
- add fix for lldb out-of-tree build
|
|
|
c8621d |
|
|
|
c8621d |
* Mon Oct 17 2016 Josh Stone <jistone@redhat.com> - 3.9.0-3
|
|
|
c8621d |
- Apply backports from rust-lang/llvm#47, #48, #53, #54
|
|
|
c8621d |
|
|
|
c8621d |
* Sat Oct 15 2016 Josh Stone <jistone@redhat.com> - 3.9.0-2
|
|
|
c8621d |
- Apply an InstCombine backport via rust-lang/llvm#51
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Sep 07 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-1
|
|
|
c8621d |
- llvm 3.9.0
|
|
|
c8621d |
- upstream moved where cmake files are packaged.
|
|
|
c8621d |
- upstream dropped CppBackend
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Jul 13 2016 Adam Jackson <ajax@redhat.com> - 3.8.1-1
|
|
|
c8621d |
- llvm 3.8.1
|
|
|
c8621d |
- Add mips target
|
|
|
c8621d |
- Fix some shared library mispackaging
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Jun 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> - 3.8.0-2
|
|
|
c8621d |
- fix color support detection on terminal
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 3.8.0-1
|
|
|
c8621d |
- llvm 3.8.0 release
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Mar 09 2016 Dan Horák <dan[at][danny.cz> 3.8.0-0.3
|
|
|
c8621d |
- install back memory consumption workaround for s390
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Mar 03 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.2
|
|
|
c8621d |
- llvm 3.8.0 rc3 release
|
|
|
c8621d |
|
|
|
c8621d |
* Fri Feb 19 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.1
|
|
|
c8621d |
- llvm 3.8.0 rc2 release
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Feb 16 2016 Dan Horák <dan[at][danny.cz> 3.7.1-7
|
|
|
c8621d |
- recognize s390 as SystemZ when configuring build
|
|
|
c8621d |
|
|
|
c8621d |
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-6
|
|
|
c8621d |
- export C++ API for mesa.
|
|
|
c8621d |
|
|
|
c8621d |
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-5
|
|
|
c8621d |
- reintroduce llvm-static, clang needs it currently.
|
|
|
c8621d |
|
|
|
c8621d |
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
|
|
|
c8621d |
- jump back to single llvm library, the split libs aren't working very well.
|
|
|
c8621d |
|
|
|
c8621d |
* Fri Feb 05 2016 Dave Airlie <airlied@redhat.com> 3.7.1-3
|
|
|
c8621d |
- add missing obsoletes (#1303497)
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
|
|
|
c8621d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
c8621d |
|
|
|
c8621d |
* Thu Jan 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.1-1
|
|
|
c8621d |
- new upstream release
|
|
|
c8621d |
- enable gold linker
|
|
|
c8621d |
|
|
|
c8621d |
* Wed Nov 04 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
|
|
|
c8621d |
- fix Requires for subpackages on the main package
|
|
|
c8621d |
|
|
|
c8621d |
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
|
|
|
c8621d |
- initial version using cmake build system
|