|
|
240573 |
# Components enabled if supported by target architecture:
|
|
|
240573 |
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64}
|
|
|
240573 |
%ifarch %{gold_arches}
|
|
|
240573 |
%bcond_without gold
|
|
|
240573 |
%else
|
|
|
240573 |
%bcond_with gold
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
%global build_llvm_bindir %{buildroot}%{_bindir}
|
|
|
240573 |
%global llvm_libdir %{_libdir}/%{name}
|
|
|
240573 |
%global build_llvm_libdir %{buildroot}%{llvm_libdir}
|
|
|
240573 |
%global maj_ver 8
|
|
|
240573 |
%global min_ver 0
|
|
|
240573 |
%global patch_ver 0
|
|
|
240573 |
#%%global rc_ver 4
|
|
|
240573 |
#%%global compat_version 7.0.1
|
|
|
240573 |
|
|
|
240573 |
|
|
|
240573 |
%global pkg_name llvm
|
|
|
240573 |
%global install_prefix /usr
|
|
|
240573 |
%global install_libdir %{_libdir}
|
|
|
240573 |
%global pkg_libdir %{install_libdir}
|
|
|
240573 |
|
|
|
240573 |
%global build_install_prefix %{buildroot}%{install_prefix}
|
|
|
240573 |
%global build_pkgdocdir %{buildroot}%{_pkgdocdir}
|
|
|
240573 |
|
|
|
240573 |
#%%ifnarch i686
|
|
|
240573 |
%global enable_test_pkg 1
|
|
|
240573 |
#%%endif
|
|
|
240573 |
|
|
|
240573 |
%if !0%{?rhel}
|
|
|
240573 |
# libedit-devel is a buildroot-only package in RHEL8, so we can't have a
|
|
|
240573 |
# any run-time depencies on it.
|
|
|
240573 |
%global use_libedit 1
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
Name: %{pkg_name}
|
|
|
240573 |
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
|
|
240573 |
Release: 3%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
|
|
240573 |
Summary: The Low Level Virtual Machine
|
|
|
240573 |
|
|
|
240573 |
License: NCSA
|
|
|
240573 |
URL: http://llvm.org
|
|
|
240573 |
Source0: http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src.tar.xz
|
|
|
240573 |
Source1: run-lit-tests
|
|
|
240573 |
Source2: lit.fedora.cfg.py
|
|
|
240573 |
%if %{defined compat_version}
|
|
|
240573 |
Source100: http://llvm.org/releases/%{compat_version}/%{name}-%{compat_version}.src.tar.xz
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
Patch5: 0001-PATCH-llvm-config.patch
|
|
|
240573 |
Patch7: 0001-PATCH-Filter-out-cxxflags-not-supported-by-clang.patch
|
|
|
240573 |
Patch8: doc.patch
|
|
|
240573 |
Patch9: 0001-Disable-threading-in-thinLTO.patch
|
|
|
240573 |
Patch10: 0001-Disable-threading-in-LTO.patch
|
|
|
240573 |
Patch11: 0001-Fix-the-buildbot-issue-introduced-by-r351421.patch
|
|
|
240573 |
|
|
|
240573 |
BuildRequires: gcc
|
|
|
240573 |
BuildRequires: gcc-c++
|
|
|
240573 |
BuildRequires: cmake
|
|
|
240573 |
BuildRequires: ninja-build
|
|
|
240573 |
BuildRequires: zlib-devel
|
|
|
240573 |
BuildRequires: libffi-devel
|
|
|
240573 |
BuildRequires: ncurses-devel
|
|
|
240573 |
BuildRequires: python3-sphinx
|
|
|
240573 |
#BuildRequires: python3-recommonmark
|
|
|
240573 |
BuildRequires: multilib-rpm-config
|
|
|
240573 |
%if %{with gold}
|
|
|
240573 |
BuildRequires: binutils-devel
|
|
|
240573 |
%endif
|
|
|
240573 |
%ifarch %{valgrind_arches}
|
|
|
240573 |
# Enable extra functionality when run the LLVM JIT under valgrind.
|
|
|
240573 |
BuildRequires: valgrind-devel
|
|
|
240573 |
%endif
|
|
|
240573 |
%if 0%{?use_libedit}
|
|
|
240573 |
# LLVM's LineEditor library will use libedit if it is available.
|
|
|
240573 |
BuildRequires: libedit-devel
|
|
|
240573 |
%endif
|
|
|
240573 |
# We need python3-devel for pathfix.py.
|
|
|
240573 |
BuildRequires: python3-devel
|
|
|
240573 |
|
|
|
240573 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
240573 |
|
|
|
240573 |
%description
|
|
|
240573 |
LLVM is a compiler infrastructure designed for compile-time, link-time,
|
|
|
240573 |
runtime, and idle-time optimization of programs from arbitrary programming
|
|
|
240573 |
languages. The compiler infrastructure includes mirror sets of programming
|
|
|
240573 |
tools as well as libraries with equivalent functionality.
|
|
|
240573 |
|
|
|
240573 |
%package devel
|
|
|
240573 |
Summary: Libraries and header files for LLVM
|
|
|
240573 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
240573 |
# The installed LLVM cmake files will add -ledit to the linker flags for any
|
|
|
240573 |
# app that requires the libLLVMLineEditor, so we need to make sure
|
|
|
240573 |
# libedit-devel is available.
|
|
|
240573 |
%if 0%{?use_libedit}
|
|
|
240573 |
Requires: libedit-devel
|
|
|
240573 |
%endif
|
|
|
240573 |
Requires(post): %{_sbindir}/alternatives
|
|
|
240573 |
Requires(postun): %{_sbindir}/alternatives
|
|
|
240573 |
|
|
|
240573 |
%description devel
|
|
|
240573 |
This package contains library and header files needed to develop new native
|
|
|
240573 |
programs that use the LLVM infrastructure.
|
|
|
240573 |
|
|
|
240573 |
%package doc
|
|
|
240573 |
Summary: Documentation for LLVM
|
|
|
240573 |
BuildArch: noarch
|
|
|
240573 |
Requires: %{name} = %{version}-%{release}
|
|
|
240573 |
|
|
|
240573 |
%description doc
|
|
|
240573 |
Documentation for the LLVM compiler infrastructure.
|
|
|
240573 |
|
|
|
240573 |
%package libs
|
|
|
240573 |
Summary: LLVM shared libraries
|
|
|
240573 |
|
|
|
240573 |
%description libs
|
|
|
240573 |
Shared libraries for the LLVM compiler infrastructure.
|
|
|
240573 |
|
|
|
240573 |
%package static
|
|
|
240573 |
Summary: LLVM static libraries
|
|
|
240573 |
Conflicts: %{name}-devel < 8
|
|
|
240573 |
|
|
|
240573 |
%description static
|
|
|
240573 |
Static libraries for the LLVM compiler infrastructure.
|
|
|
240573 |
|
|
|
240573 |
%if 0%{?enable_test_pkg}
|
|
|
240573 |
|
|
|
240573 |
%package test
|
|
|
240573 |
Summary: LLVM regression tests
|
|
|
240573 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
240573 |
Requires: python3-lit
|
|
|
240573 |
# The regression tests need gold.
|
|
|
240573 |
Requires: binutils
|
|
|
240573 |
# This is for llvm-config
|
|
|
240573 |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
240573 |
# Bugpoint tests require gcc
|
|
|
240573 |
Requires: gcc
|
|
|
240573 |
Requires: findutils
|
|
|
240573 |
|
|
|
240573 |
%description test
|
|
|
240573 |
LLVM regression tests.
|
|
|
240573 |
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
%package googletest
|
|
|
240573 |
Summary: LLVM's modified googletest sources
|
|
|
240573 |
|
|
|
240573 |
%description googletest
|
|
|
240573 |
LLVM's modified googletest sources.
|
|
|
240573 |
|
|
|
240573 |
%prep
|
|
|
240573 |
%if %{defined compat_version}
|
|
|
240573 |
%setup -T -q -b 100 -n llvm-%{compat_version}.src
|
|
|
240573 |
|
|
|
240573 |
%setup -q -n llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
|
|
240573 |
%patch5 -p1
|
|
|
240573 |
%patch7 -p1
|
|
|
240573 |
%patch8 -p1
|
|
|
240573 |
%patch9 -p1
|
|
|
240573 |
%patch10 -p1
|
|
|
240573 |
|
|
|
240573 |
%else
|
|
|
240573 |
%autosetup -n llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src -p1
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
pathfix.py -i %{__python3} -pn \
|
|
|
240573 |
test/BugPoint/compile-custom.ll.py \
|
|
|
240573 |
tools/opt-viewer/*.py
|
|
|
240573 |
|
|
|
240573 |
%build
|
|
|
240573 |
mkdir -p _build
|
|
|
240573 |
cd _build
|
|
|
240573 |
|
|
|
240573 |
%ifarch s390 %{arm} %ix86
|
|
|
240573 |
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
|
|
240573 |
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
# force off shared libs as cmake macros turns it on.
|
|
|
240573 |
#
|
|
|
240573 |
# -DCMAKE_INSTALL_RPATH=";" is a workaround for llvm manually setting the
|
|
|
240573 |
# rpath of libraries and binaries. llvm will skip the manual setting
|
|
|
240573 |
# if CAMKE_INSTALL_RPATH is set to a value, but cmake interprets this value
|
|
|
240573 |
# as nothing, so it sets the rpath to "" when installing.
|
|
|
240573 |
%cmake .. -G Ninja \
|
|
|
240573 |
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
|
|
240573 |
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
|
|
240573 |
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
240573 |
-DCMAKE_INSTALL_RPATH=";" \
|
|
|
240573 |
%ifarch s390 s390x %{arm} %ix86
|
|
|
240573 |
-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
|
|
240573 |
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
|
|
|
240573 |
%endif
|
|
|
240573 |
%if 0%{?__isa_bits} == 64
|
|
|
240573 |
-DLLVM_LIBDIR_SUFFIX=64 \
|
|
|
240573 |
%else
|
|
|
240573 |
-DLLVM_LIBDIR_SUFFIX= \
|
|
|
240573 |
%endif
|
|
|
240573 |
\
|
|
|
240573 |
-DLLVM_TARGETS_TO_BUILD="X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;ARM;Mips;BPF" \
|
|
|
240573 |
-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
|
|
|
240573 |
-DLLVM_ENABLE_ZLIB:BOOL=ON \
|
|
|
240573 |
-DLLVM_ENABLE_FFI:BOOL=ON \
|
|
|
240573 |
-DLLVM_ENABLE_RTTI:BOOL=ON \
|
|
|
240573 |
%if %{with gold}
|
|
|
240573 |
-DLLVM_BINUTILS_INCDIR=%{_includedir} \
|
|
|
240573 |
%endif
|
|
|
240573 |
\
|
|
|
240573 |
-DLLVM_BUILD_RUNTIME:BOOL=ON \
|
|
|
240573 |
\
|
|
|
240573 |
-DLLVM_INCLUDE_TOOLS:BOOL=ON \
|
|
|
240573 |
-DLLVM_BUILD_TOOLS:BOOL=ON \
|
|
|
240573 |
\
|
|
|
240573 |
-DLLVM_INCLUDE_TESTS:BOOL=ON \
|
|
|
240573 |
-DLLVM_BUILD_TESTS:BOOL=ON \
|
|
|
240573 |
\
|
|
|
240573 |
-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \
|
|
|
240573 |
-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
|
|
|
240573 |
\
|
|
|
240573 |
-DLLVM_INCLUDE_UTILS:BOOL=ON \
|
|
|
240573 |
-DLLVM_INSTALL_UTILS:BOOL=ON \
|
|
|
240573 |
-DLLVM_UTILS_INSTALL_DIR:PATH=%{build_llvm_bindir} \
|
|
|
240573 |
-DLLVM_TOOLS_INSTALL_DIR:PATH=bin \
|
|
|
240573 |
\
|
|
|
240573 |
-DLLVM_INCLUDE_DOCS:BOOL=ON \
|
|
|
240573 |
-DLLVM_BUILD_DOCS:BOOL=ON \
|
|
|
240573 |
-DLLVM_ENABLE_SPHINX:BOOL=ON \
|
|
|
240573 |
-DLLVM_ENABLE_DOXYGEN:BOOL=OFF \
|
|
|
240573 |
\
|
|
|
240573 |
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
|
|
|
240573 |
-DLLVM_DYLIB_EXPORT_ALL:BOOL=ON \
|
|
|
240573 |
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
|
|
240573 |
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
|
|
|
240573 |
-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \
|
|
|
240573 |
\
|
|
|
240573 |
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
|
|
|
240573 |
-DCMAKE_INSTALL_PREFIX=%{build_install_prefix} \
|
|
|
240573 |
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{build_pkgdocdir}/html \
|
|
|
240573 |
-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3
|
|
|
240573 |
|
|
|
240573 |
ninja -v -j2
|
|
|
240573 |
|
|
|
240573 |
%if %{defined compat_version}
|
|
|
240573 |
mkdir ../compat-build
|
|
|
240573 |
cd ../compat-build
|
|
|
240573 |
%cmake ../../%{name}-%{compat_version}.src \
|
|
|
240573 |
-G Ninja \
|
|
|
240573 |
-DBUILD_SHARED_LIBS=OFF \
|
|
|
240573 |
-DCMAKE_BUILD_TYPE=Release \
|
|
|
240573 |
-DLLVM_TARGETS_TO_BUILD="X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;ARM;Mips;BPF" \
|
|
|
240573 |
-DLLVM_ENABLE_RTTI:BOOL=ON \
|
|
|
240573 |
-DLLVM_ENABLE_ZLIB:BOOL=ON \
|
|
|
240573 |
-DLLVM_ENABLE_FFI:BOOL=ON \
|
|
|
240573 |
-DLLVM_BUILD_LLVM_DYLIB=ON
|
|
|
240573 |
ninja -v LLVM
|
|
|
240573 |
|
|
|
240573 |
# Remove files we don't need to save disk space
|
|
|
240573 |
mv lib/libLLVM-`echo %{compat_version} | cut -f1 -d .`.so ..
|
|
|
240573 |
rm -Rf *
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
%install
|
|
|
240573 |
ninja -C _build -v install
|
|
|
240573 |
|
|
|
240573 |
|
|
|
240573 |
mkdir -p %{buildroot}/%{_bindir}
|
|
|
240573 |
mv %{buildroot}/%{_bindir}/llvm-config %{buildroot}/%{_bindir}/llvm-config-%{__isa_bits}
|
|
|
240573 |
ln -s llvm-config-%{__isa_bits} %{buildroot}/%{_bindir}/llvm-config
|
|
|
240573 |
|
|
|
240573 |
# Fix some man pages
|
|
|
240573 |
ln -s llvm-config.1 %{buildroot}%{_mandir}/man1/llvm-config-%{__isa_bits}.1
|
|
|
240573 |
mv %{buildroot}%{_mandir}/man1/tblgen.1 %{buildroot}%{_mandir}/man1/llvm-tblgen.1
|
|
|
240573 |
|
|
|
240573 |
# Install binaries needed for lit tests
|
|
|
240573 |
%if 0%{?enable_test_pkg}
|
|
|
240573 |
%global test_binaries FileCheck count lli-child-target llvm-PerfectShuffle llvm-isel-fuzzer llvm-opt-fuzzer not yaml-bench
|
|
|
240573 |
|
|
|
240573 |
for f in %{test_binaries}
|
|
|
240573 |
do
|
|
|
240573 |
install -m 0755 ./_build/bin/$f %{build_llvm_bindir}
|
|
|
240573 |
done
|
|
|
240573 |
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
|
|
|
240573 |
%multilib_fix_c_header --file %{_includedir}/llvm/Config/llvm-config.h
|
|
|
240573 |
|
|
|
240573 |
# Install libraries needed for unittests
|
|
|
240573 |
%if 0%{?__isa_bits} == 64
|
|
|
240573 |
%global build_libdir _build/lib64
|
|
|
240573 |
%else
|
|
|
240573 |
%global build_libdir _build/lib
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{_libdir}
|
|
|
240573 |
|
|
|
240573 |
%global install_srcdir %{buildroot}%{_datadir}/llvm/src
|
|
|
240573 |
%global lit_cfg test/%{_arch}.site.cfg.py
|
|
|
240573 |
%global lit_unit_cfg test/Unit/%{_arch}.site.cfg.py
|
|
|
240573 |
%global lit_fedora_cfg %{_datadir}/llvm/lit.fedora.cfg.py
|
|
|
240573 |
|
|
|
240573 |
# Install gtest sources so clang can use them for gtest
|
|
|
240573 |
install -d %{install_srcdir}
|
|
|
240573 |
install -d %{install_srcdir}/utils/
|
|
|
240573 |
cp -R utils/unittest %{install_srcdir}/utils/
|
|
|
240573 |
|
|
|
240573 |
%if 0%{?enable_test_pkg}
|
|
|
240573 |
# Generate lit config files. Strip off the last line that initiates the
|
|
|
240573 |
# test run, so we can customize the configuration.
|
|
|
240573 |
head -n -1 _build/test/lit.site.cfg.py >> %{lit_cfg}
|
|
|
240573 |
head -n -1 _build/test/Unit/lit.site.cfg.py >> %{lit_unit_cfg}
|
|
|
240573 |
|
|
|
240573 |
# Install custom fedora config file
|
|
|
240573 |
cp %{SOURCE2} %{buildroot}%{lit_fedora_cfg}
|
|
|
240573 |
|
|
|
240573 |
# Patch lit config files to load custom fedora config:
|
|
|
240573 |
for f in %{lit_cfg} %{lit_unit_cfg}; do
|
|
|
240573 |
echo "lit_config.load_config(config, '%{lit_fedora_cfg}')" >> $f
|
|
|
240573 |
done
|
|
|
240573 |
|
|
|
240573 |
install -d %{buildroot}%{_libexecdir}/tests/llvm
|
|
|
240573 |
install -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/tests/llvm
|
|
|
240573 |
|
|
|
240573 |
# Install lit tests. We need to put these in a tarball otherwise rpm will complain
|
|
|
240573 |
# about some of the test inputs having the wrong object file format.
|
|
|
240573 |
install -d %{buildroot}%{_datadir}/llvm/
|
|
|
240573 |
tar -czf %{install_srcdir}/test.tar.gz test/
|
|
|
240573 |
|
|
|
240573 |
# Install the unit test binaries
|
|
|
240573 |
mkdir -p %{build_llvm_libdir}
|
|
|
240573 |
cp -R _build/unittests %{build_llvm_libdir}/
|
|
|
240573 |
rm -rf `find %{build_llvm_libdir} -iname 'cmake*'`
|
|
|
240573 |
|
|
|
240573 |
# Install libraries used for testing
|
|
|
240573 |
install -m 0755 %{build_libdir}/BugpointPasses.so %{buildroot}%{_libdir}
|
|
|
240573 |
install -m 0755 %{build_libdir}/LLVMHello.so %{buildroot}%{_libdir}
|
|
|
240573 |
|
|
|
240573 |
# Install test inputs for PDB tests
|
|
|
240573 |
echo "%{_datadir}/llvm/src/unittests/DebugInfo/PDB" > %{build_llvm_libdir}/unittests/DebugInfo/PDB/llvm.srcdir.txt
|
|
|
240573 |
mkdir -p %{buildroot}%{_datadir}/llvm/src/unittests/DebugInfo/PDB/
|
|
|
240573 |
cp -R unittests/DebugInfo/PDB/Inputs %{buildroot}%{_datadir}/llvm/src/unittests/DebugInfo/PDB/
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
|
|
|
240573 |
%if %{defined compat_version}
|
|
|
240573 |
cd compat-build
|
|
|
240573 |
install ../libLLVM-`echo %{compat_version} | cut -f1 -d .`.so %{buildroot}%{_libdir}
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
%check
|
|
|
240573 |
|
|
|
240573 |
# TODO: Fix arm
|
|
|
240573 |
ninja check-all -C _build || \
|
|
|
240573 |
%ifarch %{arm}
|
|
|
240573 |
:
|
|
|
240573 |
%else
|
|
|
240573 |
false
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
|
|
|
240573 |
%ldconfig_scriptlets libs
|
|
|
240573 |
|
|
|
240573 |
%post devel
|
|
|
240573 |
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config llvm-config %{_bindir}/llvm-config-%{__isa_bits} %{__isa_bits}
|
|
|
240573 |
|
|
|
240573 |
%postun devel
|
|
|
240573 |
if [ $1 -eq 0 ]; then
|
|
|
240573 |
%{_sbindir}/update-alternatives --remove llvm-config %{_bindir}/llvm-config-%{__isa_bits}
|
|
|
240573 |
fi
|
|
|
240573 |
|
|
|
240573 |
|
|
|
240573 |
%files
|
|
|
240573 |
%exclude %{_bindir}/llvm-config*
|
|
|
240573 |
%exclude %{_bindir}/not
|
|
|
240573 |
%exclude %{_bindir}/count
|
|
|
240573 |
%exclude %{_bindir}/yaml-bench
|
|
|
240573 |
%exclude %{_bindir}/lli-child-target
|
|
|
240573 |
%exclude %{_bindir}/llvm-isel-fuzzer
|
|
|
240573 |
%exclude %{_bindir}/llvm-opt-fuzzer
|
|
|
240573 |
%{_bindir}/*
|
|
|
240573 |
|
|
|
240573 |
%exclude %{_mandir}/man1/llvm-config*
|
|
|
240573 |
%{_mandir}/man1/*
|
|
|
240573 |
|
|
|
240573 |
%{_datadir}/opt-viewer
|
|
|
240573 |
|
|
|
240573 |
%files libs
|
|
|
240573 |
%{pkg_libdir}/libLLVM-%{maj_ver}.so
|
|
|
240573 |
%if %{with gold}
|
|
|
240573 |
%{_libdir}/LLVMgold.so
|
|
|
240573 |
%endif
|
|
|
240573 |
%{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
|
|
|
240573 |
%{_libdir}/libLTO.so*
|
|
|
240573 |
%{pkg_libdir}/libOptRemarks.so*
|
|
|
240573 |
%if %{defined compat_version}
|
|
|
240573 |
%{_libdir}/libLLVM-7.so
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
%files devel
|
|
|
240573 |
%{_bindir}/llvm-config*
|
|
|
240573 |
%{_mandir}/man1/llvm-config*
|
|
|
240573 |
%{_includedir}/llvm
|
|
|
240573 |
%{_includedir}/llvm-c
|
|
|
240573 |
%{_libdir}/libLLVM.so
|
|
|
240573 |
%{_libdir}/cmake/llvm
|
|
|
240573 |
%exclude %{_libdir}/cmake/llvm/LLVMStaticExports.cmake
|
|
|
240573 |
|
|
|
240573 |
%files doc
|
|
|
240573 |
%doc %{_pkgdocdir}/html
|
|
|
240573 |
|
|
|
240573 |
%files static
|
|
|
240573 |
%{_libdir}/*.a
|
|
|
240573 |
%exclude %{_libdir}/libLLVMTestingSupport.a
|
|
|
240573 |
%{_libdir}/cmake/llvm/LLVMStaticExports.cmake
|
|
|
240573 |
|
|
|
240573 |
%if 0%{?enable_test_pkg}
|
|
|
240573 |
%files test
|
|
|
240573 |
%{_libexecdir}/tests/llvm/
|
|
|
240573 |
%{llvm_libdir}/unittests/
|
|
|
240573 |
%{_datadir}/llvm/src/unittests
|
|
|
240573 |
%{_datadir}/llvm/src/test.tar.gz
|
|
|
240573 |
%{_datadir}/llvm/lit.fedora.cfg.py
|
|
|
240573 |
%{_bindir}/not
|
|
|
240573 |
%{_bindir}/count
|
|
|
240573 |
%{_bindir}/yaml-bench
|
|
|
240573 |
%{_bindir}/lli-child-target
|
|
|
240573 |
%{_bindir}/llvm-isel-fuzzer
|
|
|
240573 |
%{_bindir}/llvm-opt-fuzzer
|
|
|
240573 |
%{_libdir}/BugpointPasses.so
|
|
|
240573 |
%{_libdir}/LLVMHello.so
|
|
|
240573 |
%endif
|
|
|
240573 |
|
|
|
240573 |
%files googletest
|
|
|
240573 |
%{_datadir}/llvm/src/utils
|
|
|
240573 |
%{_libdir}/libLLVMTestingSupport.a
|
|
|
240573 |
|
|
|
240573 |
|
|
|
240573 |
%changelog
|
|
|
240573 |
* Tue May 14 2019 sguelton@redhat.com - 8.0.0-3
|
|
|
240573 |
- Disable threading in LTO
|
|
|
240573 |
|
|
|
240573 |
* Wed May 8 2019 sguelton@redhat.com - 8.0.0-2
|
|
|
240573 |
- Fix conflicts between llvm-static = 8 and llvm-dev < 8 around LLVMStaticExports.cmake
|
|
|
240573 |
|
|
|
240573 |
* Thu May 2 2019 sguelton@redhat.com - 8.0.0-1
|
|
|
240573 |
- 8.0.0 Release
|
|
|
240573 |
|
|
|
240573 |
* Fri Dec 14 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-1
|
|
|
240573 |
- 7.0.1 Release
|
|
|
240573 |
|
|
|
240573 |
* Thu Dec 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.5.rc3
|
|
|
240573 |
- Drop compat libs
|
|
|
240573 |
|
|
|
240573 |
* Wed Dec 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.4.rc3
|
|
|
240573 |
- Fix ambiguous python shebangs
|
|
|
240573 |
|
|
|
240573 |
* Tue Dec 11 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.3.rc3
|
|
|
240573 |
- Disable threading in thinLTO
|
|
|
240573 |
|
|
|
240573 |
* Tue Dec 11 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.2.rc3
|
|
|
240573 |
- Update cmake options for compat build
|
|
|
240573 |
|
|
|
240573 |
* Mon Dec 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.1.rc3
|
|
|
240573 |
- 7.0.1-rc3 Release
|
|
|
240573 |
|
|
|
240573 |
* Fri Dec 07 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-14
|
|
|
240573 |
- Don't build llvm-test on i686
|
|
|
240573 |
|
|
|
240573 |
* Thu Dec 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-13
|
|
|
240573 |
- Fix build when python2 is not present on system
|
|
|
240573 |
|
|
|
240573 |
* Tue Nov 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-12
|
|
|
240573 |
- Fix multi-lib installation of llvm-devel
|
|
|
240573 |
|
|
|
240573 |
* Tue Oct 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-11
|
|
|
240573 |
- Add sub-packages for testing
|
|
|
240573 |
|
|
|
240573 |
* Mon Oct 01 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-10
|
|
|
240573 |
- Drop scl macros
|
|
|
240573 |
|
|
|
240573 |
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-9
|
|
|
240573 |
- Drop libedit dependency
|
|
|
240573 |
|
|
|
240573 |
* Tue Aug 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-8
|
|
|
240573 |
- Only enabled valgrind functionality on arches that support it
|
|
|
240573 |
|
|
|
240573 |
* Mon Aug 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-7
|
|
|
240573 |
- BuildRequires: python3-devel
|
|
|
240573 |
|
|
|
240573 |
* Mon Aug 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-6
|
|
|
240573 |
- Backport fixes for rhbz#1610053, rhbz#1562196, rhbz#1595996
|
|
|
240573 |
|
|
|
240573 |
* Mon Aug 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-5
|
|
|
240573 |
- Fix ld.so.conf.d path in files list
|
|
|
240573 |
|
|
|
240573 |
* Sat Aug 04 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-4
|
|
|
240573 |
- Fix ld.so.conf.d path
|
|
|
240573 |
|
|
|
240573 |
* Fri Aug 03 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
|
|
|
240573 |
- Install ld.so.conf so llvm libs are in the library search path
|
|
|
240573 |
|
|
|
240573 |
* Wed Jul 25 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-2
|
|
|
240573 |
- Re-enable doc package now that BREW-2381 is fixed
|
|
|
240573 |
|
|
|
240573 |
* Tue Jul 10 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
|
|
|
240573 |
- 6.0.1 Release
|
|
|
240573 |
|
|
|
240573 |
* Mon Jun 04 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-13
|
|
|
240573 |
- Limit build jobs on ppc64 to avoid OOM errors
|
|
|
240573 |
|
|
|
240573 |
* Sat Jun 02 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-12
|
|
|
240573 |
- Switch to python3-sphinx
|
|
|
240573 |
|
|
|
240573 |
* Thu May 31 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-11
|
|
|
240573 |
- Remove conditionals to enable building only the llvm-libs package, we don't
|
|
|
240573 |
needs these for module builds.
|
|
|
240573 |
|
|
|
240573 |
* Wed May 23 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-10
|
|
|
240573 |
- Add BuildRequires: libstdc++-static
|
|
|
240573 |
- Resolves: #1580785
|
|
|
240573 |
|
|
|
240573 |
* Wed Apr 04 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-9
|
|
|
240573 |
- Add conditionals to enable building only the llvm-libs package
|
|
|
240573 |
|
|
|
240573 |
* Tue Apr 03 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-8
|
|
|
240573 |
- Drop BuildRequires: libstdc++-static this package does not exist in RHEL8
|
|
|
240573 |
|
|
|
240573 |
* Tue Mar 20 2018 Tilmann Scheller <tschelle@redhat.com> - 5.0.1-7
|
|
|
240573 |
- Backport fix for rhbz#1558226 from trunk
|
|
|
240573 |
|
|
|
240573 |
* Tue Mar 06 2018 Tilmann Scheller <tschelle@redhat.com> - 5.0.1-6
|
|
|
240573 |
- Backport fix for rhbz#1550469 from trunk
|
|
|
240573 |
|
|
|
240573 |
* Thu Feb 22 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-5
|
|
|
240573 |
- Backport some retpoline fixes
|
|
|
240573 |
|
|
|
240573 |
* Tue Feb 06 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-4
|
|
|
240573 |
- Backport retpoline support
|
|
|
240573 |
|
|
|
240573 |
* Mon Jan 29 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-3
|
|
|
240573 |
- Backport r315279 to fix an issue with rust
|
|
|
240573 |
|
|
|
240573 |
* Mon Jan 15 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-2
|
|
|
240573 |
- Drop ExculdeArch: ppc64
|
|
|
240573 |
|
|
|
240573 |
* Mon Jan 08 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
|
|
|
240573 |
- 5.0.1 Release
|
|
|
240573 |
|
|
|
240573 |
* Thu Jun 22 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-3
|
|
|
240573 |
- Fix Requires for devel package again.
|
|
|
240573 |
|
|
|
240573 |
* Thu Jun 22 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-2
|
|
|
240573 |
- Fix Requires for llvm-devel
|
|
|
240573 |
|
|
|
240573 |
* Tue Jun 20 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
|
|
|
240573 |
- 4.0.1 Release
|
|
|
240573 |
|
|
|
240573 |
* Mon Jun 05 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-5
|
|
|
240573 |
- Build for llvm-toolset-7 rename
|
|
|
240573 |
|
|
|
240573 |
* Mon May 01 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
|
|
|
240573 |
- Remove multi-lib workarounds
|
|
|
240573 |
|
|
|
240573 |
* Fri Apr 28 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-3
|
|
|
240573 |
- Fix build with llvm-toolset-4 scl
|
|
|
240573 |
|
|
|
240573 |
* Mon Apr 03 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
|
|
|
240573 |
- Simplify spec with rpm macros.
|
|
|
240573 |
|
|
|
240573 |
* Thu Mar 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
|
|
|
240573 |
- LLVM 4.0.0 Final Release
|
|
|
240573 |
|
|
|
240573 |
* Wed Mar 22 2017 tstellar@redhat.com - 3.9.1-6
|
|
|
240573 |
- Fix %%postun sep for -devel package.
|
|
|
240573 |
|
|
|
240573 |
* Mon Mar 13 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-5
|
|
|
240573 |
- Disable failing tests on ARM.
|
|
|
240573 |
|
|
|
240573 |
* Sun Mar 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 3.9.1-4
|
|
|
240573 |
- Fix missing mask on relocation for aarch64 (rhbz 1429050)
|
|
|
240573 |
|
|
|
240573 |
* Wed Mar 01 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-3
|
|
|
240573 |
- revert upstream radeonsi breaking change.
|
|
|
240573 |
|
|
|
240573 |
* Thu Feb 23 2017 Josh Stone <jistone@redhat.com> - 3.9.1-2
|
|
|
240573 |
- disable sphinx warnings-as-errors
|
|
|
240573 |
|
|
|
240573 |
* Fri Feb 10 2017 Orion Poplawski <orion@cora.nwra.com> - 3.9.1-1
|
|
|
240573 |
- llvm 3.9.1
|
|
|
240573 |
|
|
|
240573 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-8
|
|
|
240573 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
240573 |
|
|
|
240573 |
* Tue Nov 29 2016 Josh Stone <jistone@redhat.com> - 3.9.0-7
|
|
|
240573 |
- Apply backports from rust-lang/llvm#55, #57
|
|
|
240573 |
|
|
|
240573 |
* Tue Nov 01 2016 Dave Airlie
|
|
|
240573 |
- rebuild for new arches
|
|
|
240573 |
|
|
|
240573 |
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-5
|
|
|
240573 |
- apply the patch from -4
|
|
|
240573 |
|
|
|
240573 |
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-4
|
|
|
240573 |
- add fix for lldb out-of-tree build
|
|
|
240573 |
|
|
|
240573 |
* Mon Oct 17 2016 Josh Stone <jistone@redhat.com> - 3.9.0-3
|
|
|
240573 |
- Apply backports from rust-lang/llvm#47, #48, #53, #54
|
|
|
240573 |
|
|
|
240573 |
* Sat Oct 15 2016 Josh Stone <jistone@redhat.com> - 3.9.0-2
|
|
|
240573 |
- Apply an InstCombine backport via rust-lang/llvm#51
|
|
|
240573 |
|
|
|
240573 |
* Wed Sep 07 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-1
|
|
|
240573 |
- llvm 3.9.0
|
|
|
240573 |
- upstream moved where cmake files are packaged.
|
|
|
240573 |
- upstream dropped CppBackend
|
|
|
240573 |
|
|
|
240573 |
* Wed Jul 13 2016 Adam Jackson <ajax@redhat.com> - 3.8.1-1
|
|
|
240573 |
- llvm 3.8.1
|
|
|
240573 |
- Add mips target
|
|
|
240573 |
- Fix some shared library mispackaging
|
|
|
240573 |
|
|
|
240573 |
* Tue Jun 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> - 3.8.0-2
|
|
|
240573 |
- fix color support detection on terminal
|
|
|
240573 |
|
|
|
240573 |
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 3.8.0-1
|
|
|
240573 |
- llvm 3.8.0 release
|
|
|
240573 |
|
|
|
240573 |
* Wed Mar 09 2016 Dan Horák <dan[at][danny.cz> 3.8.0-0.3
|
|
|
240573 |
- install back memory consumption workaround for s390
|
|
|
240573 |
|
|
|
240573 |
* Thu Mar 03 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.2
|
|
|
240573 |
- llvm 3.8.0 rc3 release
|
|
|
240573 |
|
|
|
240573 |
* Fri Feb 19 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.1
|
|
|
240573 |
- llvm 3.8.0 rc2 release
|
|
|
240573 |
|
|
|
240573 |
* Tue Feb 16 2016 Dan Horák <dan[at][danny.cz> 3.7.1-7
|
|
|
240573 |
- recognize s390 as SystemZ when configuring build
|
|
|
240573 |
|
|
|
240573 |
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-6
|
|
|
240573 |
- export C++ API for mesa.
|
|
|
240573 |
|
|
|
240573 |
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-5
|
|
|
240573 |
- reintroduce llvm-static, clang needs it currently.
|
|
|
240573 |
|
|
|
240573 |
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
|
|
|
240573 |
- jump back to single llvm library, the split libs aren't working very well.
|
|
|
240573 |
|
|
|
240573 |
* Fri Feb 05 2016 Dave Airlie <airlied@redhat.com> 3.7.1-3
|
|
|
240573 |
- add missing obsoletes (#1303497)
|
|
|
240573 |
|
|
|
240573 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
|
|
|
240573 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
240573 |
|
|
|
240573 |
* Thu Jan 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.1-1
|
|
|
240573 |
- new upstream release
|
|
|
240573 |
- enable gold linker
|
|
|
240573 |
|
|
|
240573 |
* Wed Nov 04 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
|
|
|
240573 |
- fix Requires for subpackages on the main package
|
|
|
240573 |
|
|
|
240573 |
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
|
|
|
240573 |
- initial version using cmake build system
|