Blame SPECS/llvm.spec

6a1e6b
# Components enabled if supported by target architecture:
6a1e6b
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x
6a1e6b
%ifarch %{gold_arches}
6a1e6b
  %bcond_without gold
6a1e6b
%else
6a1e6b
  %bcond_with gold
6a1e6b
%endif
6a1e6b
6a1e6b
%bcond_with compat_build
6a1e6b
6a1e6b
%global llvm_libdir %{_libdir}/%{name}
6a1e6b
%global build_llvm_libdir %{buildroot}%{llvm_libdir}
6a1e6b
#%%global rc_ver 5
6a1e6b
%global llvm_srcdir llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src
6a1e6b
%global maj_ver 12
6a1e6b
%global min_ver 0
6a1e6b
%global patch_ver 0
6a1e6b
6a1e6b
%if %{with compat_build}
6a1e6b
%global pkg_name llvm%{maj_ver}
6a1e6b
%global exec_suffix -%{maj_ver}
6a1e6b
%global install_prefix %{_libdir}/%{name}
6a1e6b
%global install_bindir %{install_prefix}/bin
6a1e6b
%global install_includedir %{install_prefix}/include
6a1e6b
%global install_libdir %{install_prefix}/lib
6a1e6b
6a1e6b
%global pkg_bindir %{install_bindir}
6a1e6b
%global pkg_includedir %{_includedir}/%{name}
6a1e6b
%global pkg_libdir %{install_libdir}
6a1e6b
%else
6a1e6b
%global pkg_name llvm
6a1e6b
%global install_prefix /usr
6a1e6b
%global install_libdir %{_libdir}
6a1e6b
%global pkg_bindir %{_bindir}
6a1e6b
%global pkg_libdir %{install_libdir}
6a1e6b
%global exec_suffix %{nil}
6a1e6b
%endif
6a1e6b
6a1e6b
%if 0%{?rhel}
6a1e6b
%global targets_to_build "X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;ARM;Mips;BPF;WebAssembly"
6a1e6b
%global experimental_targets_to_build ""
6a1e6b
%else
6a1e6b
%global targets_to_build "all"
6a1e6b
%global experimental_targets_to_build "AVR"
6a1e6b
%endif
6a1e6b
6a1e6b
%global build_install_prefix %{buildroot}%{install_prefix}
6a1e6b
6a1e6b
Name:		%{pkg_name}
6a1e6b
Version:	%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
6a1e6b
Release:	6%{?dist}
6a1e6b
Summary:	The Low Level Virtual Machine
6a1e6b
6a1e6b
License:	NCSA
6a1e6b
URL:		http://llvm.org
6a1e6b
Source0:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz
6a1e6b
Source1:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz.sig
6a1e6b
Source2:	tstellar-gpg-key.asc
6a1e6b
6a1e6b
%if %{without compat_build}
6a1e6b
Source3:	run-lit-tests
6a1e6b
Source4:	lit.fedora.cfg.py
6a1e6b
%endif
6a1e6b
6a1e6b
Patch0:     0001-PATCH-llvm-Make-source-interleave-prefix-test-case-c.patch
6a1e6b
6a1e6b
BuildRequires:	gcc
6a1e6b
BuildRequires:	gcc-c++
6a1e6b
BuildRequires:	cmake
6a1e6b
BuildRequires:	ninja-build
6a1e6b
BuildRequires:	zlib-devel
6a1e6b
BuildRequires:	libffi-devel
6a1e6b
BuildRequires:	ncurses-devel
6a1e6b
BuildRequires:	python3-psutil
6a1e6b
BuildRequires:	python3-sphinx
6a1e6b
BuildRequires:	python3-recommonmark
6a1e6b
BuildRequires:	multilib-rpm-config
6a1e6b
%if %{with gold}
6a1e6b
BuildRequires:	binutils-devel
6a1e6b
%endif
6a1e6b
%ifarch %{valgrind_arches}
6a1e6b
# Enable extra functionality when run the LLVM JIT under valgrind.
6a1e6b
BuildRequires:	valgrind-devel
6a1e6b
%endif
6a1e6b
# LLVM's LineEditor library will use libedit if it is available.
6a1e6b
BuildRequires:	libedit-devel
6a1e6b
# We need python3-devel for pathfix.py.
6a1e6b
BuildRequires:	python3-devel
6a1e6b
BuildRequires:	python3-setuptools
6a1e6b
6a1e6b
# For origin certification
6a1e6b
BuildRequires:	gnupg2
6a1e6b
6a1e6b
6a1e6b
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
6a1e6b
6a1e6b
Provides:	llvm(major) = %{maj_ver}
6a1e6b
6a1e6b
%description
6a1e6b
LLVM is a compiler infrastructure designed for compile-time, link-time,
6a1e6b
runtime, and idle-time optimization of programs from arbitrary programming
6a1e6b
languages. The compiler infrastructure includes mirror sets of programming
6a1e6b
tools as well as libraries with equivalent functionality.
6a1e6b
6a1e6b
%package devel
6a1e6b
Summary:	Libraries and header files for LLVM
6a1e6b
Requires:	%{name}%{?_isa} = %{version}-%{release}
6a1e6b
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
6a1e6b
# The installed LLVM cmake files will add -ledit to the linker flags for any
6a1e6b
# app that requires the libLLVMLineEditor, so we need to make sure
6a1e6b
# libedit-devel is available.
6a1e6b
Requires:	libedit-devel
6a1e6b
# The installed cmake files reference binaries from llvm-test and llvm-static.
6a1e6b
# We tried in the past to split the cmake exports for these binaries out into
6a1e6b
# separate files, so that llvm-devel would not need to Require these packages,
6a1e6b
# but this caused bugs (rhbz#1773678) and forced us to carry two non-upstream
6a1e6b
# patches.
6a1e6b
Requires:	%{name}-static%{?_isa} = %{version}-%{release}
6a1e6b
%if %{without compat_build}
6a1e6b
Requires:	%{name}-test%{?_isa} = %{version}-%{release}
6a1e6b
%endif
6a1e6b
6a1e6b
6a1e6b
Requires(post):	%{_sbindir}/alternatives
6a1e6b
Requires(postun):	%{_sbindir}/alternatives
6a1e6b
6a1e6b
Provides:	llvm-devel(major) = %{maj_ver}
6a1e6b
6a1e6b
%description devel
6a1e6b
This package contains library and header files needed to develop new native
6a1e6b
programs that use the LLVM infrastructure.
6a1e6b
6a1e6b
%package doc
6a1e6b
Summary:	Documentation for LLVM
6a1e6b
BuildArch:	noarch
6a1e6b
Requires:	%{name} = %{version}-%{release}
6a1e6b
6a1e6b
%description doc
6a1e6b
Documentation for the LLVM compiler infrastructure.
6a1e6b
6a1e6b
%package libs
6a1e6b
Summary:	LLVM shared libraries
6a1e6b
6a1e6b
%description libs
6a1e6b
Shared libraries for the LLVM compiler infrastructure.
6a1e6b
6a1e6b
%package static
6a1e6b
Summary:	LLVM static libraries
6a1e6b
Conflicts:	%{name}-devel < 8
6a1e6b
6a1e6b
Provides:	llvm-static(major) = %{maj_ver}
6a1e6b
6a1e6b
%description static
6a1e6b
Static libraries for the LLVM compiler infrastructure.
6a1e6b
6a1e6b
%if %{without compat_build}
6a1e6b
6a1e6b
%package test
6a1e6b
Summary:	LLVM regression tests
6a1e6b
Requires:	%{name}%{?_isa} = %{version}-%{release}
6a1e6b
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
6a1e6b
Requires:	python3-lit
6a1e6b
# The regression tests need gold.
6a1e6b
Requires:	binutils
6a1e6b
# This is for llvm-config
6a1e6b
Requires:	%{name}-devel%{?_isa} = %{version}-%{release}
6a1e6b
# Bugpoint tests require gcc
6a1e6b
Requires:	gcc
6a1e6b
Requires:	findutils
6a1e6b
6a1e6b
Provides:	llvm-test(major) = %{maj_ver}
6a1e6b
6a1e6b
%description test
6a1e6b
LLVM regression tests.
6a1e6b
6a1e6b
%package googletest
6a1e6b
Summary: LLVM's modified googletest sources
6a1e6b
6a1e6b
%description googletest
6a1e6b
LLVM's modified googletest sources.
6a1e6b
6a1e6b
%endif
6a1e6b
6a1e6b
%prep
6a1e6b
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
6a1e6b
%autosetup -n %{llvm_srcdir} -p2
6a1e6b
6a1e6b
pathfix.py -i %{__python3} -pn \
6a1e6b
	test/BugPoint/compile-custom.ll.py \
