ca904f1
# Components enabled if supported by target architecture:
165caa6
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x
165caa6
%ifarch %{gold_arches}
be655c4
  %bcond_without gold
434321d
%else
be655c4
  %bcond_with gold
434321d
%endif
23fedaf
77699b4
%bcond_with compat_build
da8f508
0958983
%global llvm_libdir %{_libdir}/%{name}
0958983
%global build_llvm_libdir %{buildroot}%{llvm_libdir}
edd830c
#%%global rc_ver 5
7790ff0
%global llvm_srcdir llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src
d31813f
%global maj_ver 12
d31813f
%global min_ver 0
4799046
%global patch_ver 0
7a93d34
77699b4
%if %{with compat_build}
edd830c
%global pkg_name llvm%{maj_ver}
edd830c
%global exec_suffix -%{maj_ver}
da8f508
%global install_prefix %{_libdir}/%{name}
da8f508
%global install_bindir %{install_prefix}/bin
da8f508
%global install_includedir %{install_prefix}/include
da8f508
%global install_libdir %{install_prefix}/lib
da8f508
da8f508
%global pkg_bindir %{install_bindir}
da8f508
%global pkg_includedir %{_includedir}/%{name}
da8f508
%global pkg_libdir %{install_libdir}
da8f508
%else
da8f508
%global pkg_name llvm
da8f508
%global install_prefix /usr
7a93d34
%global install_libdir %{_libdir}
edd830c
%global pkg_bindir %{_bindir}
7a93d34
%global pkg_libdir %{install_libdir}
edd830c
%global exec_suffix %{nil}
da8f508
%endif
da8f508
21e2a92
%if 0%{?rhel}
b599ebf
%global targets_to_build "X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;ARM;Mips;BPF;WebAssembly"
21e2a92
%global experimental_targets_to_build ""
21e2a92
%else
21e2a92
%global targets_to_build "all"
21e2a92
%global experimental_targets_to_build "AVR"
21e2a92
%endif
21e2a92
8fc4f00
%global build_install_prefix %{buildroot}%{install_prefix}
8fc4f00
da8f508
Name:		%{pkg_name}
edd830c
Version:	%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
c28ca03
Release:	2%{?dist}
ca904f1
Summary:	The Low Level Virtual Machine
97e156a
ca904f1
License:	NCSA
ca904f1
URL:		http://llvm.org
1306859
Source0:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz
1306859
Source1:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz.sig
2698f34
Source2:	tstellar-gpg-key.asc
2698f34
77699b4
%if %{without compat_build}
1306859
Source3:	run-lit-tests
1306859
Source4:	lit.fedora.cfg.py
77699b4
%endif
cb91f5f
edd830c
Patch0:     0001-PATCH-llvm-Make-source-interleave-prefix-test-case-c.patch
edd830c
8fc4f00
BuildRequires:	gcc
8fc4f00
BuildRequires:	gcc-c++
ca904f1
BuildRequires:	cmake
acd922f
BuildRequires:	ninja-build
ca904f1
BuildRequires:	zlib-devel
8fc4f00
BuildRequires:	libffi-devel
3019f5f
BuildRequires:	ncurses-devel
edd830c
BuildRequires:	python3-psutil
ca904f1
BuildRequires:	python3-sphinx
4ca785f
BuildRequires:	python3-recommonmark
e6b944d
BuildRequires:	multilib-rpm-config
0b697ba
%if %{with gold}
8fc4f00
BuildRequires:	binutils-devel
0b697ba
%endif
c96d679
%ifarch %{valgrind_arches}
cca2af2
# Enable extra functionality when run the LLVM JIT under valgrind.
8fc4f00
BuildRequires:	valgrind-devel
c96d679
%endif
dd25586
# LLVM's LineEditor library will use libedit if it is available.
8fc4f00
BuildRequires:	libedit-devel
faa3d2d
# We need python3-devel for pathfix.py.
faa3d2d
BuildRequires:	python3-devel
edd830c
BuildRequires:	python3-setuptools
Bryan O'Sullivan d291b49
146561a
# For origin certification
146561a
BuildRequires:	gnupg2
146561a
146561a
ca904f1
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
Bryan O'Sullivan d291b49
15784b2
Provides:	llvm(major) = %{maj_ver}
15784b2
ca904f1
%description
ca904f1
LLVM is a compiler infrastructure designed for compile-time, link-time,
ca904f1
runtime, and idle-time optimization of programs from arbitrary programming
ca904f1
languages. The compiler infrastructure includes mirror sets of programming
ca904f1
tools as well as libraries with equivalent functionality.
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%package devel
ca904f1
Summary:	Libraries and header files for LLVM
ca904f1
Requires:	%{name}%{?_isa} = %{version}-%{release}
96d4e51
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
c5c125e
# The installed LLVM cmake files will add -ledit to the linker flags for any
c5c125e
# app that requires the libLLVMLineEditor, so we need to make sure
c5c125e
# libedit-devel is available.
c5c125e
Requires:	libedit-devel
992907b
# The installed cmake files reference binaries from llvm-test and llvm-static.
992907b
# We tried in the past to split the cmake exports for these binaries out into
992907b
# separate files, so that llvm-devel would not need to Require these packages,
992907b
# but this caused bugs (rhbz#1773678) and forced us to carry two non-upstream
992907b
# patches.
edd830c
Requires:	%{name}-static%{?_isa} = %{version}-%{release}
edd830c
%if %{without compat_build}
edd830c
Requires:	%{name}-test%{?_isa} = %{version}-%{release}
edd830c
%endif
992907b
992907b
8fc4f00
Requires(post):	%{_sbindir}/alternatives
8eccc65
Requires(postun):	%{_sbindir}/alternatives
Bryan O'Sullivan d291b49
15784b2
Provides:	llvm-devel(major) = %{maj_ver}
15784b2
Bryan O'Sullivan d291b49
%description devel
ca904f1
This package contains library and header files needed to develop new native
ca904f1
programs that use the LLVM infrastructure.
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%package doc
ca904f1
Summary:	Documentation for LLVM
ca904f1
BuildArch:	noarch
ca904f1
Requires:	%{name} = %{version}-%{release}
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%description doc
Bryan O'Sullivan d291b49
Documentation for the LLVM compiler infrastructure.
Bryan O'Sullivan d291b49
a8c599f
%package libs
ca904f1
Summary:	LLVM shared libraries
a8c599f
a8c599f
%description libs
a8c599f
Shared libraries for the LLVM compiler infrastructure.
a8c599f
7a85177
%package static
7a85177
Summary:	LLVM static libraries
ab84dbf
Conflicts:	%{name}-devel < 8
7a85177
edd830c
Provides:	llvm-static(major) = %{maj_ver}
edd830c
7a85177
%description static
7a85177
Static libraries for the LLVM compiler infrastructure.
7a85177
77699b4
%if %{without compat_build}
a47388f
a47388f
%package test
8eccc65
Summary:	LLVM regression tests
4ccbf04
Requires:	%{name}%{?_isa} = %{version}-%{release}
96d4e51
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
4ccbf04
Requires:	python3-lit
4ccbf04
# The regression tests need gold.
4ccbf04
Requires:	binutils
4ccbf04
# This is for llvm-config
4ccbf04
Requires:	%{name}-devel%{?_isa} = %{version}-%{release}
4ccbf04
# Bugpoint tests require gcc
4ccbf04
Requires:	gcc
d56ae49
Requires:	findutils
a47388f
15784b2
Provides:	llvm-test(major) = %{maj_ver}
15784b2
a47388f
%description test
a47388f
LLVM regression tests.
a47388f
a47388f
%package googletest
8eccc65
Summary: LLVM's modified googletest sources
a47388f
a47388f
%description googletest
a47388f
LLVM's modified googletest sources.
a47388f
a47388f
%endif
a47388f
Bryan O'Sullivan d291b49
%prep
1306859
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
78e975e
%autosetup -n %{llvm_srcdir} -p2
09ee2ab
c8a90e4
pathfix.py -i %{__python3} -pn \
c8a90e4
	test/BugPoint/compile-custom.ll.py \