6a1e6b
	tools/opt-viewer/*.py \
6a1e6b
	utils/update_cc_test_checks.py
6a1e6b
6a1e6b
%build
6a1e6b
6a1e6b
# Disable LTO on s390x, this causes some test failures:
6a1e6b
# LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.Authenticated
6a1e6b
# LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.PATCHPOINT
6a1e6b
# LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.STACKMAP
6a1e6b
# LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.TLSDESC_CALLSEQ
6a1e6b
# On X86_64, LTO builds of TableGen crash.  This can be reproduced by:
6a1e6b
# %%cmake_build --target include/llvm/IR/IntrinsicsAArch64.h
6a1e6b
# Because of these failures, lto is disabled for now.
6a1e6b
%global _lto_cflags %{nil}
6a1e6b
6a1e6b
%ifarch s390 s390x %{arm} %ix86
6a1e6b
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
6a1e6b
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
6a1e6b
%endif
6a1e6b
6a1e6b
# force off shared libs as cmake macros turns it on.
6a1e6b
%cmake  -G Ninja \
6a1e6b
	-DBUILD_SHARED_LIBS:BOOL=OFF \
6a1e6b
	-DLLVM_PARALLEL_LINK_JOBS=1 \
6a1e6b
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
6a1e6b
	-DCMAKE_SKIP_RPATH:BOOL=ON \
6a1e6b
%ifarch s390 %{arm} %ix86
6a1e6b
	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
6a1e6b
	-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
6a1e6b
%endif
6a1e6b
%if %{without compat_build}
6a1e6b
%if 0%{?__isa_bits} == 64
6a1e6b
	-DLLVM_LIBDIR_SUFFIX=64 \
6a1e6b
%else
6a1e6b
	-DLLVM_LIBDIR_SUFFIX= \
6a1e6b
%endif
6a1e6b
%endif
6a1e6b
	\
6a1e6b
	-DLLVM_TARGETS_TO_BUILD=%{targets_to_build} \
6a1e6b
	-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
6a1e6b
	-DLLVM_ENABLE_ZLIB:BOOL=ON \
6a1e6b
	-DLLVM_ENABLE_FFI:BOOL=ON \
6a1e6b
	-DLLVM_ENABLE_RTTI:BOOL=ON \
6a1e6b
	-DLLVM_USE_PERF:BOOL=ON \
6a1e6b
%if %{with gold}
6a1e6b
	-DLLVM_BINUTILS_INCDIR=%{_includedir} \
6a1e6b
%endif
6a1e6b
	-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{experimental_targets_to_build} \
6a1e6b
	\
6a1e6b
	-DLLVM_BUILD_RUNTIME:BOOL=ON \
6a1e6b
	\
6a1e6b
	-DLLVM_INCLUDE_TOOLS:BOOL=ON \
6a1e6b
	-DLLVM_BUILD_TOOLS:BOOL=ON \
6a1e6b
	\
6a1e6b
	-DLLVM_INCLUDE_TESTS:BOOL=ON \
6a1e6b
	-DLLVM_BUILD_TESTS:BOOL=ON \
6a1e6b
	\
6a1e6b
	-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \
6a1e6b
	-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
6a1e6b
	\
6a1e6b
	-DLLVM_INCLUDE_UTILS:BOOL=ON \
6a1e6b
%if %{with compat_build}
6a1e6b
	-DLLVM_INSTALL_UTILS:BOOL=OFF \
6a1e6b
%else
6a1e6b
	-DLLVM_INSTALL_UTILS:BOOL=ON \
6a1e6b
	-DLLVM_UTILS_INSTALL_DIR:PATH=%{_bindir} \
6a1e6b
	-DLLVM_TOOLS_INSTALL_DIR:PATH=bin \
6a1e6b
%endif
6a1e6b
	\
6a1e6b
	-DLLVM_INCLUDE_DOCS:BOOL=ON \
6a1e6b
	-DLLVM_BUILD_DOCS:BOOL=ON \
6a1e6b
	-DLLVM_ENABLE_SPHINX:BOOL=ON \
6a1e6b
	-DLLVM_ENABLE_DOXYGEN:BOOL=OFF \
6a1e6b
	\
6a1e6b
%if %{without compat_build}
6a1e6b
	-DLLVM_VERSION_SUFFIX='' \
6a1e6b
%endif
6a1e6b
	-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
6a1e6b
	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
6a1e6b
	-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
6a1e6b
	-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \
6a1e6b
	\
6a1e6b
	-DSPHINX_WARNINGS_AS_ERRORS=OFF \
6a1e6b
	-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
6a1e6b
	-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
6a1e6b
	-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3
6a1e6b
6a1e6b
# Build libLLVM.so first.  This ensures that when libLLVM.so is linking, there
6a1e6b
# are no other compile jobs running.  This will help reduce OOM errors on the
6a1e6b
# builders without having to artificially limit the number of concurrent jobs.
6a1e6b
%cmake_build --target LLVM
6a1e6b
%cmake_build
6a1e6b
6a1e6b
%install
6a1e6b
%cmake_install
6a1e6b
6a1e6b
mkdir -p %{buildroot}/%{_bindir}
6a1e6b
mv %{buildroot}/%{pkg_bindir}/llvm-config %{buildroot}/%{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
6a1e6b
6a1e6b
# ghost presence
6a1e6b
touch %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
6a1e6b
6a1e6b
%if %{without compat_build}
6a1e6b
6a1e6b
# Fix some man pages
6a1e6b
ln -s llvm-config.1 %{buildroot}%{_mandir}/man1/llvm-config%{exec_suffix}-%{__isa_bits}.1
6a1e6b
mv %{buildroot}%{_mandir}/man1/*tblgen.1 %{buildroot}%{_mandir}/man1/llvm-tblgen.1
6a1e6b
6a1e6b
# Install binaries needed for lit tests
6a1e6b
%global test_binaries llvm-isel-fuzzer llvm-opt-fuzzer
6a1e6b
6a1e6b
for f in %{test_binaries}
6a1e6b
do
6a1e6b
    install -m 0755 %{_vpath_builddir}/bin/$f %{buildroot}%{_bindir}
6a1e6b
done
6a1e6b
6a1e6b
# Remove testing of update utility tools
6a1e6b
rm -rf test/tools/UpdateTestChecks
6a1e6b
6a1e6b
%multilib_fix_c_header --file %{_includedir}/llvm/Config/llvm-config.h
6a1e6b
6a1e6b
# Install libraries needed for unittests
6a1e6b
%if 0%{?__isa_bits} == 64
6a1e6b
%global build_libdir %{_vpath_builddir}/lib64
6a1e6b
%else
6a1e6b
%global build_libdir %{_vpath_builddir}/lib
6a1e6b
%endif
6a1e6b
6a1e6b
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{_libdir}
6a1e6b
6a1e6b
%global install_srcdir %{buildroot}%{_datadir}/llvm/src
6a1e6b
%global lit_cfg test/%{_arch}.site.cfg.py
6a1e6b
%global lit_unit_cfg test/Unit/%{_arch}.site.cfg.py
6a1e6b
%global lit_fedora_cfg %{_datadir}/llvm/lit.fedora.cfg.py
6a1e6b
6a1e6b
# Install gtest sources so clang can use them for gtest
6a1e6b
install -d %{install_srcdir}
6a1e6b
install -d %{install_srcdir}/utils/
6a1e6b
cp -R utils/unittest %{install_srcdir}/utils/
6a1e6b
6a1e6b
# Clang needs these for running lit tests.
6a1e6b
cp utils/update_cc_test_checks.py %{install_srcdir}/utils/
6a1e6b
cp -R utils/UpdateTestChecks %{install_srcdir}/utils/
6a1e6b
6a1e6b
# One of the lit tests references this file
6a1e6b
install -d %{install_srcdir}/docs/CommandGuide/
6a1e6b
install -m 0644 docs/CommandGuide/dsymutil.rst %{install_srcdir}/docs/CommandGuide/
6a1e6b
6a1e6b
# Generate lit config files.  Strip off the last lines that initiates the
6a1e6b
# test run, so we can customize the configuration.
6a1e6b
head -n -2 %{_vpath_builddir}/test/lit.site.cfg.py >> %{lit_cfg}
6a1e6b
head -n -2 %{_vpath_builddir}/test/Unit/lit.site.cfg.py >> %{lit_unit_cfg}
6a1e6b
6a1e6b
# Install custom fedora config file
6a1e6b
cp %{SOURCE4} %{buildroot}%{lit_fedora_cfg}
6a1e6b
6a1e6b
# Patch lit config files to load custom fedora config:
6a1e6b
for f in %{lit_cfg} %{lit_unit_cfg}; do
6a1e6b
  echo "lit_config.load_config(config, '%{lit_fedora_cfg}')" >> $f
6a1e6b
done
6a1e6b
6a1e6b
install -d %{buildroot}%{_libexecdir}/tests/llvm
6a1e6b
install -m 0755 %{SOURCE3} %{buildroot}%{_libexecdir}/tests/llvm
6a1e6b
6a1e6b
# Install lit tests.  We need to put these in a tarball otherwise rpm will complain
6a1e6b
# about some of the test inputs having the wrong object file format.
6a1e6b
install -d %{buildroot}%{_datadir}/llvm/
6a1e6b
6a1e6b
# The various tar options are there to make sur the archive is the same on 32 and 64 bit arch, i.e.
6a1e6b
# the archive creation is reproducible. Move arch-specific content out of the tarball
6a1e6b
mv %{lit_cfg} %{install_srcdir}/%{_arch}.site.cfg.py
6a1e6b
mv %{lit_unit_cfg} %{install_srcdir}/%{_arch}.Unit.site.cfg.py
6a1e6b
tar --sort=name --mtime='UTC 2020-01-01' -c test/ | gzip -n > %{install_srcdir}/test.tar.gz
6a1e6b
6a1e6b
# Install the unit test binaries
6a1e6b
mkdir -p %{build_llvm_libdir}
6a1e6b
cp -R %{_vpath_builddir}/unittests %{build_llvm_libdir}/
6a1e6b
rm -rf `find %{build_llvm_libdir} -iname 'cmake*'`
6a1e6b
6a1e6b
# Install libraries used for testing
6a1e6b
install -m 0755 %{build_libdir}/BugpointPasses.so %{buildroot}%{_libdir}
6a1e6b
install -m 0755 %{build_libdir}/LLVMHello.so %{buildroot}%{_libdir}
6a1e6b
6a1e6b
# Install test inputs for PDB tests
6a1e6b
echo "%{_datadir}/llvm/src/unittests/DebugInfo/PDB" > %{build_llvm_libdir}/unittests/DebugInfo/PDB/llvm.srcdir.txt
6a1e6b
mkdir -p %{buildroot}%{_datadir}/llvm/src/unittests/DebugInfo/PDB/
6a1e6b
cp -R unittests/DebugInfo/PDB/Inputs %{buildroot}%{_datadir}/llvm/src/unittests/DebugInfo/PDB/
6a1e6b
6a1e6b
%if %{with gold}
6a1e6b
# Add symlink to lto plugin in the binutils plugin directory.
6a1e6b
%{__mkdir_p} %{buildroot}%{_libdir}/bfd-plugins/
6a1e6b
ln -s %{_libdir}/LLVMgold.so %{buildroot}%{_libdir}/bfd-plugins/
6a1e6b
%endif
6a1e6b
6a1e6b
%else
6a1e6b
6a1e6b
# Add version suffix to binaries
6a1e6b
mkdir -p %{buildroot}/%{_bindir}
6a1e6b
for f in %{buildroot}/%{install_bindir}/*; do
6a1e6b
  filename=`basename $f`
6a1e6b
  ln -s ../../../%{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename%{exec_suffix}
6a1e6b
done
6a1e6b
6a1e6b
# Move header files
6a1e6b
mkdir -p %{buildroot}/%{pkg_includedir}
6a1e6b
ln -s ../../../%{install_includedir}/llvm %{buildroot}/%{pkg_includedir}/llvm
6a1e6b
ln -s ../../../%{install_includedir}/llvm-c %{buildroot}/%{pkg_includedir}/llvm-c
6a1e6b
6a1e6b
# Fix multi-lib
6a1e6b
%multilib_fix_c_header --file %{install_includedir}/llvm/Config/llvm-config.h
6a1e6b
6a1e6b
# Create ld.so.conf.d entry
6a1e6b
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
6a1e6b
cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf << EOF
6a1e6b
%{pkg_libdir}
6a1e6b
EOF
6a1e6b
6a1e6b
# Add version suffix to man pages and move them to mandir.
6a1e6b
mkdir -p %{buildroot}/%{_mandir}/man1
6a1e6b
for f in %{build_install_prefix}/share/man/man1/*; do
6a1e6b
  filename=`basename $f | cut -f 1 -d '.'`
6a1e6b
  mv $f %{buildroot}%{_mandir}/man1/$filename%{exec_suffix}.1
6a1e6b
done
6a1e6b
6a1e6b
# Remove opt-viewer, since this is just a compatibility package.
6a1e6b
rm -Rf %{build_install_prefix}/share/opt-viewer
6a1e6b
6a1e6b
%endif
6a1e6b
6a1e6b
6a1e6b
%check
6a1e6b
# TODO: Fix the failures below
6a1e6b
%ifarch %{arm}
6a1e6b
rm test/tools/llvm-readobj/ELF/dependent-libraries.test
6a1e6b
%endif
6a1e6b
6a1e6b
# non reproducible errors
6a1e6b
rm test/tools/dsymutil/X86/swift-interface.test
6a1e6b
6a1e6b
# FIXME: use %%cmake_build instead of %%__ninja
6a1e6b
LD_LIBRARY_PATH=%{buildroot}/%{pkg_libdir}  %{__ninja} check-all -C %{_vpath_builddir}
6a1e6b
6a1e6b
%ldconfig_scriptlets libs
6a1e6b
6a1e6b
%post devel
6a1e6b
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config%{exec_suffix} llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits}
6a1e6b
6a1e6b
%postun devel
6a1e6b
if [ $1 -eq 0 ]; then
6a1e6b
  %{_sbindir}/update-alternatives --remove llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
6a1e6b
fi
6a1e6b
6a1e6b
%files
6a1e6b
%license LICENSE.TXT
6a1e6b
%exclude %{_mandir}/man1/llvm-config*
6a1e6b
%{_mandir}/man1/*
6a1e6b
%{_bindir}/*
6a1e6b
6a1e6b
%exclude %{_bindir}/llvm-config%{exec_suffix}
6a1e6b
%exclude %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
6a1e6b
6a1e6b
%if %{without compat_build}
6a1e6b
%exclude %{_bindir}/not
6a1e6b
%exclude %{_bindir}/count
6a1e6b
%exclude %{_bindir}/yaml-bench
6a1e6b
%exclude %{_bindir}/lli-child-target
6a1e6b
%exclude %{_bindir}/llvm-isel-fuzzer
6a1e6b
%exclude %{_bindir}/llvm-opt-fuzzer
6a1e6b
%{_datadir}/opt-viewer
6a1e6b
%else
6a1e6b
%{pkg_bindir}
6a1e6b
%endif
6a1e6b
6a1e6b
%files libs
6a1e6b
%license LICENSE.TXT
6a1e6b
%{pkg_libdir}/libLLVM-%{maj_ver}.so
6a1e6b
%if %{without compat_build}
6a1e6b
%if %{with gold}
6a1e6b
%{_libdir}/LLVMgold.so
6a1e6b
%{_libdir}/bfd-plugins/LLVMgold.so
6a1e6b
%endif
6a1e6b
%{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
6a1e6b
%{_libdir}/libLTO.so*
6a1e6b
%else
6a1e6b
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
6a1e6b
%if %{with gold}
6a1e6b
%{_libdir}/%{name}/lib/LLVMgold.so
6a1e6b
%endif
6a1e6b
%{pkg_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
6a1e6b
%{pkg_libdir}/libLTO.so*
6a1e6b
%exclude %{pkg_libdir}/libLTO.so
6a1e6b
%endif
6a1e6b
%{pkg_libdir}/libRemarks.so*
6a1e6b
6a1e6b
%files devel
6a1e6b
%license LICENSE.TXT
6a1e6b
6a1e6b
%ghost %{_bindir}/llvm-config%{exec_suffix}
6a1e6b
%{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
6a1e6b
%{_mandir}/man1/llvm-config*
6a1e6b
6a1e6b
%if %{without compat_build}
6a1e6b
%{_includedir}/llvm
6a1e6b
%{_includedir}/llvm-c
6a1e6b
%{_libdir}/libLLVM.so
6a1e6b
%{_libdir}/cmake/llvm
6a1e6b
%else
6a1e6b
%{install_includedir}/llvm
6a1e6b
%{install_includedir}/llvm-c
6a1e6b
%{pkg_includedir}/llvm
6a1e6b
%{pkg_includedir}/llvm-c
6a1e6b
%{pkg_libdir}/libLTO.so
6a1e6b
%{pkg_libdir}/libLLVM.so
6a1e6b
%{pkg_libdir}/cmake/llvm
6a1e6b
%endif
6a1e6b
6a1e6b
%files doc
6a1e6b
%license LICENSE.TXT
6a1e6b
%doc %{_pkgdocdir}/html
6a1e6b
6a1e6b
%files static
6a1e6b
%license LICENSE.TXT
6a1e6b
%if %{without compat_build}
6a1e6b
%{_libdir}/*.a
6a1e6b
%exclude %{_libdir}/libLLVMTestingSupport.a
6a1e6b
%else
6a1e6b
%{_libdir}/%{name}/lib/*.a
6a1e6b
%endif
6a1e6b
6a1e6b
%if %{without compat_build}
6a1e6b
6a1e6b
%files test
6a1e6b
%license LICENSE.TXT
6a1e6b
%{_libexecdir}/tests/llvm/
6a1e6b
%{llvm_libdir}/unittests/
6a1e6b
%{_datadir}/llvm/src/unittests
6a1e6b
%{_datadir}/llvm/src/test.tar.gz
6a1e6b
%{_datadir}/llvm/src/%{_arch}.site.cfg.py
6a1e6b
%{_datadir}/llvm/src/%{_arch}.Unit.site.cfg.py
6a1e6b
%{_datadir}/llvm/lit.fedora.cfg.py
6a1e6b
%{_datadir}/llvm/src/docs/CommandGuide/dsymutil.rst
6a1e6b
%{_bindir}/not
6a1e6b
%{_bindir}/count
6a1e6b
%{_bindir}/yaml-bench
6a1e6b
%{_bindir}/lli-child-target
6a1e6b
%{_bindir}/llvm-isel-fuzzer
6a1e6b
%{_bindir}/llvm-opt-fuzzer
6a1e6b
%{_libdir}/BugpointPasses.so
6a1e6b
%{_libdir}/LLVMHello.so
6a1e6b
6a1e6b
%files googletest
6a1e6b
%license LICENSE.TXT
6a1e6b
%{_datadir}/llvm/src/utils
6a1e6b
%{_libdir}/libLLVMTestingSupport.a
6a1e6b
6a1e6b
%endif
6a1e6b
6a1e6b
%changelog
6a1e6b
* Mon May 03 2021 kkleine@redhat.com - 12.0.0-6
6a1e6b
- More verbose builds thanks to python3-psutil
6a1e6b
6a1e6b
* Sat May 01 2021 sguelton@redhat.com - 12.0.0-5
6a1e6b
- Fix llvm-config install
6a1e6b
6a1e6b
* Tue Apr 27 2021 sguelton@redhat.com - 12.0.0-4
6a1e6b
- Provide default empty value for exec_suffix when not in compat mode
6a1e6b
6a1e6b
* Tue Apr 27 2021 sguelton@redhat.com - 12.0.0-3
6a1e6b
- Fix llvm-config install
6a1e6b
6a1e6b
* Tue Apr 20 2021 sguelton@redhat.com - 12.0.0-2
6a1e6b
- Backport compat package fix
6a1e6b
6a1e6b
* Thu Apr 15 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-1
6a1e6b
- 12.0.0 Release
6a1e6b
6a1e6b
* Thu Apr 08 2021 sguelton@redhat.com - 12.0.0-0.11.rc5
6a1e6b
- New upstream release candidate
6a1e6b
6a1e6b
* Tue Apr 06 2021 sguelton@redhat.com - 12.0.0-0.10.rc4
6a1e6b
- Patch test case for compatibility with llvm-test latout
6a1e6b
6a1e6b
* Fri Apr 02 2021 sguelton@redhat.com - 12.0.0-0.9.rc4
6a1e6b
- New upstream release candidate
6a1e6b
6a1e6b
* Wed Mar 31 2021 Jonathan Wakely <jwakely@redhat.com> - 12.0.0-0.8.rc3
6a1e6b
- Rebuilt for removed libstdc++ symbols (#1937698)
6a1e6b
6a1e6b
* Thu Mar 11 2021 sguelton@redhat.com - 12.0.0-0.7.rc3
6a1e6b
- LLVM 12.0.0 rc3
6a1e6b
6a1e6b
* Wed Mar 10 2021 Kalev Lember <klember@redhat.com> - 12.0.0-0.6.rc2
6a1e6b
- Add llvm-static(major) provides to the -static subpackage
6a1e6b
6a1e6b
* Tue Mar 09 2021 sguelton@redhat.com - 12.0.0-0.5.rc2
6a1e6b
- rebuilt
6a1e6b
6a1e6b
* Tue Mar 02 2021 sguelton@redhat.com - 12.0.0-0.4.rc2
6a1e6b
- Change CI working dir
6a1e6b
6a1e6b
* Wed Feb 24 2021 sguelton@redhat.com - 12.0.0-0.3.rc2
6a1e6b
- 12.0.0-rc2 release
6a1e6b
6a1e6b
* Tue Feb 16 2021 Dave Airlie <airlied@redhat.com> - 12.0.0-0.2.rc1
6a1e6b
- Enable LLVM_USE_PERF to allow perf integration
6a1e6b
6a1e6b
* Tue Feb 2 2021 Serge Guelton - 12.0.0-0.1.rc1
6a1e6b
- 12.0.0-rc1 release
6a1e6b
6a1e6b
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.1.0-0.3.rc2
6a1e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6a1e6b
6a1e6b
* Fri Jan 22 2021 Serge Guelton - 11.1.0-0.2.rc2
6a1e6b
- 11.1.0-rc2 release
6a1e6b
6a1e6b
* Thu Jan 14 2021 Serge Guelton - 11.1.0-0.1.rc1
6a1e6b
- 11.1.0-rc1 release
6a1e6b
6a1e6b
* Tue Jan 05 2021 Serge Guelton - 11.0.1-3.rc2
6a1e6b
- Waive extra test case
6a1e6b
6a1e6b
* Sun Dec 20 2020 sguelton@redhat.com - 11.0.1-2.rc2
6a1e6b
- 11.0.1-rc2 release
6a1e6b
6a1e6b
* Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1
6a1e6b
- 11.0.1-rc1 release
6a1e6b
6a1e6b
* Sat Oct 31 2020 Jeff Law <law@redhat.com> - 11.0.0-2
6a1e6b
- Fix missing #include for gcc-11
6a1e6b
6a1e6b
* Wed Oct 14 2020 Josh Stone <jistone@redhat.com> - 11.0.0-1
6a1e6b
- Fix coreos-installer test crash on s390x (rhbz#1883457)
6a1e6b
6a1e6b
* Mon Oct 12 2020 sguelton@redhat.com - 11.0.0-0.11
6a1e6b
- llvm 11.0.0 - final release
6a1e6b
6a1e6b
* Thu Oct 08 2020 sguelton@redhat.com - 11.0.0-0.10.rc6
6a1e6b
- 11.0.0-rc6
6a1e6b
6a1e6b
* Fri Oct 02 2020 sguelton@redhat.com - 11.0.0-0.9.rc5
6a1e6b
- 11.0.0-rc5 Release
6a1e6b
6a1e6b
* Sun Sep 27 2020 sguelton@redhat.com - 11.0.0-0.8.rc3
6a1e6b
- Fix NVR
6a1e6b
6a1e6b
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.2.rc3
6a1e6b
- Obsolete patch for rhbz#1862012
6a1e6b
6a1e6b
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.1.rc3
6a1e6b
- 11.0.0-rc3 Release
6a1e6b
6a1e6b
* Wed Sep 02 2020 sguelton@redhat.com - 11.0.0-0.7.rc2
6a1e6b
- Apply upstream patch for rhbz#1862012
6a1e6b
6a1e6b
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.6.rc2
6a1e6b
- Fix source location
6a1e6b
6a1e6b
* Fri Aug 21 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.5.rc2
6a1e6b
- 11.0.0-rc2 Release
6a1e6b
6a1e6b
* Wed Aug 19 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.4.rc1
6a1e6b
- Fix regression-tests CI tests
6a1e6b
6a1e6b
* Tue Aug 18 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.3.rc1
6a1e6b
- Fix rust crash on ppc64le compiling firefox
6a1e6b
- rhbz#1862012
6a1e6b
6a1e6b
* Tue Aug 11 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.2.rc1
6a1e6b
- Install update_cc_test_checks.py script
6a1e6b
6a1e6b
* Thu Aug 06 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1-rc1
6a1e6b
- LLVM 11.0.0-rc1 Release
6a1e6b
- Make llvm-devel require llvm-static and llvm-test
6a1e6b
6a1e6b
* Tue Aug 04 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-10
6a1e6b
- Backport upstream patch to fix build with -flto.
6a1e6b
- Disable LTO on s390x to work-around unit test failures.
6a1e6b
6a1e6b
* Sat Aug 01 2020 sguelton@redhat.com - 10.0.0-9
6a1e6b
- Fix update-alternative uninstall script
6a1e6b
6a1e6b
* Sat Aug 01 2020 sguelton@redhat.com - 10.0.0-8
6a1e6b
- Fix gpg verification and update macro usage.
6a1e6b
6a1e6b
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-7
6a1e6b
- Second attempt - Rebuilt for
6a1e6b
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6a1e6b
6a1e6b
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-6
6a1e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6a1e6b
* Thu Jun 11 2020 sguelton@redhat.com - 10.0.0-5
6a1e6b
- Make llvm-test.tar.gz creation reproducible.
6a1e6b
6a1e6b
* Tue Jun 02 2020 sguelton@redhat.com - 10.0.0-4
6a1e6b
- Instruct cmake not to generate RPATH
6a1e6b
6a1e6b
* Thu Apr 30 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-3
6a1e6b
- Install LLVMgold.so symlink in bfd-plugins directory
6a1e6b
6a1e6b
* Tue Apr 07 2020 sguelton@redhat.com - 10.0.0-2
6a1e6b
- Do not package UpdateTestChecks tests in llvm-tests
6a1e6b
- Apply upstream patch bab5908df to pass gating tests
6a1e6b
6a1e6b
* Wed Mar 25 2020 sguelton@redhat.com - 10.0.0-1
6a1e6b
- 10.0.0 final
6a1e6b
6a1e6b
* Mon Mar 23 2020 sguelton@redhat.com - 10.0.0-0.6.rc6
6a1e6b
- 10.0.0 rc6
6a1e6b
6a1e6b
* Thu Mar 19 2020 sguelton@redhat.com - 10.0.0-0.5.rc5
6a1e6b
- 10.0.0 rc5
6a1e6b
6a1e6b
* Sat Mar 14 2020 sguelton@redhat.com - 10.0.0-0.4.rc4
6a1e6b
- 10.0.0 rc4
6a1e6b
6a1e6b
* Thu Mar 05 2020 sguelton@redhat.com - 10.0.0-0.3.rc3
6a1e6b
- 10.0.0 rc3
6a1e6b
6a1e6b
* Fri Feb 28 2020 sguelton@redhat.com - 10.0.0-0.2.rc2
6a1e6b
- Remove *_finite support, see rhbz#1803203
6a1e6b
6a1e6b
* Fri Feb 14 2020 sguelton@redhat.com - 10.0.0-0.1.rc2
6a1e6b
- 10.0.0 rc2
6a1e6b
6a1e6b
* Fri Jan 31 2020 sguelton@redhat.com - 10.0.0-0.1.rc1
6a1e6b
- 10.0.0 rc1
6a1e6b
6a1e6b
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-5
6a1e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6a1e6b
6a1e6b
* Tue Jan 21 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-4
6a1e6b
- Rebuild after previous build failed to strip binaries
6a1e6b
6a1e6b
* Fri Jan 17 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-3
6a1e6b
- Add explicit Requires from sub-packages to llvm-libs
6a1e6b
6a1e6b
* Fri Jan 10 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-2
6a1e6b
- Fix crash with kernel bpf self-tests
6a1e6b
6a1e6b
* Thu Dec 19 2019 tstellar@redhat.com - 9.0.1-1
6a1e6b
- 9.0.1 Release
6a1e6b
6a1e6b
* Mon Nov 25 2019 sguelton@redhat.com - 9.0.0-4
6a1e6b
- Activate AVR on all architectures
6a1e6b
6a1e6b
* Mon Sep 30 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-3
6a1e6b
- Build libLLVM.so first to avoid OOM errors
6a1e6b
6a1e6b
* Fri Sep 27 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-2
6a1e6b
- Remove unneeded BuildRequires: libstdc++-static
6a1e6b
6a1e6b
* Thu Sep 19 2019 sguelton@redhat.com - 9.0.0-1
6a1e6b
- 9.0.0 Release
6a1e6b
6a1e6b
* Wed Sep 18 2019 sguelton@redhat.com - 9.0.0-0.5.rc3
6a1e6b
- Support avr target, see rhbz#1718492
6a1e6b
6a1e6b
* Tue Sep 10 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.4.rc3
6a1e6b
- Split out test executables into their own export file
6a1e6b
6a1e6b
* Fri Sep 06 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.3.rc3
6a1e6b
- Fix patch for splitting out static library exports
6a1e6b
6a1e6b
* Fri Aug 30 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.2.rc3
6a1e6b
- 9.0.0-rc3 Release
6a1e6b
6a1e6b
* Thu Aug 01 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.1.rc2
6a1e6b
- 9.0.0-rc2 Release
6a1e6b
6a1e6b
* Tue Jul 30 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-9
6a1e6b
- Sync with llvm8.0 spec file
6a1e6b
6a1e6b
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-8.1
6a1e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6a1e6b
6a1e6b
* Wed Jul 17 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-8
6a1e6b
- Add provides for the major version of sub-packages
6a1e6b
6a1e6b
* Fri May 17 2019 sguelton@redhat.com - 8.0.0-7
6a1e6b
- Fix conflicts between llvm-static = 8 and llvm-dev < 8 around LLVMStaticExports.cmake
6a1e6b
6a1e6b
* Wed Apr 24 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-6
6a1e6b
- Make sure we aren't passing -g on s390x
6a1e6b
6a1e6b
* Sat Mar 30 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-5
6a1e6b
- Enable build rpath while keeping install rpath disabled
6a1e6b
6a1e6b
* Wed Mar 27 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-4
6a1e6b
- Backport r351577 from trunk to fix ninja check failures
6a1e6b
6a1e6b
* Tue Mar 26 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-3
6a1e6b
- Fix ninja check
6a1e6b
6a1e6b
* Fri Mar 22 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-2
6a1e6b
- llvm-test fixes
6a1e6b
6a1e6b
* Wed Mar 20 2019 sguelton@redhat.com - 8.0.0-1
6a1e6b
- 8.0.0 final
6a1e6b
6a1e6b
* Fri Mar 15 2019 sguelton@redhat.com - 8.0.0-0.6.rc4
6a1e6b
- Activate all backends (rhbz#1689031)
6a1e6b
6a1e6b
* Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.5.rc4
6a1e6b
- 8.0.0 Release candidate 4
6a1e6b
6a1e6b
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.4.rc3
6a1e6b
- Move some binaries to -test package, cleanup specfile
6a1e6b
6a1e6b
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.3.rc3
6a1e6b
- 8.0.0 Release candidate 3
6a1e6b
6a1e6b
* Fri Feb 22 2019 sguelton@redhat.com - 8.0.0-0.2.rc2
6a1e6b
- 8.0.0 Release candidate 2
6a1e6b
6a1e6b
* Sat Feb 9 2019 sguelton@redhat.com - 8.0.0-0.1.rc1
6a1e6b
- 8.0.0 Release candidate 1
6a1e6b
6a1e6b
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2.1
6a1e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6a1e6b
6a1e6b
* Mon Jan 21 2019 Josh Stone <jistone@redhat.com> - 7.0.1-2
6a1e6b
- Fix discriminators in metadata, rhbz#1668033
6a1e6b
6a1e6b
* Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1
6a1e6b
- 7.0.1 release
6a1e6b
6a1e6b
* Tue Dec 04 2018 sguelton@redhat.com - 7.0.0-5
6a1e6b
- Ensure rpmlint passes on specfile
6a1e6b
6a1e6b
* Sat Nov 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-4
6a1e6b
- Install testing libraries for unittests
6a1e6b
6a1e6b
* Sat Oct 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-3
6a1e6b
- Fix running unittests as not-root user
6a1e6b
6a1e6b
* Thu Sep 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-2
6a1e6b
- Fixes for llvm-test package:
6a1e6b
- Add some missing Requires
6a1e6b
- Add --threads option to run-lit-tests script
6a1e6b
- Set PATH so lit can find tools like count, not, etc.
6a1e6b
- Don't hardcode tools directory to /usr/lib64/llvm
6a1e6b
- Fix typo in yaml-bench define
6a1e6b
- Only print information about failing tests
6a1e6b
6a1e6b
* Fri Sep 21 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-1
6a1e6b
- 7.0.0 Release
6a1e6b
6a1e6b
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.15.rc3
6a1e6b
- Disable rpath on install LLVM and related sub-projects
6a1e6b
6a1e6b
* Wed Sep 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.14.rc3
6a1e6b
- Remove rpath from executables and libraries
6a1e6b
6a1e6b
* Tue Sep 11 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.13.rc3
6a1e6b
- Re-enable arm and aarch64 targets on x86_64
6a1e6b
6a1e6b
* Mon Sep 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.12.rc3
6a1e6b
- 7.0.0-rc3 Release
6a1e6b
6a1e6b
* Fri Sep 07 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.11.rc2
6a1e6b
- Use python3 shebang for opt-viewewr scripts
6a1e6b
6a1e6b
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.10.rc2
6a1e6b
- Drop all uses of python2 from lit tests
6a1e6b
6a1e6b
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.9.rc2
6a1e6b
- Build the gold plugin on all supported architectures
6a1e6b
6a1e6b
* Wed Aug 29 2018 Kevin Fenzi <kevin@scrye.com> - 7.0.0-0.8.rc2
6a1e6b
- Re-enable debuginfo to avoid 25x size increase.
6a1e6b
6a1e6b
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.7.rc2
6a1e6b
- 7.0.0-rc2 Release
6a1e6b
6a1e6b
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.6.rc1
6a1e6b
- Guard valgrind usage with valgrind_arches macro
6a1e6b
6a1e6b
* Thu Aug 23 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.5.rc1
6a1e6b
- Package lit tests and googletest sources.
6a1e6b
6a1e6b
* Mon Aug 20 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.4.rc1
6a1e6b
- Re-enable AMDGPU target on ARM rhbz#1618922
6a1e6b
6a1e6b
* Mon Aug 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.3.rc1
6a1e6b
- Drop references to TestPlugin.so from cmake files
6a1e6b
6a1e6b
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.2.rc1
6a1e6b
- Fixes for lit tests
6a1e6b
6a1e6b
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.1.rc1
6a1e6b
- 7.0.0-rc1 Release
6a1e6b
- Reduce number of enabled targets on all arches.
6a1e6b
- Drop s390 detection patch, LLVM does not support s390 codegen.
6a1e6b
6a1e6b
* Mon Aug 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-6
6a1e6b
- Backport some fixes needed by mesa and rust
6a1e6b
6a1e6b
* Thu Jul 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-5
6a1e6b
- Move libLLVM-6.0.so to llvm6.0-libs.
6a1e6b
6a1e6b
* Mon Jul 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-4
6a1e6b
- Rebuild because debuginfo stripping failed with the previous build
6a1e6b
6a1e6b
* Fri Jul 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
6a1e6b
- Sync specfile with llvm6.0 package
6a1e6b
6a1e6b
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
6a1e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6a1e6b
6a1e6b
* Mon Jun 25 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
6a1e6b
- 6.0.1 Release
6a1e6b
6a1e6b
* Thu Jun 07 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.4.rc2
6a1e6b
- 6.0.1-rc2
6a1e6b
6a1e6b
* Wed Jun 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.3.rc1
6a1e6b
- Re-enable all targets to avoid breaking the ABI.
6a1e6b
6a1e6b
* Mon Jun 04 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.2.rc1
6a1e6b
- Reduce the number of enabled targets based on the architecture
6a1e6b
6a1e6b
* Thu May 10 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.1.rc1
6a1e6b
- 6.0.1 rc1
6a1e6b
6a1e6b
* Tue Mar 27 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-11
6a1e6b
- Re-enable arm tests that used to hang
6a1e6b
6a1e6b
* Thu Mar 22 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-10
6a1e6b
- Fix testcase in backported patch
6a1e6b
6a1e6b
* Tue Mar 20 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-9
6a1e6b
- Prevent external projects from linking against both static and shared
6a1e6b
  libraries.  rhbz#1558657
6a1e6b
6a1e6b
* Mon Mar 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-8
6a1e6b
- Backport r327651 from trunk rhbz#1554349
6a1e6b
6a1e6b
* Fri Mar 16 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-7
6a1e6b
- Filter out cxxflags and cflags from llvm-config that aren't supported by clang
6a1e6b
- rhbz#1556980
6a1e6b
6a1e6b
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-6
6a1e6b
- Enable symbol versioning in libLLVM.so
6a1e6b
6a1e6b
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-5
6a1e6b
- Stop statically linking libstdc++.  This is no longer required by Steam
6a1e6b
  client, but the steam installer still needs a work-around which should
6a1e6b
  be handled in the steam package.
6a1e6b
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-4
6a1e6b
- s/make check/ninja check/
6a1e6b
6a1e6b
* Fri Mar 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-3
6a1e6b
- Backport fix for compile time regression on rust rhbz#1552915
6a1e6b
6a1e6b
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-2
6a1e6b
- Build with Ninja: This reduces RPM build time on a 6-core x86_64 builder
6a1e6b
  from 82 min to 52 min.
6a1e6b
6a1e6b
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-1
6a1e6b
- 6.0.0 Release
6a1e6b
6a1e6b
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.5.rc2
6a1e6b
- Reduce debuginfo size on i686 to avoid OOM errors during linking
6a1e6b
6a1e6b
* Fri Feb 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.4.rc2
6a1e6b
- 6.0.1 rc2
6a1e6b
6a1e6b
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-0.3.rc1
6a1e6b
- Escape macros in %%changelog
6a1e6b
6a1e6b
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-0.2.rc1
6a1e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6a1e6b
6a1e6b
* Fri Jan 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
6a1e6b
- 6.0.1 rc1
6a1e6b
6a1e6b
* Tue Dec 19 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
6a1e6b
- 5.0.1 Release
6a1e6b
6a1e6b
* Mon Nov 20 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-5
6a1e6b
- Backport debuginfo fix for rust
6a1e6b
6a1e6b
* Fri Nov 03 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-4
6a1e6b
- Reduce debuginfo size for ARM
6a1e6b
6a1e6b
* Tue Oct 10 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-2
6a1e6b
- Reduce memory usage on ARM by disabling debuginfo and some non-ARM targets.
6a1e6b
6a1e6b
* Mon Sep 25 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-1
6a1e6b
- 5.0.0 Release
6a1e6b
6a1e6b
* Mon Sep 18 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-6
6a1e6b
- Add Requires: libedit-devel for llvm-devel
6a1e6b
6a1e6b
* Fri Sep 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-5
6a1e6b
- Enable libedit backend for LineEditor API
6a1e6b
6a1e6b
* Fri Aug 25 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-4
6a1e6b
- Enable extra functionality when run the LLVM JIT under valgrind.
6a1e6b
6a1e6b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
6a1e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6a1e6b
6a1e6b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
6a1e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6a1e6b
6a1e6b
* Wed Jun 21 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
6a1e6b
- 4.0.1 Release
6a1e6b
6a1e6b
* Thu Jun 15 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-6
6a1e6b
- Install llvm utils
6a1e6b
6a1e6b
* Thu Jun 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-5
6a1e6b
- Fix docs-llvm-man target
6a1e6b
6a1e6b
* Mon May 01 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
6a1e6b
- Make cmake files no longer depend on static libs (rhbz 1388200)
6a1e6b
6a1e6b
* Tue Apr 18 2017 Josh Stone <jistone@redhat.com> - 4.0.0-3
6a1e6b
- Fix computeKnownBits for ARMISD::CMOV (rust-lang/llvm#67)
6a1e6b
6a1e6b
* Mon Apr 03 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
6a1e6b
- Simplify spec with rpm macros.
6a1e6b
6a1e6b
* Thu Mar 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
6a1e6b
- LLVM 4.0.0 Final Release
6a1e6b
6a1e6b
* Wed Mar 22 2017 tstellar@redhat.com - 3.9.1-6
6a1e6b
- Fix %%postun sep for -devel package.
6a1e6b
6a1e6b
* Mon Mar 13 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-5
6a1e6b
- Disable failing tests on ARM.
6a1e6b
6a1e6b
* Sun Mar 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 3.9.1-4
6a1e6b
- Fix missing mask on relocation for aarch64 (rhbz 1429050)
6a1e6b
6a1e6b
* Wed Mar 01 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-3
6a1e6b
- revert upstream radeonsi breaking change.
6a1e6b
6a1e6b
* Thu Feb 23 2017 Josh Stone <jistone@redhat.com> - 3.9.1-2
6a1e6b
- disable sphinx warnings-as-errors
6a1e6b
6a1e6b
* Fri Feb 10 2017 Orion Poplawski <orion@cora.nwra.com> - 3.9.1-1
6a1e6b
- llvm 3.9.1
6a1e6b
6a1e6b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-8
6a1e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6a1e6b
6a1e6b
* Tue Nov 29 2016 Josh Stone <jistone@redhat.com> - 3.9.0-7
6a1e6b
- Apply backports from rust-lang/llvm#55, #57
6a1e6b
6a1e6b
* Tue Nov 01 2016 Dave Airlie 
6a1e6b
- rebuild for new arches
6a1e6b
6a1e6b
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-5
6a1e6b
- apply the patch from -4
6a1e6b
6a1e6b
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-4
6a1e6b
- add fix for lldb out-of-tree build
6a1e6b
6a1e6b
* Mon Oct 17 2016 Josh Stone <jistone@redhat.com> - 3.9.0-3
6a1e6b
- Apply backports from rust-lang/llvm#47, #48, #53, #54
6a1e6b
6a1e6b
* Sat Oct 15 2016 Josh Stone <jistone@redhat.com> - 3.9.0-2
6a1e6b
- Apply an InstCombine backport via rust-lang/llvm#51
6a1e6b
6a1e6b
* Wed Sep 07 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-1
6a1e6b
- llvm 3.9.0
6a1e6b
- upstream moved where cmake files are packaged.
6a1e6b
- upstream dropped CppBackend
6a1e6b
6a1e6b
* Wed Jul 13 2016 Adam Jackson <ajax@redhat.com> - 3.8.1-1
6a1e6b
- llvm 3.8.1
6a1e6b
- Add mips target
6a1e6b
- Fix some shared library mispackaging
6a1e6b
6a1e6b
* Tue Jun 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> - 3.8.0-2
6a1e6b
- fix color support detection on terminal
6a1e6b
6a1e6b
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 3.8.0-1
6a1e6b
- llvm 3.8.0 release
6a1e6b
6a1e6b
* Wed Mar 09 2016 Dan Horák <dan[at][danny.cz> 3.8.0-0.3
6a1e6b
- install back memory consumption workaround for s390
6a1e6b
6a1e6b
* Thu Mar 03 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.2
6a1e6b
- llvm 3.8.0 rc3 release
6a1e6b
6a1e6b
* Fri Feb 19 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.1
6a1e6b
- llvm 3.8.0 rc2 release
6a1e6b
6a1e6b
* Tue Feb 16 2016 Dan Horák <dan[at][danny.cz> 3.7.1-7
6a1e6b
- recognize s390 as SystemZ when configuring build
6a1e6b
6a1e6b
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-6
6a1e6b
- export C++ API for mesa.
6a1e6b
6a1e6b
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-5
6a1e6b
- reintroduce llvm-static, clang needs it currently.
6a1e6b
6a1e6b
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
6a1e6b
- jump back to single llvm library, the split libs aren't working very well.
6a1e6b
6a1e6b
* Fri Feb 05 2016 Dave Airlie <airlied@redhat.com> 3.7.1-3
6a1e6b
- add missing obsoletes (#1303497)
6a1e6b
6a1e6b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
6a1e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6a1e6b
6a1e6b
* Thu Jan 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.1-1
6a1e6b
- new upstream release
6a1e6b
- enable gold linker
6a1e6b
6a1e6b
* Wed Nov 04 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
6a1e6b
- fix Requires for subpackages on the main package
6a1e6b
6a1e6b
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
6a1e6b
- initial version using cmake build system