3ca69f5
	tools/opt-viewer/*.py \
3ca69f5
	utils/update_cc_test_checks.py
faa3d2d
Bryan O'Sullivan d291b49
%build
ca904f1
40207a4
# Disable LTO on s390x, this causes some test failures:
40207a4
# LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.Authenticated
40207a4
# LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.PATCHPOINT
40207a4
# LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.STACKMAP
40207a4
# LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.TLSDESC_CALLSEQ
992907b
# On X86_64, LTO builds of TableGen crash.  This can be reproduced by:
992907b
# %%cmake_build --target include/llvm/IR/IntrinsicsAArch64.h
992907b
# Because of these failures, lto is disabled for now.
40207a4
%global _lto_cflags %{nil}
40207a4
edd830c
%ifarch s390 s390x %{arm} %ix86
c244b9b
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
c244b9b
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
c244b9b
%endif
c244b9b
933aa47
# force off shared libs as cmake macros turns it on.
146561a
%cmake  -G Ninja \
933aa47
	-DBUILD_SHARED_LIBS:BOOL=OFF \
317b791
	-DLLVM_PARALLEL_LINK_JOBS=1 \
ca904f1
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
9678387
	-DCMAKE_SKIP_RPATH:BOOL=ON \
acf22be
%ifarch s390 %{arm} %ix86
c244b9b
	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
c244b9b
	-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
c244b9b
%endif
77699b4
%if %{without compat_build}
a95cfcf
%if 0%{?__isa_bits} == 64
ca904f1
	-DLLVM_LIBDIR_SUFFIX=64 \
be655c4
%else
ca904f1
	-DLLVM_LIBDIR_SUFFIX= \
98be43e
%endif
da8f508
%endif
ca904f1
	\
21e2a92
	-DLLVM_TARGETS_TO_BUILD=%{targets_to_build} \
ca904f1
	-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
ca904f1
	-DLLVM_ENABLE_ZLIB:BOOL=ON \
ca904f1
	-DLLVM_ENABLE_FFI:BOOL=ON \
ca904f1
	-DLLVM_ENABLE_RTTI:BOOL=ON \
edd830c
	-DLLVM_USE_PERF:BOOL=ON \
be655c4
%if %{with gold}
ca904f1
	-DLLVM_BINUTILS_INCDIR=%{_includedir} \
ca904f1
%endif
21e2a92
	-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{experimental_targets_to_build} \
ca904f1
	\
ca904f1
	-DLLVM_BUILD_RUNTIME:BOOL=ON \
ca904f1
	\
ca904f1
	-DLLVM_INCLUDE_TOOLS:BOOL=ON \
ca904f1
	-DLLVM_BUILD_TOOLS:BOOL=ON \
ca904f1
	\
ca904f1
	-DLLVM_INCLUDE_TESTS:BOOL=ON \
ca904f1
	-DLLVM_BUILD_TESTS:BOOL=ON \
ca904f1
	\
ca904f1
	-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \
ca904f1
	-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
ca904f1
	\
ca904f1
	-DLLVM_INCLUDE_UTILS:BOOL=ON \
77699b4
%if %{with compat_build}
da8f508
	-DLLVM_INSTALL_UTILS:BOOL=OFF \
da8f508
%else
383dd27
	-DLLVM_INSTALL_UTILS:BOOL=ON \
5dee6b6
	-DLLVM_UTILS_INSTALL_DIR:PATH=%{_bindir} \
0958983
	-DLLVM_TOOLS_INSTALL_DIR:PATH=bin \
da8f508
%endif
ca904f1
	\
ca904f1
	-DLLVM_INCLUDE_DOCS:BOOL=ON \
ca904f1
	-DLLVM_BUILD_DOCS:BOOL=ON \
ca904f1
	-DLLVM_ENABLE_SPHINX:BOOL=ON \
ca904f1
	-DLLVM_ENABLE_DOXYGEN:BOOL=OFF \
ca904f1
	\
63f8be8
%if %{without compat_build}
7790ff0
	-DLLVM_VERSION_SUFFIX='' \
63f8be8
%endif
933aa47
	-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
f8d5334
	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
ca904f1
	-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
ca904f1
	-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \
ca904f1
	\
a5fe5a1
	-DSPHINX_WARNINGS_AS_ERRORS=OFF \
63f8be8
	-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
5dee6b6
	-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
ca904f1
	-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3
ca904f1
acf22be
# Build libLLVM.so first.  This ensures that when libLLVM.so is linking, there
acf22be
# are no other compile jobs running.  This will help reduce OOM errors on the
acf22be
# builders without having to artificially limit the number of concurrent jobs.
146561a
%cmake_build --target LLVM
146561a
%cmake_build
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%install
146561a
%cmake_install
9dd4cd3
4ca785f
mkdir -p %{buildroot}/%{_bindir}
edd830c
edd830c
%if %{without compat_build}
a58113d
0958983
# Fix some man pages
edd830c
ln -s llvm-config.1 %{buildroot}%{_mandir}/man1/llvm-config%{exec_suffix}-%{__isa_bits}.1
d31813f
mv %{buildroot}%{_mandir}/man1/*tblgen.1 %{buildroot}%{_mandir}/man1/llvm-tblgen.1
Bryan O'Sullivan 03bad00
a47388f
# Install binaries needed for lit tests
bab8b94
%global test_binaries llvm-isel-fuzzer llvm-opt-fuzzer
4ca785f
4ca785f
for f in %{test_binaries}
4ca785f
do
146561a
    install -m 0755 %{_vpath_builddir}/bin/$f %{buildroot}%{_bindir}
a47388f
done
a47388f
8e1d8d6
# Remove testing of update utility tools
8e1d8d6
rm -rf test/tools/UpdateTestChecks
4ca785f
4ca785f
%multilib_fix_c_header --file %{_includedir}/llvm/Config/llvm-config.h
4ca785f
40468b1
# Install libraries needed for unittests
40468b1
%if 0%{?__isa_bits} == 64
146561a
%global build_libdir %{_vpath_builddir}/lib64
40468b1
%else
146561a
%global build_libdir %{_vpath_builddir}/lib
40468b1
%endif
40468b1
40468b1
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{_libdir}
40468b1
a47388f
%global install_srcdir %{buildroot}%{_datadir}/llvm/src
dd29ab7
%global lit_cfg test/%{_arch}.site.cfg.py
dd29ab7
%global lit_unit_cfg test/Unit/%{_arch}.site.cfg.py
dd29ab7
%global lit_fedora_cfg %{_datadir}/llvm/lit.fedora.cfg.py
a47388f
a47388f
# Install gtest sources so clang can use them for gtest
a47388f
install -d %{install_srcdir}
a47388f
install -d %{install_srcdir}/utils/
a47388f
cp -R utils/unittest %{install_srcdir}/utils/
a47388f
3ca69f5
# Clang needs these for running lit tests.
3ca69f5
cp utils/update_cc_test_checks.py %{install_srcdir}/utils/
3ca69f5
cp -R utils/UpdateTestChecks %{install_srcdir}/utils/
3ca69f5
afed217
# One of the lit tests references this file
afed217
install -d %{install_srcdir}/docs/CommandGuide/
afed217
install -m 0644 docs/CommandGuide/dsymutil.rst %{install_srcdir}/docs/CommandGuide/
afed217
afed217
# Generate lit config files.  Strip off the last lines that initiates the
dd29ab7
# test run, so we can customize the configuration.
afed217
head -n -2 %{_vpath_builddir}/test/lit.site.cfg.py >> %{lit_cfg}
afed217
head -n -2 %{_vpath_builddir}/test/Unit/lit.site.cfg.py >> %{lit_unit_cfg}
d56ae49
dd29ab7
# Install custom fedora config file
1306859
cp %{SOURCE4} %{buildroot}%{lit_fedora_cfg}
a47388f
dd29ab7
# Patch lit config files to load custom fedora config:
dd29ab7
for f in %{lit_cfg} %{lit_unit_cfg}; do
dd29ab7
  echo "lit_config.load_config(config, '%{lit_fedora_cfg}')" >> $f
dd29ab7
done
a47388f
a47388f
install -d %{buildroot}%{_libexecdir}/tests/llvm
1306859
install -m 0755 %{SOURCE3} %{buildroot}%{_libexecdir}/tests/llvm
a47388f
a47388f
# Install lit tests.  We need to put these in a tarball otherwise rpm will complain
a47388f
# about some of the test inputs having the wrong object file format.
a47388f
install -d %{buildroot}%{_datadir}/llvm/
d740058
d740058
# The various tar options are there to make sur the archive is the same on 32 and 64 bit arch, i.e.
d740058
# the archive creation is reproducible. Move arch-specific content out of the tarball
d740058
mv %{lit_cfg} %{install_srcdir}/%{_arch}.site.cfg.py
d740058
mv %{lit_unit_cfg} %{install_srcdir}/%{_arch}.Unit.site.cfg.py
d740058
tar --sort=name --mtime='UTC 2020-01-01' -c test/ | gzip -n > %{install_srcdir}/test.tar.gz
a47388f
a47388f
# Install the unit test binaries
0958983
mkdir -p %{build_llvm_libdir}
146561a
cp -R %{_vpath_builddir}/unittests %{build_llvm_libdir}/
0958983
rm -rf `find %{build_llvm_libdir} -iname 'cmake*'`
a47388f
dd29ab7
# Install libraries used for testing
dd29ab7
install -m 0755 %{build_libdir}/BugpointPasses.so %{buildroot}%{_libdir}
dd29ab7
install -m 0755 %{build_libdir}/LLVMHello.so %{buildroot}%{_libdir}
dd29ab7
dd29ab7
# Install test inputs for PDB tests
dd29ab7
echo "%{_datadir}/llvm/src/unittests/DebugInfo/PDB" > %{build_llvm_libdir}/unittests/DebugInfo/PDB/llvm.srcdir.txt
dd29ab7
mkdir -p %{buildroot}%{_datadir}/llvm/src/unittests/DebugInfo/PDB/
dd29ab7
cp -R unittests/DebugInfo/PDB/Inputs %{buildroot}%{_datadir}/llvm/src/unittests/DebugInfo/PDB/
dd29ab7
71b4306
%if %{with gold}
71b4306
# Add symlink to lto plugin in the binutils plugin directory.
71b4306
%{__mkdir_p} %{buildroot}%{_libdir}/bfd-plugins/
71b4306
ln -s %{_libdir}/LLVMgold.so %{buildroot}%{_libdir}/bfd-plugins/
71b4306
%endif
71b4306
da8f508
%else
da8f508
da8f508
# Add version suffix to binaries
77699b4
for f in %{buildroot}/%{install_bindir}/*; do
77699b4
  filename=`basename $f`
63f8be8
  ln -s ../../../%{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename%{exec_suffix}
da8f508
done
da8f508
da8f508
# Move header files
da8f508
mkdir -p %{buildroot}/%{pkg_includedir}
8c9aac9
ln -s ../../../%{install_includedir}/llvm %{buildroot}/%{pkg_includedir}/llvm
8c9aac9
ln -s ../../../%{install_includedir}/llvm-c %{buildroot}/%{pkg_includedir}/llvm-c
da8f508
da8f508
# Fix multi-lib
da8f508
%multilib_fix_c_header --file %{install_includedir}/llvm/Config/llvm-config.h
da8f508
da8f508
# Create ld.so.conf.d entry
da8f508
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
da8f508
cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf << EOF
da8f508
%{pkg_libdir}
da8f508
EOF
da8f508
da8f508
# Add version suffix to man pages and move them to mandir.
da8f508
mkdir -p %{buildroot}/%{_mandir}/man1
63f8be8
for f in %{build_install_prefix}/share/man/man1/*; do
da8f508
  filename=`basename $f | cut -f 1 -d '.'`
da8f508
  mv $f %{buildroot}%{_mandir}/man1/$filename%{exec_suffix}.1
da8f508
done
da8f508
da8f508
# Remove opt-viewer, since this is just a compatibility package.
8fc4f00
rm -Rf %{build_install_prefix}/share/opt-viewer
da8f508
da8f508
%endif
da8f508
c28ca03
# llvm-config special casing. llvm-config is managed by update-alternatives.
c28ca03
# the original file must remain available for compatibility with the CMake
c28ca03
# infrastructure. Without compat, cmake points to the symlink, with compat it
c28ca03
# points to the original file.
c28ca03
c28ca03
%if %{without compat_build}
c28ca03
c28ca03
mv %{buildroot}/%{pkg_bindir}/llvm-config %{buildroot}/%{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
c28ca03
c28ca03
%else
c28ca03
c28ca03
rm %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
c28ca03
(cd %{buildroot}/%{pkg_bindir} ; ln -s llvm-config llvm-config%{exec_suffix}-%{__isa_bits} )
c28ca03
c28ca03
%endif
c28ca03
c28ca03
# ghost presence
c28ca03
touch %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
c28ca03
c28ca03
4ca785f
a5a420c
%check
036db17
# TODO: Fix the failures below
f3e54d7
%ifarch %{arm}
056fb9e
rm test/tools/llvm-readobj/ELF/dependent-libraries.test
f3e54d7
%endif
a5a420c
036db17
# non reproducible errors
036db17
rm test/tools/dsymutil/X86/swift-interface.test
036db17
056fb9e
# FIXME: use %%cmake_build instead of %%__ninja
edd830c
LD_LIBRARY_PATH=%{buildroot}/%{pkg_libdir}  %{__ninja} check-all -C %{_vpath_builddir}
056fb9e
d891d18
%ldconfig_scriptlets libs
194b08b
ca904f1
%post devel
edd830c
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config%{exec_suffix} llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits}
a5a420c
a5a420c
%postun devel
05920e6
if [ $1 -eq 0 ]; then
edd830c
  %{_sbindir}/update-alternatives --remove llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
05920e6
fi
a5a420c
Bryan O'Sullivan d291b49
%files
146561a
%license LICENSE.TXT
77699b4
%exclude %{_mandir}/man1/llvm-config*
77699b4
%{_mandir}/man1/*
77699b4
%{_bindir}/*
77699b4
edd830c
%exclude %{_bindir}/llvm-config%{exec_suffix}
edd830c
%exclude %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
edd830c
77699b4
%if %{without compat_build}
0958983
%exclude %{_bindir}/not
0958983
%exclude %{_bindir}/count
0958983
%exclude %{_bindir}/yaml-bench
0958983
%exclude %{_bindir}/lli-child-target
0958983
%exclude %{_bindir}/llvm-isel-fuzzer
0958983
%exclude %{_bindir}/llvm-opt-fuzzer
3d29fda
%{_datadir}/opt-viewer
da8f508
%else
8c9aac9
%{pkg_bindir}
da8f508
%endif
ca904f1
ca904f1
%files libs
146561a
%license LICENSE.TXT
7a93d34
%{pkg_libdir}/libLLVM-%{maj_ver}.so
77699b4
%if %{without compat_build}
2a3c791
%if %{with gold}
2a3c791
%{_libdir}/LLVMgold.so
71b4306
%{_libdir}/bfd-plugins/LLVMgold.so
2a3c791
%endif
3d29fda
%{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
1bbe5ad
%{_libdir}/libLTO.so*
da8f508
%else
06970df
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
da8f508
%if %{with gold}
da8f508
%{_libdir}/%{name}/lib/LLVMgold.so
da8f508
%endif
da8f508
%{pkg_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
da8f508
%{pkg_libdir}/libLTO.so*
da8f508
%exclude %{pkg_libdir}/libLTO.so
da8f508
%endif
5dee6b6
%{pkg_libdir}/libRemarks.so*
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%files devel
146561a
%license LICENSE.TXT
edd830c
edd830c
%ghost %{_bindir}/llvm-config%{exec_suffix}
edd830c
%{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
0958983
%{_mandir}/man1/llvm-config*
edd830c
edd830c
%if %{without compat_build}
ca904f1
%{_includedir}/llvm
ca904f1
%{_includedir}/llvm-c
2a3c791
%{_libdir}/libLLVM.so
894065e
%{_libdir}/cmake/llvm
da8f508
%else
8c9aac9
%{install_includedir}/llvm
8c9aac9
%{install_includedir}/llvm-c
da8f508
%{pkg_includedir}/llvm
da8f508
%{pkg_includedir}/llvm-c
da8f508
%{pkg_libdir}/libLTO.so
da8f508
%{pkg_libdir}/libLLVM.so
da8f508
%{pkg_libdir}/cmake/llvm
da8f508
%endif
c6833e1
c6833e1
%files doc
146561a
%license LICENSE.TXT
ca904f1
%doc %{_pkgdocdir}/html
Bryan O'Sullivan d291b49
7a85177
%files static
146561a
%license LICENSE.TXT
77699b4
%if %{without compat_build}
7a85177
%{_libdir}/*.a
40468b1
%exclude %{_libdir}/libLLVMTestingSupport.a
da8f508
%else
da8f508
%{_libdir}/%{name}/lib/*.a
da8f508
%endif
7a85177
77699b4
%if %{without compat_build}
a47388f
a47388f
%files test
146561a
%license LICENSE.TXT
a47388f
%{_libexecdir}/tests/llvm/
0958983
%{llvm_libdir}/unittests/
dd29ab7
%{_datadir}/llvm/src/unittests
a47388f
%{_datadir}/llvm/src/test.tar.gz
d740058
%{_datadir}/llvm/src/%{_arch}.site.cfg.py
d740058
%{_datadir}/llvm/src/%{_arch}.Unit.site.cfg.py
dd29ab7
%{_datadir}/llvm/lit.fedora.cfg.py
afed217
%{_datadir}/llvm/src/docs/CommandGuide/dsymutil.rst
0958983
%{_bindir}/not
0958983
%{_bindir}/count
0958983
%{_bindir}/yaml-bench
0958983
%{_bindir}/lli-child-target
0958983
%{_bindir}/llvm-isel-fuzzer
0958983
%{_bindir}/llvm-opt-fuzzer
dd29ab7
%{_libdir}/BugpointPasses.so
dd29ab7
%{_libdir}/LLVMHello.so
a47388f
a47388f
%files googletest
146561a
%license LICENSE.TXT
a47388f
%{_datadir}/llvm/src/utils
40468b1
%{_libdir}/libLLVMTestingSupport.a
a47388f
a47388f
%endif
a47388f
Bryan O'Sullivan d291b49
%changelog
c28ca03
* Mon May 17 2021 sguelton@redhat.com - 12.0.0-2
c28ca03
- Fix handling of llvm-config
c28ca03
edd830c
* Mon May 10 2021 Serge Guelton - 12.0.0-1
edd830c
- 12.0.0 final release
edd830c
c32130c
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 12.0.0-0.3.rc1
c32130c
- Rebuilt for removed libstdc++ symbol (#1937698)
c32130c
5d0513e
* Mon Feb 22 2021 sguelton@redhat.com - 12.0.0-0.2.rc1
5d0513e
- rebuilt
5d0513e
d31813f
* Tue Feb 2 2021 Serge Guelton - 12.0.0-0.1.rc1
d31813f
- 12.0.0-rc1 release
d31813f
7a04c72
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.1.0-0.3.rc2
7a04c72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
7a04c72
f768ecb
* Fri Jan 22 2021 Serge Guelton - 11.1.0-0.2.rc2
f768ecb
- 11.1.0-rc2 release
f768ecb
4799046
* Thu Jan 14 2021 Serge Guelton - 11.1.0-0.1.rc1
4799046
- 11.1.0-rc1 release
11cea8e
036db17
* Tue Jan 05 2021 Serge Guelton - 11.0.1-3.rc2
036db17
- Waive extra test case
036db17
c32dd93
* Sun Dec 20 2020 sguelton@redhat.com - 11.0.1-2.rc2
c32dd93
- 11.0.1-rc2 release
c32dd93
2698f34
* Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1
2698f34
- 11.0.1-rc1 release
2698f34
e1767ba
* Sat Oct 31 2020 Jeff Law <law@redhat.com> - 11.0.0-2
e1767ba
- Fix missing #include for gcc-11
e1767ba
051ec63
* Wed Oct 14 2020 Josh Stone <jistone@redhat.com> - 11.0.0-1
051ec63
- Fix coreos-installer test crash on s390x (rhbz#1883457)
051ec63
f5cf570
* Mon Oct 12 2020 sguelton@redhat.com - 11.0.0-0.11
f5cf570
- llvm 11.0.0 - final release
f5cf570
9e83c56
* Thu Oct 08 2020 sguelton@redhat.com - 11.0.0-0.10.rc6
9e83c56
- 11.0.0-rc6
9e83c56
4720785
* Fri Oct 02 2020 sguelton@redhat.com - 11.0.0-0.9.rc5
4720785
- 11.0.0-rc5 Release
4720785
00e1b06
* Sun Sep 27 2020 sguelton@redhat.com - 11.0.0-0.8.rc3
00e1b06
- Fix NVR
00e1b06
23f776e
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.2.rc3
23f776e
- Obsolete patch for rhbz#1862012
23f776e
493675c
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.1.rc3
493675c
- 11.0.0-rc3 Release
493675c
1263208
* Wed Sep 02 2020 sguelton@redhat.com - 11.0.0-0.7.rc2
1263208
- Apply upstream patch for rhbz#1862012
1263208
1306859
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.6.rc2
1306859
- Fix source location
1306859
9095ad6
* Fri Aug 21 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.5.rc2
9095ad6
- 11.0.0-rc2 Release
9095ad6
afed217
* Wed Aug 19 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.4.rc1
afed217
- Fix regression-tests CI tests
afed217
13d84b3
* Tue Aug 18 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.3.rc1
13d84b3
- Fix rust crash on ppc64le compiling firefox
13d84b3
- rhbz#1862012
13d84b3
3ca69f5
* Tue Aug 11 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.2.rc1
3ca69f5
- Install update_cc_test_checks.py script
3ca69f5
992907b
* Thu Aug 06 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1-rc1
992907b
- LLVM 11.0.0-rc1 Release
992907b
- Make llvm-devel require llvm-static and llvm-test
992907b
40207a4
* Tue Aug 04 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-10
40207a4
- Backport upstream patch to fix build with -flto.
40207a4
- Disable LTO on s390x to work-around unit test failures.
40207a4
a58113d
* Sat Aug 01 2020 sguelton@redhat.com - 10.0.0-9
a58113d
- Fix update-alternative uninstall script
a58113d
146561a
* Sat Aug 01 2020 sguelton@redhat.com - 10.0.0-8
146561a
- Fix gpg verification and update macro usage.
146561a
210d1cc
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-7
210d1cc
- Second attempt - Rebuilt for
210d1cc
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
210d1cc
edf13af
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-6
edf13af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d740058
* Thu Jun 11 2020 sguelton@redhat.com - 10.0.0-5
d740058
- Make llvm-test.tar.gz creation reproducible.
d740058
9678387
* Tue Jun 02 2020 sguelton@redhat.com - 10.0.0-4
9678387
- Instruct cmake not to generate RPATH
9678387
71b4306
* Thu Apr 30 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-3
71b4306
- Install LLVMgold.so symlink in bfd-plugins directory
71b4306
8e1d8d6
* Tue Apr 07 2020 sguelton@redhat.com - 10.0.0-2
8e1d8d6
- Do not package UpdateTestChecks tests in llvm-tests
8e1d8d6
- Apply upstream patch bab5908df to pass gating tests
8e1d8d6
78e975e
* Wed Mar 25 2020 sguelton@redhat.com - 10.0.0-1
78e975e
- 10.0.0 final
78e975e
901bdb1
* Mon Mar 23 2020 sguelton@redhat.com - 10.0.0-0.6.rc6
901bdb1
- 10.0.0 rc6
901bdb1
b9d5a00
* Thu Mar 19 2020 sguelton@redhat.com - 10.0.0-0.5.rc5
b9d5a00
- 10.0.0 rc5
b9d5a00
004b709
* Sat Mar 14 2020 sguelton@redhat.com - 10.0.0-0.4.rc4
004b709
- 10.0.0 rc4
004b709
0cf0e0f
* Thu Mar 05 2020 sguelton@redhat.com - 10.0.0-0.3.rc3
0cf0e0f
- 10.0.0 rc3
0cf0e0f
38c19e0
* Fri Feb 28 2020 sguelton@redhat.com - 10.0.0-0.2.rc2
38c19e0
- Remove *_finite support, see rhbz#1803203
38c19e0
d323e42
* Fri Feb 14 2020 sguelton@redhat.com - 10.0.0-0.1.rc2
d323e42
- 10.0.0 rc2
d323e42
7790ff0
* Fri Jan 31 2020 sguelton@redhat.com - 10.0.0-0.1.rc1
7790ff0
- 10.0.0 rc1
7790ff0
13fa336
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-5
13fa336
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
13fa336
00a5db5
* Tue Jan 21 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-4
00a5db5
- Rebuild after previous build failed to strip binaries
00a5db5
96d4e51
* Fri Jan 17 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-3
96d4e51
- Add explicit Requires from sub-packages to llvm-libs
96d4e51
d7b5dc3
* Fri Jan 10 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-2
d7b5dc3
- Fix crash with kernel bpf self-tests
d7b5dc3
d9ea1b4
* Thu Dec 19 2019 tstellar@redhat.com - 9.0.1-1
d9ea1b4
- 9.0.1 Release
d9ea1b4
8ddd41e
* Mon Nov 25 2019 sguelton@redhat.com - 9.0.0-4
8ddd41e
- Activate AVR on all architectures
8ddd41e
acf22be
* Mon Sep 30 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-3
acf22be
- Build libLLVM.so first to avoid OOM errors
acf22be
9d70f3b
* Fri Sep 27 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-2
9d70f3b
- Remove unneeded BuildRequires: libstdc++-static
9d70f3b
6a704c4
* Thu Sep 19 2019 sguelton@redhat.com - 9.0.0-1
6a704c4
- 9.0.0 Release
6a704c4
6f02bbb
* Wed Sep 18 2019 sguelton@redhat.com - 9.0.0-0.5.rc3
6f02bbb
- Support avr target, see rhbz#1718492
6f02bbb
bab8b94
* Tue Sep 10 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.4.rc3
bab8b94
- Split out test executables into their own export file
bab8b94
f07760f
* Fri Sep 06 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.3.rc3
f07760f
- Fix patch for splitting out static library exports
f07760f
d62829b
* Fri Aug 30 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.2.rc3
d62829b
- 9.0.0-rc3 Release
d62829b
5dee6b6
* Thu Aug 01 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.1.rc2
5dee6b6
- 9.0.0-rc2 Release
5dee6b6
77699b4
* Tue Jul 30 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-9
77699b4
- Sync with llvm8.0 spec file
77699b4
f5b025e
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-8.1
f5b025e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f5b025e
15784b2
* Wed Jul 17 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-8
15784b2
- Add provides for the major version of sub-packages
15784b2
ab84dbf
* Fri May 17 2019 sguelton@redhat.com - 8.0.0-7
ab84dbf
- Fix conflicts between llvm-static = 8 and llvm-dev < 8 around LLVMStaticExports.cmake
ab84dbf
785b893
* Wed Apr 24 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-6
785b893
- Make sure we aren't passing -g on s390x
785b893
0a95f79
* Sat Mar 30 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-5
0a95f79
- Enable build rpath while keeping install rpath disabled
0a95f79
f3e54d7
* Wed Mar 27 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-4
f3e54d7
- Backport r351577 from trunk to fix ninja check failures
f3e54d7
2b03740
* Tue Mar 26 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-3
2b03740
- Fix ninja check
2b03740
dd29ab7
* Fri Mar 22 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-2
dd29ab7
- llvm-test fixes
dd29ab7
f059677
* Wed Mar 20 2019 sguelton@redhat.com - 8.0.0-1
f059677
- 8.0.0 final
f059677
d78f677
* Fri Mar 15 2019 sguelton@redhat.com - 8.0.0-0.6.rc4
d78f677
- Activate all backends (rhbz#1689031)
d78f677
49f1cff
* Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.5.rc4
49f1cff
- 8.0.0 Release candidate 4
4ca785f
0958983
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.4.rc3
0958983
- Move some binaries to -test package, cleanup specfile
0958983
54ff648
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.3.rc3
54ff648
- 8.0.0 Release candidate 3
54ff648
7d9203e
* Fri Feb 22 2019 sguelton@redhat.com - 8.0.0-0.2.rc2
7d9203e
- 8.0.0 Release candidate 2
7d9203e
7d9203e
* Sat Feb 9 2019 sguelton@redhat.com - 8.0.0-0.1.rc1
4ca785f
- 8.0.0 Release candidate 1
4ca785f
aea8243
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2.1
aea8243
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
aea8243
cf88888
* Mon Jan 21 2019 Josh Stone <jistone@redhat.com> - 7.0.1-2
cf88888
- Fix discriminators in metadata, rhbz#1668033
cf88888
8eccc65
* Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1
8eccc65
- 7.0.1 release
8eccc65
8fc4f00
* Tue Dec 04 2018 sguelton@redhat.com - 7.0.0-5
8fc4f00
- Ensure rpmlint passes on specfile
8fc4f00
40468b1
* Sat Nov 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-4
40468b1
- Install testing libraries for unittests
40468b1
d56ae49
* Sat Oct 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-3
d56ae49
- Fix running unittests as not-root user
d56ae49
4ccbf04
* Thu Sep 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-2
4ccbf04
- Fixes for llvm-test package:
4ccbf04
- Add some missing Requires
4ccbf04
- Add --threads option to run-lit-tests script
4ccbf04
- Set PATH so lit can find tools like count, not, etc.
4ccbf04
- Don't hardcode tools directory to /usr/lib64/llvm
4ccbf04
- Fix typo in yaml-bench define
4ccbf04
- Only print information about failing tests
4ccbf04
b5bb6c5
* Fri Sep 21 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-1
b5bb6c5
- 7.0.0 Release
b5bb6c5
f0b94fc
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.15.rc3
f0b94fc
- Disable rpath on install LLVM and related sub-projects
f0b94fc
f046279
* Wed Sep 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.14.rc3
f046279
- Remove rpath from executables and libraries
f046279
b4db2c9
* Tue Sep 11 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.13.rc3
b4db2c9
- Re-enable arm and aarch64 targets on x86_64
b4db2c9
4a6462c
* Mon Sep 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.12.rc3
4a6462c
- 7.0.0-rc3 Release
4a6462c
c8a90e4
* Fri Sep 07 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.11.rc2
c8a90e4
- Use python3 shebang for opt-viewewr scripts
c8a90e4
faa3d2d
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.10.rc2
faa3d2d
- Drop all uses of python2 from lit tests
faa3d2d
165caa6
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.9.rc2
165caa6
- Build the gold plugin on all supported architectures
165caa6
a057dde
* Wed Aug 29 2018 Kevin Fenzi <kevin@scrye.com> - 7.0.0-0.8.rc2
a057dde
- Re-enable debuginfo to avoid 25x size increase.
a057dde
1bf09a7
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.7.rc2
1bf09a7
- 7.0.0-rc2 Release
1bf09a7
c96d679
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.6.rc1
c96d679
- Guard valgrind usage with valgrind_arches macro
c96d679
a47388f
* Thu Aug 23 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.5.rc1
a47388f
- Package lit tests and googletest sources.
a47388f
1948d64
* Mon Aug 20 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.4.rc1
1948d64
- Re-enable AMDGPU target on ARM rhbz#1618922
1948d64
5636e80
* Mon Aug 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.3.rc1
5636e80
- Drop references to TestPlugin.so from cmake files
5636e80
a894547
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.2.rc1
a894547
- Fixes for lit tests
a894547
7a93d34
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.1.rc1
7a93d34
- 7.0.0-rc1 Release
7a93d34
- Reduce number of enabled targets on all arches.
7a93d34
- Drop s390 detection patch, LLVM does not support s390 codegen.
7a93d34
93d2074
* Mon Aug 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-6
93d2074
- Backport some fixes needed by mesa and rust
93d2074
8c9aac9
* Thu Jul 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-5
8c9aac9
- Move libLLVM-6.0.so to llvm6.0-libs.
8c9aac9
8c9aac9
* Mon Jul 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-4
8c9aac9
- Rebuild because debuginfo stripping failed with the previous build
8c9aac9
da8f508
* Fri Jul 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
da8f508
- Sync specfile with llvm6.0 package
da8f508
a9a9a3b
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
a9a9a3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a9a9a3b
629a77b
* Mon Jun 25 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
629a77b
- 6.0.1 Release
629a77b
ffa0ad7
* Thu Jun 07 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.4.rc2
ffa0ad7
- 6.0.1-rc2
ffa0ad7
4da4442
* Wed Jun 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.3.rc1
4da4442
- Re-enable all targets to avoid breaking the ABI.
4da4442
b772b3b
* Mon Jun 04 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.2.rc1
b772b3b
- Reduce the number of enabled targets based on the architecture
b772b3b
e594b05
* Thu May 10 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.1.rc1
e594b05
- 6.0.1 rc1
e594b05
ff279e4
* Tue Mar 27 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-11
ff279e4
- Re-enable arm tests that used to hang
ff279e4
2218119
* Thu Mar 22 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-10
2218119
- Fix testcase in backported patch
2218119
3d213b0
* Tue Mar 20 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-9
3d213b0
- Prevent external projects from linking against both static and shared
3d213b0
  libraries.  rhbz#1558657
3d213b0
699e7bb
* Mon Mar 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-8
699e7bb
- Backport r327651 from trunk rhbz#1554349
699e7bb
1afade5
* Fri Mar 16 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-7
1afade5
- Filter out cxxflags and cflags from llvm-config that aren't supported by clang
1afade5
- rhbz#1556980
1afade5
3ff2527
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-6
3ff2527
- Enable symbol versioning in libLLVM.so
3ff2527
025cf6e
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-5
025cf6e
- Stop statically linking libstdc++.  This is no longer required by Steam
025cf6e
  client, but the steam installer still needs a work-around which should
025cf6e
  be handled in the steam package.
440eb0e
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-4
440eb0e
- s/make check/ninja check/
440eb0e
e0bd4cf
* Fri Mar 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-3
e0bd4cf
- Backport fix for compile time regression on rust rhbz#1552915
e0bd4cf
acd922f
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-2
acd922f
- Build with Ninja: This reduces RPM build time on a 6-core x86_64 builder
acd922f
  from 82 min to 52 min.
acd922f
539d4ba
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-1
539d4ba
- 6.0.0 Release
539d4ba
c0f49ce
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.5.rc2
c0f49ce
- Reduce debuginfo size on i686 to avoid OOM errors during linking
c0f49ce
3df6c8a
* Fri Feb 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.4.rc2
3df6c8a
- 6.0.1 rc2
3df6c8a
f4cd5f6
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-0.3.rc1
f4cd5f6
- Escape macros in %%changelog
f4cd5f6
e5951f4
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-0.2.rc1
e5951f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e5951f4
a264db5
* Fri Jan 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
a264db5
- 6.0.1 rc1
a264db5
70bb4c2
* Tue Dec 19 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
70bb4c2
- 5.0.1 Release
70bb4c2
f3d30bd
* Mon Nov 20 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-5
f3d30bd
- Backport debuginfo fix for rust
f3d30bd
ca4631e
* Fri Nov 03 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-4
ca4631e
- Reduce debuginfo size for ARM
ca4631e
8f4eab1
* Tue Oct 10 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-2
8f4eab1
- Reduce memory usage on ARM by disabling debuginfo and some non-ARM targets.
8f4eab1
3d29fda
* Mon Sep 25 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-1
3d29fda
- 5.0.0 Release
3d29fda
c5c125e
* Mon Sep 18 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-6
c5c125e
- Add Requires: libedit-devel for llvm-devel
c5c125e
dd25586
* Fri Sep 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-5
dd25586
- Enable libedit backend for LineEditor API
dd25586
cca2af2
* Fri Aug 25 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-4
cca2af2
- Enable extra functionality when run the LLVM JIT under valgrind.
cca2af2
c263265
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
c263265
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c263265
c28afb5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
c28afb5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c28afb5
d95c34e
* Wed Jun 21 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
d95c34e
- 4.0.1 Release
d95c34e
383dd27
* Thu Jun 15 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-6
383dd27
- Install llvm utils
383dd27
7a52d8c
* Thu Jun 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-5
7a52d8c
- Fix docs-llvm-man target
7a52d8c
4b6a509
* Mon May 01 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
4b6a509
- Make cmake files no longer depend on static libs (rhbz 1388200)
4b6a509
4d11f51
* Tue Apr 18 2017 Josh Stone <jistone@redhat.com> - 4.0.0-3
4d11f51
- Fix computeKnownBits for ARMISD::CMOV (rust-lang/llvm#67)
4d11f51
e6b944d
* Mon Apr 03 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
e6b944d
- Simplify spec with rpm macros.
e6b944d
1bbe5ad
* Thu Mar 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
1bbe5ad
- LLVM 4.0.0 Final Release
1bbe5ad
05920e6
* Wed Mar 22 2017 tstellar@redhat.com - 3.9.1-6
f4cd5f6
- Fix %%postun sep for -devel package.
05920e6
53af609
* Mon Mar 13 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-5
53af609
- Disable failing tests on ARM.
53af609
146ec0c
* Sun Mar 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 3.9.1-4
146ec0c
- Fix missing mask on relocation for aarch64 (rhbz 1429050)
146ec0c
9747464
* Wed Mar 01 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-3
9747464
- revert upstream radeonsi breaking change.
9747464
a5fe5a1
* Thu Feb 23 2017 Josh Stone <jistone@redhat.com> - 3.9.1-2
a5fe5a1
- disable sphinx warnings-as-errors
a5fe5a1
Orion Poplawski 6448f2f
* Fri Feb 10 2017 Orion Poplawski <orion@cora.nwra.com> - 3.9.1-1
Orion Poplawski 6448f2f
- llvm 3.9.1
Orion Poplawski 6448f2f
ce8c385
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-8
ce8c385
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ce8c385
0c3be08
* Tue Nov 29 2016 Josh Stone <jistone@redhat.com> - 3.9.0-7
0c3be08
- Apply backports from rust-lang/llvm#55, #57
0c3be08
ba4dd40
* Tue Nov 01 2016 Dave Airlie 
ba4dd40
- rebuild for new arches
ba4dd40
88bc7e0
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-5
88bc7e0
- apply the patch from -4
88bc7e0
f943e7f
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-4
f943e7f
- add fix for lldb out-of-tree build
f943e7f
4488663
* Mon Oct 17 2016 Josh Stone <jistone@redhat.com> - 3.9.0-3
4488663
- Apply backports from rust-lang/llvm#47, #48, #53, #54
4488663
307be8a
* Sat Oct 15 2016 Josh Stone <jistone@redhat.com> - 3.9.0-2
307be8a
- Apply an InstCombine backport via rust-lang/llvm#51
307be8a
894065e
* Wed Sep 07 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-1
894065e
- llvm 3.9.0
894065e
- upstream moved where cmake files are packaged.
894065e
- upstream dropped CppBackend
894065e
2a3c791
* Wed Jul 13 2016 Adam Jackson <ajax@redhat.com> - 3.8.1-1
2a3c791
- llvm 3.8.1
2a3c791
- Add mips target
2a3c791
- Fix some shared library mispackaging
2a3c791
3019f5f
* Tue Jun 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> - 3.8.0-2
3019f5f
- fix color support detection on terminal
3019f5f
8e75711
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 3.8.0-1
8e75711
- llvm 3.8.0 release
8e75711
c244b9b
* Wed Mar 09 2016 Dan Horák <dan[at][danny.cz> 3.8.0-0.3
c244b9b
- install back memory consumption workaround for s390
c244b9b
861af01
* Thu Mar 03 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.2
861af01
- llvm 3.8.0 rc3 release
861af01
f8d5334
* Fri Feb 19 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.1
f8d5334
- llvm 3.8.0 rc2 release
f8d5334
8b72be4
* Tue Feb 16 2016 Dan Horák <dan[at][danny.cz> 3.7.1-7
8b72be4
- recognize s390 as SystemZ when configuring build
8b72be4
10a1975
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-6
10a1975
- export C++ API for mesa.
10a1975
7a85177
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-5
7a85177
- reintroduce llvm-static, clang needs it currently.
7a85177
933aa47
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
933aa47
- jump back to single llvm library, the split libs aren't working very well.
933aa47
d0a77df
* Fri Feb 05 2016 Dave Airlie <airlied@redhat.com> 3.7.1-3
d0a77df
- add missing obsoletes (#1303497)
d0a77df
4fb79db
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
4fb79db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4fb79db
ca904f1
* Thu Jan 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.1-1
ca904f1
- new upstream release
ca904f1
- enable gold linker
7889508
ca904f1
* Wed Nov 04 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
ca904f1
- fix Requires for subpackages on the main package
Bryan O'Sullivan d291b49
ca904f1
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
ca904f1
- initial version using cmake build system