b5061d4
# Components enabled if supported by target architecture:
b5061d4
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x
b5061d4
%ifarch %{gold_arches}
b5061d4
  %bcond_without gold
b5061d4
%else
b5061d4
  %bcond_with gold
b5061d4
%endif
b5061d4
b5061d4
%global compat_build 1
b5061d4
b5061d4
%global llvm_bindir %{_libdir}/%{name}
b5061d4
%global build_llvm_bindir %{buildroot}%{llvm_bindir}
b5061d4
%global maj_ver 7
b5061d4
%global min_ver 0
b5061d4
%global patch_ver 1
b5061d4
#%%global rc_ver 3
b5061d4
b5061d4
%ifarch s390x
b5061d4
%global llvm_targets SystemZ;BPF
b5061d4
%endif
b5061d4
%ifarch ppc64 ppc64le
b5061d4
%global llvm_targets PowerPC;AMDGPU;BPF
b5061d4
%endif
b5061d4
%ifarch %ix86 x86_64
b5061d4
# ARM/AARCH64 enabled due to rhbz#1627500
b5061d4
%global llvm_targets X86;AMDGPU;NVPTX;BPF;ARM;AArch64
b5061d4
%endif
b5061d4
%ifarch aarch64
b5061d4
%global llvm_targets AArch64;AMDGPU;BPF
b5061d4
%endif
b5061d4
%ifarch %{arm}
b5061d4
%global llvm_targets ARM;AMDGPU;BPF
b5061d4
%endif
b5061d4
b5061d4
%if 0%{?compat_build}
b5061d4
%global pkg_name llvm%{maj_ver}.%{min_ver}
b5061d4
%global exec_suffix -%{maj_ver}.%{min_ver}
b5061d4
%global short_exec_suffix -%{maj_ver}
b5061d4
%global install_prefix %{_libdir}/%{name}
b5061d4
%global install_bindir %{install_prefix}/bin
b5061d4
%global install_includedir %{install_prefix}/include
b5061d4
%global install_libdir %{install_prefix}/lib
b5061d4
b5061d4
%global pkg_bindir %{install_bindir}
b5061d4
%global pkg_includedir %{_includedir}/%{name}
b5061d4
%global pkg_libdir %{install_libdir}
b5061d4
%else
b5061d4
%global pkg_name llvm
b5061d4
%global install_prefix /usr
b5061d4
%global install_libdir %{_libdir}
b5061d4
%global pkg_libdir %{install_libdir}
b5061d4
%endif
b5061d4
b5061d4
%global build_install_prefix %{buildroot}%{install_prefix}
b5061d4
%global build_pkgdocdir %{buildroot}%{_pkgdocdir}
b5061d4
b5061d4
Name:		%{pkg_name}
b5061d4
Version:	%{maj_ver}.%{min_ver}.%{patch_ver}
1371b69
Release:	7%{?rc_ver:.rc%{rc_ver}}%{?dist}.8
b5061d4
Summary:	The Low Level Virtual Machine
b5061d4
b5061d4
License:	NCSA
b5061d4
URL:		http://llvm.org
b5061d4
Source0:	http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src.tar.xz
b5061d4
Source1:	run-lit-tests
b5061d4
b5061d4
Patch3:		0001-CMake-Split-static-library-exports-into-their-own-ex.patch
b5061d4
Patch7:		0001-Filter-out-cxxflags-not-supported-by-clang.patch
b5061d4
b5061d4
Patch12:	0001-unittests-Don-t-install-TestPlugin.so.patch
b5061d4
# If python2 is available on the system, llvm will try to use it.  This patch
b5061d4
# removes the preferences for python2, so we can make sure we always use
b5061d4
# python3.
b5061d4
Patch14:	0001-CMake-Don-t-prefer-python2.7.patch
b5061d4
Patch15:	0001-Don-t-set-rpath-when-installing.patch
b5061d4
b5061d4
Patch16:	0001-Ensure-that-variant-part-discriminator-is-read-by-Me.patch
b5061d4
Patch17:	0002-test-Fix-Assembler-debug-info.ll.patch
b5061d4
b5061d4
BuildRequires:	gcc
b5061d4
BuildRequires:	gcc-c++
b5061d4
BuildRequires:	cmake
b5061d4
BuildRequires:	ninja-build
b5061d4
BuildRequires:	zlib-devel
b5061d4
BuildRequires:	libffi-devel
b5061d4
BuildRequires:	ncurses-devel
b5061d4
BuildRequires:	python3-sphinx
b5061d4
BuildRequires:	multilib-rpm-config
b5061d4
BuildRequires:	chrpath
b5061d4
%if %{with gold}
b5061d4
BuildRequires:	binutils-devel
b5061d4
%endif
b5061d4
BuildRequires:	libstdc++-static
b5061d4
%ifarch %{valgrind_arches}
b5061d4
# Enable extra functionality when run the LLVM JIT under valgrind.
b5061d4
BuildRequires:	valgrind-devel
b5061d4
%endif
b5061d4
# LLVM's LineEditor library will use libedit if it is available.
b5061d4
BuildRequires:	libedit-devel
b5061d4
# We need python3-devel for pathfix.py.
b5061d4
BuildRequires:	python3-devel
adb5b01
BuildRequires:	python3-setuptools
b5061d4
b5061d4
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
b5061d4
b5061d4
%description
b5061d4
LLVM is a compiler infrastructure designed for compile-time, link-time,
b5061d4
runtime, and idle-time optimization of programs from arbitrary programming
b5061d4
languages. The compiler infrastructure includes mirror sets of programming
b5061d4
tools as well as libraries with equivalent functionality.
b5061d4
b5061d4
%package devel
b5061d4
Summary:	Libraries and header files for LLVM
b5061d4
Requires:	%{name}%{?_isa} = %{version}-%{release}
b5061d4
# The installed LLVM cmake files will add -ledit to the linker flags for any
b5061d4
# app that requires the libLLVMLineEditor, so we need to make sure
b5061d4
# libedit-devel is available.
b5061d4
Requires:	libedit-devel
b5061d4
Requires(post):	%{_sbindir}/alternatives
b5061d4
Requires(postun):	%{_sbindir}/alternatives
b5061d4
b5061d4
%description devel
b5061d4
This package contains library and header files needed to develop new native
b5061d4
programs that use the LLVM infrastructure.
b5061d4
b5061d4
%package doc
b5061d4
Summary:	Documentation for LLVM
b5061d4
BuildArch:	noarch
b5061d4
Requires:	%{name} = %{version}-%{release}
b5061d4
b5061d4
%description doc
b5061d4
Documentation for the LLVM compiler infrastructure.
b5061d4
b5061d4
%package libs
b5061d4
Summary:	LLVM shared libraries
b5061d4
b5061d4
%description libs
b5061d4
Shared libraries for the LLVM compiler infrastructure.
b5061d4
b5061d4
%package static
b5061d4
Summary:	LLVM static libraries
b5061d4
b5061d4
%description static
b5061d4
Static libraries for the LLVM compiler infrastructure.
b5061d4
b5061d4
%if !0%{?compat_build}
b5061d4
b5061d4
%package test
b5061d4
Summary:	LLVM regression tests
b5061d4
Requires:	%{name}%{?_isa} = %{version}-%{release}
b5061d4
Requires:	python3-lit
b5061d4
# The regression tests need gold.
b5061d4
Requires:	binutils
b5061d4
# This is for llvm-config
b5061d4
Requires:	%{name}-devel%{?_isa} = %{version}-%{release}
b5061d4
# Bugpoint tests require gcc
b5061d4
Requires:	gcc
b5061d4
Requires:	findutils
b5061d4
b5061d4
%description test
b5061d4
LLVM regression tests.
b5061d4
b5061d4
%package googletest
b5061d4
Summary: LLVM's modified googletest sources
b5061d4
b5061d4
%description googletest
b5061d4
LLVM's modified googletest sources.
b5061d4
b5061d4
%endif
b5061d4
b5061d4
%prep
b5061d4
%autosetup -n llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src -p1
b5061d4
4193903
%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -i %{__python3} -pn \
b5061d4
	test/BugPoint/compile-custom.ll.py \
b5061d4
	tools/opt-viewer/*.py
b5061d4
ef262a0
sed 's~@TOOLS_DIR@~%{llvm_bindir}~' %{SOURCE1} > run-lit-tests
b5061d4
b5061d4
%build
b264aef
%global _vpath_builddir .
b264aef
b5061d4
mkdir -p _build
b5061d4
cd _build
b5061d4
b5061d4
%ifarch s390 %{arm} %ix86
b5061d4
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
b5061d4
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
b5061d4
%endif
b5061d4
b5061d4
# force off shared libs as cmake macros turns it on.
b5061d4
%cmake .. -G Ninja \
b5061d4
	-DBUILD_SHARED_LIBS:BOOL=OFF \
b5061d4
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
b5061d4
%ifarch s390 %{arm} %ix86
b5061d4
	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
b5061d4
	-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
b5061d4
%endif
b5061d4
%if !0%{?compat_build}
b5061d4
%if 0%{?__isa_bits} == 64
b5061d4
	-DLLVM_LIBDIR_SUFFIX=64 \
b5061d4
%else
b5061d4
	-DLLVM_LIBDIR_SUFFIX= \
b5061d4
%endif
b5061d4
%endif
b5061d4
	\
b5061d4
	-DLLVM_TARGETS_TO_BUILD="%{llvm_targets}" \
b5061d4
	-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
b5061d4
	-DLLVM_ENABLE_ZLIB:BOOL=ON \
b5061d4
	-DLLVM_ENABLE_FFI:BOOL=ON \
b5061d4
	-DLLVM_ENABLE_RTTI:BOOL=ON \
b5061d4
%if %{with gold}
b5061d4
	-DLLVM_BINUTILS_INCDIR=%{_includedir} \
b5061d4
%endif
b5061d4
	\
b5061d4
	-DLLVM_BUILD_RUNTIME:BOOL=ON \
b5061d4
	\
b5061d4
	-DLLVM_INCLUDE_TOOLS:BOOL=ON \
b5061d4
	-DLLVM_BUILD_TOOLS:BOOL=ON \
b5061d4
	\
b5061d4
	-DLLVM_INCLUDE_TESTS:BOOL=ON \
b5061d4
	-DLLVM_BUILD_TESTS:BOOL=ON \
b5061d4
	\
b5061d4
	-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \
b5061d4
	-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
b5061d4
	\
b5061d4
	-DLLVM_INCLUDE_UTILS:BOOL=ON \
b5061d4
%if 0%{?compat_build}
b5061d4
	-DLLVM_INSTALL_UTILS:BOOL=OFF \
b5061d4
%else
b5061d4
	-DLLVM_INSTALL_UTILS:BOOL=ON \
b5061d4
	-DLLVM_UTILS_INSTALL_DIR:PATH=%{build_llvm_bindir} \
b5061d4
%endif
b5061d4
	\
b5061d4
	-DLLVM_INCLUDE_DOCS:BOOL=ON \
b5061d4
	-DLLVM_BUILD_DOCS:BOOL=ON \
b5061d4
	-DLLVM_ENABLE_SPHINX:BOOL=ON \
b5061d4
	-DLLVM_ENABLE_DOXYGEN:BOOL=OFF \
b5061d4
	\
b5061d4
	-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
b5061d4
	-DLLVM_DYLIB_EXPORT_ALL:BOOL=ON \
b5061d4
	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
b5061d4
	-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
b5061d4
	-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \
b5061d4
	\
b5061d4
	-DSPHINX_WARNINGS_AS_ERRORS=OFF \
b5061d4
	-DCMAKE_INSTALL_PREFIX=%{build_install_prefix} \
b5061d4
	-DLLVM_INSTALL_SPHINX_HTML_DIR=%{build_pkgdocdir}/html \
b5061d4
	-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3
b5061d4
b5061d4
ninja -v
b5061d4
b5061d4
%install
b5061d4
cd _build
b5061d4
ninja -v install
b5061d4
b5061d4
%if !0%{?compat_build}
b5061d4
# fix multi-lib
b5061d4
mv -v %{buildroot}%{_bindir}/llvm-config{,-%{__isa_bits}}
b5061d4
b5061d4
%multilib_fix_c_header --file %{_includedir}/llvm/Config/llvm-config.h
b5061d4
b5061d4
# Install binaries needed for lit tests
b5061d4
%global test_binaries lli-child-target llvm-isel-fuzzer llvm-opt-fuzzer yaml-bench
b5061d4
for f in %{test_binaries}; do
b5061d4
install -m 0755 ./bin/$f %{build_llvm_bindir}
b5061d4
done
b5061d4
b5061d4
# Install libraries needed for unittests
b5061d4
%if 0%{?__isa_bits} == 64
b5061d4
%global build_libdir lib64
b5061d4
%else
b5061d4
%global build_libdir lib
b5061d4
%endif
b5061d4
b5061d4
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{_libdir}
b5061d4
b5061d4
%global install_srcdir %{buildroot}%{_datadir}/llvm/src
b5061d4
%global lit_cfg test/lit.site.cfg.py
b5061d4
%global lit_unit_cfg test/Unit/lit.site.cfg.py
b5061d4
b5061d4
cd ..
b5061d4
b5061d4
# Install gtest sources so clang can use them for gtest
b5061d4
install -d %{install_srcdir}
b5061d4
install -d %{install_srcdir}/utils/
b5061d4
cp -R utils/unittest %{install_srcdir}/utils/
b5061d4
b5061d4
# Generate lit config files.
b5061d4
cat _build/test/lit.site.cfg.py >> %{lit_cfg}
b5061d4
b5061d4
# Unit tests write output to this directory, so it can't be in /usr.
b5061d4
sed -i 's~\(config.llvm_obj_root = \)"[^"]\+"~\1"."~' %{lit_cfg}
b5061d4
b5061d4
cat _build/test/Unit/lit.site.cfg.py >> %{lit_unit_cfg}
b5061d4
sed -i -e s~`pwd`/_build~%{_prefix}~g -e s~`pwd`~.~g %{lit_cfg} %{lit_cfg} %{lit_unit_cfg}
b5061d4
b5061d4
# obj_root needs to be set to the directory containing the unit test binaries.
b5061d4
sed -i 's~\(config.llvm_obj_root = \)"[^"]\+"~\1"%{llvm_bindir}"~' %{lit_unit_cfg}
b5061d4
b5061d4
install -d %{buildroot}%{_libexecdir}/tests/llvm
ef262a0
install -m 0755 run-lit-tests %{buildroot}%{_libexecdir}/tests/llvm
b5061d4
b5061d4
# Install lit tests.  We need to put these in a tarball otherwise rpm will complain
b5061d4
# about some of the test inputs having the wrong object file format.
b5061d4
install -d %{buildroot}%{_datadir}/llvm/
b5061d4
tar -czf %{install_srcdir}/test.tar.gz test/
b5061d4
b5061d4
# Install the unit test binaries
b5061d4
cp -R _build/unittests %{build_llvm_bindir}/
b5061d4
# FIXME: Can't figure out how to make the find command succeed.
b5061d4
find %{build_llvm_bindir} -ignore_readdir_race -iname 'cmake*' -exec rm -Rf '{}' ';' || true
b5061d4
b5061d4
%else
b5061d4
b5061d4
# Add version suffix to binaries
b5061d4
mkdir -p %{buildroot}/%{_bindir}
b5061d4
for f in `ls %{buildroot}/%{install_bindir}/*`; do
b5061d4
  filename=`basename $f`
b5061d4
  ln -s %{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename%{exec_suffix}
b5061d4
  ln -s $filename%{exec_suffix} %{buildroot}/%{_bindir}/$filename%{short_exec_suffix}
b5061d4
done
b5061d4
b5061d4
# Move header files
b5061d4
mkdir -p %{buildroot}/%{pkg_includedir}
b5061d4
ln -s ../../../%{install_includedir}/llvm %{buildroot}/%{pkg_includedir}/llvm
b5061d4
ln -s ../../../%{install_includedir}/llvm-c %{buildroot}/%{pkg_includedir}/llvm-c
b5061d4
b5061d4
# Fix multi-lib
b5061d4
mv %{buildroot}%{_bindir}/llvm-config{%{exec_suffix},%{exec_suffix}-%{__isa_bits}}
b5061d4
ln -s llvm-config%{exec_suffix}-%{__isa_bits} %{buildroot}%{_bindir}/llvm-config%{short_exec_suffix}-%{__isa_bits}
b5061d4
%multilib_fix_c_header --file %{install_includedir}/llvm/Config/llvm-config.h
b5061d4
b5061d4
# Create ld.so.conf.d entry
b5061d4
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
b5061d4
cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf << EOF
b5061d4
%{pkg_libdir}
b5061d4
EOF
b5061d4
b5061d4
# Add version suffix to man pages and move them to mandir.
b5061d4
mkdir -p %{buildroot}/%{_mandir}/man1
b5061d4
for f in `ls %{build_install_prefix}/share/man/man1/*`; do
b5061d4
  filename=`basename $f | cut -f 1 -d '.'`
b5061d4
  mv $f %{buildroot}%{_mandir}/man1/$filename%{exec_suffix}.1
b5061d4
  ln -s $filename%{exec_suffix}.1 %{buildroot}%{_mandir}/man1/$filename%{short_exec_suffix}.1
b5061d4
done
b5061d4
b5061d4
# Remove opt-viewer, since this is just a compatibility package.
b5061d4
rm -Rf %{build_install_prefix}/share/opt-viewer
b5061d4
b5061d4
%endif
b5061d4
b5061d4
%check
b5061d4
cd _build
b5061d4
ninja check-all || :
b5061d4
b5061d4
%ldconfig_scriptlets libs
b5061d4
b5061d4
%if !0%{?compat_build}
b5061d4
b5061d4
%post devel
b5061d4
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config llvm-config %{_bindir}/llvm-config-%{__isa_bits} %{__isa_bits}
b5061d4
b5061d4
%postun devel
b5061d4
if [ $1 -eq 0 ]; then
b5061d4
  %{_sbindir}/update-alternatives --remove llvm-config %{_bindir}/llvm-config-%{__isa_bits}
b5061d4
fi
b5061d4
b5061d4
%endif
b5061d4
b5061d4
%files
ef262a0
%license LICENSE.TXT
b5061d4
%{_bindir}/*
b5061d4
%{_mandir}/man1/*.1.*
b5061d4
%if !0%{?compat_build}
b5061d4
%{llvm_bindir}
b5061d4
%exclude %{_bindir}/llvm-config-%{__isa_bits}
b5061d4
%exclude %{_mandir}/man1/llvm-config.1.*
b5061d4
%{_datadir}/opt-viewer
b5061d4
%exclude %{llvm_bindir}/unittests
b5061d4
%else
b5061d4
%exclude %{pkg_bindir}/llvm-config
b5061d4
%{pkg_bindir}
b5061d4
%endif
b5061d4
b5061d4
%files libs
ef262a0
%license LICENSE.TXT
b5061d4
%{pkg_libdir}/libLLVM-%{maj_ver}.so
b5061d4
%if !0%{?compat_build}
b5061d4
%{_libdir}/BugpointPasses.so
b5061d4
%{_libdir}/LLVMHello.so
b5061d4
%if %{with gold}
b5061d4
%{_libdir}/LLVMgold.so
b5061d4
%endif
b5061d4
%{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
b5061d4
%{_libdir}/libLTO.so*
b5061d4
%else
b5061d4
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
b5061d4
%{pkg_libdir}/BugpointPasses.so
b5061d4
%{pkg_libdir}/LLVMHello.so
b5061d4
%if %{with gold}
b5061d4
%{_libdir}/%{name}/lib/LLVMgold.so
b5061d4
%endif
b5061d4
%{pkg_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
b5061d4
%{pkg_libdir}/libLTO.so*
b5061d4
%exclude %{pkg_libdir}/libLTO.so
b5061d4
%endif
b5061d4
b5061d4
%files devel
b5061d4
%if !0%{?compat_build}
b5061d4
%{_bindir}/llvm-config-%{__isa_bits}
b5061d4
%{_mandir}/man1/llvm-config.1.*
b5061d4
%{_includedir}/llvm
b5061d4
%{_includedir}/llvm-c
b5061d4
%{_libdir}/libLLVM.so
b5061d4
%{_libdir}/cmake/llvm
b5061d4
%exclude %{_libdir}/cmake/llvm/LLVMStaticExports.cmake
b5061d4
%else
b5061d4
%{_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
b5061d4
%{_bindir}/llvm-config%{short_exec_suffix}-%{__isa_bits}
b5061d4
%{pkg_bindir}/llvm-config
b5061d4
%{_mandir}/man1/llvm-config%{exec_suffix}.1.gz
b5061d4
%{_mandir}/man1/llvm-config%{short_exec_suffix}.1.gz
b5061d4
%{install_includedir}/llvm
b5061d4
%{install_includedir}/llvm-c
b5061d4
%{pkg_includedir}/llvm
b5061d4
%{pkg_includedir}/llvm-c
b5061d4
%{pkg_libdir}/libLTO.so
b5061d4
%{pkg_libdir}/libLLVM.so
b5061d4
%{pkg_libdir}/cmake/llvm
b5061d4
%endif
b5061d4
b5061d4
%files doc
b5061d4
%doc %{_pkgdocdir}/html
b5061d4
b5061d4
%files static
b5061d4
%if !0%{?compat_build}
b5061d4
%{_libdir}/*.a
b5061d4
%exclude %{_libdir}/libLLVMTestingSupport.a
b5061d4
%{_libdir}/cmake/llvm/LLVMStaticExports.cmake
b5061d4
%else
b5061d4
%{_libdir}/%{name}/lib/*.a
b5061d4
%endif
b5061d4
b5061d4
%if !0%{?compat_build}
b5061d4
b5061d4
%files test
b5061d4
%{_libexecdir}/tests/llvm/
b5061d4
%{llvm_bindir}/unittests/
b5061d4
%{_datadir}/llvm/src/test.tar.gz
b5061d4
%{llvm_bindir}/yaml-bench
b5061d4
%{llvm_bindir}/lli-child-target
b5061d4
%{llvm_bindir}/llvm-isel-fuzzer
b5061d4
%{llvm_bindir}/llvm-opt-fuzzer
b5061d4
b5061d4
%files googletest
b5061d4
%{_datadir}/llvm/src/utils
b5061d4
%{_libdir}/libLLVMTestingSupport.a
b5061d4
b5061d4
%endif
b5061d4
b5061d4
%changelog
1371b69
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-7.8
1371b69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
1371b69
f37ca80
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-7.7
f37ca80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
f37ca80
befdbdc
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-7.6
befdbdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
befdbdc
2426fa5
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-7.5
2426fa5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2426fa5
04d46eb
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 7.0.1-7.4
04d46eb
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
04d46eb
f96472a
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-7.3
f96472a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
f96472a
7548eb7
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 7.0.1-7.2
7548eb7
- Rebuilt for removed libstdc++ symbol (#1937698)
7548eb7
f97850f
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-7.1
f97850f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f97850f
dabe6f1
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-6.2
dabe6f1
- Second attempt - Rebuilt for
dabe6f1
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
dabe6f1
3106cf9
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-6.1
3106cf9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3106cf9
8bdf449
* Tue Jun  2 2020 Jens Petersen <petersen@redhat.com> - 7.0.1-6
8bdf449
- unretire package
8bdf449
b5061d4
* Sat Feb 15 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 7.0.1-5
b5061d4
- Install *-7 symlink to *-7.0 binaries, rhbz#1733421
b5061d4
b5061d4
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-4.2
b5061d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b5061d4
b5061d4
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-4.1
b5061d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b5061d4
b5061d4
* Tue Feb 26 2019 sguelton@redhat.com - 7.0.1-4
b5061d4
- Install ld.so.config file with -lib package
b5061d4
b5061d4
* Mon Feb 18 2019 sguelton@redhat.com - 7.0.1-3
b5061d4
- Sync specfile with llvm7.0 package
b5061d4
b5061d4
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2.1
b5061d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b5061d4
b5061d4
* Mon Jan 21 2019 Josh Stone <jistone@redhat.com> - 7.0.1-2
b5061d4
- Fix discriminators in metadata, rhbz#1668033
b5061d4
b5061d4
* Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1
b5061d4
- 7.0.1 release
b5061d4
b5061d4
* Tue Dec 04 2018 sguelton@redhat.com - 7.0.0-5
b5061d4
- Ensure rpmlint passes on specfile
b5061d4
b5061d4
* Sat Nov 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-4
b5061d4
- Install testing libraries for unittests
b5061d4
b5061d4
* Sat Oct 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-3
b5061d4
- Fix running unittests as not-root user
b5061d4
b5061d4
* Thu Sep 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-2
b5061d4
- Fixes for llvm-test package:
b5061d4
- Add some missing Requires
b5061d4
- Add --threads option to run-lit-tests script
b5061d4
- Set PATH so lit can find tools like count, not, etc.
b5061d4
- Don't hardcode tools directory to /usr/lib64/llvm
b5061d4
- Fix typo in yaml-bench define
b5061d4
- Only print information about failing tests
b5061d4
b5061d4
* Fri Sep 21 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-1
b5061d4
- 7.0.0 Release
b5061d4
b5061d4
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.15.rc3
b5061d4
- Disable rpath on install LLVM and related sub-projects
b5061d4
b5061d4
* Wed Sep 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.14.rc3
b5061d4
- Remove rpath from executables and libraries
b5061d4
b5061d4
* Tue Sep 11 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.13.rc3
b5061d4
- Re-enable arm and aarch64 targets on x86_64
b5061d4
b5061d4
* Mon Sep 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.12.rc3
b5061d4
- 7.0.0-rc3 Release
b5061d4
b5061d4
* Fri Sep 07 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.11.rc2
b5061d4
- Use python3 shebang for opt-viewewr scripts
b5061d4
b5061d4
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.10.rc2
b5061d4
- Drop all uses of python2 from lit tests
b5061d4
b5061d4
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.9.rc2
b5061d4
- Build the gold plugin on all supported architectures
b5061d4
b5061d4
* Wed Aug 29 2018 Kevin Fenzi <kevin@scrye.com> - 7.0.0-0.8.rc2
b5061d4
- Re-enable debuginfo to avoid 25x size increase.
b5061d4
b5061d4
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.7.rc2
b5061d4
- 7.0.0-rc2 Release
b5061d4
b5061d4
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.6.rc1
b5061d4
- Guard valgrind usage with valgrind_arches macro
b5061d4
b5061d4
* Thu Aug 23 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.5.rc1
b5061d4
- Package lit tests and googletest sources.
b5061d4
b5061d4
* Mon Aug 20 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.4.rc1
b5061d4
- Re-enable AMDGPU target on ARM rhbz#1618922
b5061d4
b5061d4
* Mon Aug 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.3.rc1
b5061d4
- Drop references to TestPlugin.so from cmake files
b5061d4
b5061d4
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.2.rc1
b5061d4
- Fixes for lit tests
b5061d4
b5061d4
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.1.rc1
b5061d4
- 7.0.0-rc1 Release
b5061d4
- Reduce number of enabled targets on all arches.
b5061d4
- Drop s390 detection patch, LLVM does not support s390 codegen.
b5061d4
b5061d4
* Mon Aug 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-6
b5061d4
- Backport some fixes needed by mesa and rust
b5061d4
b5061d4
* Thu Jul 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-5
b5061d4
- Move libLLVM-6.0.so to llvm6.0-libs.
b5061d4
b5061d4
* Mon Jul 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-4
b5061d4
- Rebuild because debuginfo stripping failed with the previous build
b5061d4
b5061d4
* Fri Jul 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
b5061d4
- Sync specfile with llvm6.0 package
b5061d4
b5061d4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
b5061d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b5061d4
b5061d4
* Mon Jun 25 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
b5061d4
- 6.0.1 Release
b5061d4
b5061d4
* Thu Jun 07 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.4.rc2
b5061d4
- 6.0.1-rc2
b5061d4
b5061d4
* Wed Jun 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.3.rc1
b5061d4
- Re-enable all targets to avoid breaking the ABI.
b5061d4
b5061d4
* Mon Jun 04 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.2.rc1
b5061d4
- Reduce the number of enabled targets based on the architecture
b5061d4
b5061d4
* Thu May 10 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.1.rc1
b5061d4
- 6.0.1 rc1
b5061d4
b5061d4
* Tue Mar 27 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-11
b5061d4
- Re-enable arm tests that used to hang
b5061d4
b5061d4
* Thu Mar 22 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-10
b5061d4
- Fix testcase in backported patch
b5061d4
b5061d4
* Tue Mar 20 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-9
b5061d4
- Prevent external projects from linking against both static and shared
b5061d4
  libraries.  rhbz#1558657
b5061d4
b5061d4
* Mon Mar 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-8
b5061d4
- Backport r327651 from trunk rhbz#1554349
b5061d4
b5061d4
* Fri Mar 16 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-7
b5061d4
- Filter out cxxflags and cflags from llvm-config that aren't supported by clang
b5061d4
- rhbz#1556980
b5061d4
b5061d4
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-6
b5061d4
- Enable symbol versioning in libLLVM.so
b5061d4
b5061d4
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-5
b5061d4
- Stop statically linking libstdc++.  This is no longer required by Steam
b5061d4
  client, but the steam installer still needs a work-around which should
b5061d4
  be handled in the steam package.
b5061d4
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-4
b5061d4
- s/make check/ninja check/
b5061d4
b5061d4
* Fri Mar 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-3
b5061d4
- Backport fix for compile time regression on rust rhbz#1552915
b5061d4
b5061d4
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-2
b5061d4
- Build with Ninja: This reduces RPM build time on a 6-core x86_64 builder
b5061d4
  from 82 min to 52 min.
b5061d4
b5061d4
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-1
b5061d4
- 6.0.0 Release
b5061d4
b5061d4
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.5.rc2
b5061d4
- Reduce debuginfo size on i686 to avoid OOM errors during linking
b5061d4
b5061d4
* Fri Feb 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.4.rc2
b5061d4
- 6.0.1 rc2
b5061d4
b5061d4
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-0.3.rc1
b5061d4
- Escape macros in %%changelog
b5061d4
b5061d4
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-0.2.rc1
b5061d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b5061d4
b5061d4
* Fri Jan 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
b5061d4
- 6.0.1 rc1
b5061d4
b5061d4
* Tue Dec 19 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
b5061d4
- 5.0.1 Release
b5061d4
b5061d4
* Mon Nov 20 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-5
b5061d4
- Backport debuginfo fix for rust
b5061d4
b5061d4
* Fri Nov 03 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-4
b5061d4
- Reduce debuginfo size for ARM
b5061d4
b5061d4
* Tue Oct 10 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-2
b5061d4
- Reduce memory usage on ARM by disabling debuginfo and some non-ARM targets.
b5061d4
b5061d4
* Mon Sep 25 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-1
b5061d4
- 5.0.0 Release
b5061d4
b5061d4
* Mon Sep 18 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-6
b5061d4
- Add Requires: libedit-devel for llvm-devel
b5061d4
b5061d4
* Fri Sep 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-5
b5061d4
- Enable libedit backend for LineEditor API
b5061d4
b5061d4
* Fri Aug 25 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-4
b5061d4
- Enable extra functionality when run the LLVM JIT under valgrind.
b5061d4
b5061d4
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
b5061d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b5061d4
b5061d4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
b5061d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b5061d4
b5061d4
* Wed Jun 21 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
b5061d4
- 4.0.1 Release
b5061d4
b5061d4
* Thu Jun 15 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-6
b5061d4
- Install llvm utils
b5061d4
b5061d4
* Thu Jun 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-5
b5061d4
- Fix docs-llvm-man target
b5061d4
b5061d4
* Mon May 01 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
b5061d4
- Make cmake files no longer depend on static libs (rhbz 1388200)
b5061d4
b5061d4
* Tue Apr 18 2017 Josh Stone <jistone@redhat.com> - 4.0.0-3
b5061d4
- Fix computeKnownBits for ARMISD::CMOV (rust-lang/llvm#67)
b5061d4
b5061d4
* Mon Apr 03 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
b5061d4
- Simplify spec with rpm macros.
b5061d4
b5061d4
* Thu Mar 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
b5061d4
- LLVM 4.0.0 Final Release
b5061d4
b5061d4
* Wed Mar 22 2017 tstellar@redhat.com - 3.9.1-6
b5061d4
- Fix %%postun sep for -devel package.
b5061d4
b5061d4
* Mon Mar 13 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-5
b5061d4
- Disable failing tests on ARM.
b5061d4
b5061d4
* Sun Mar 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 3.9.1-4
b5061d4
- Fix missing mask on relocation for aarch64 (rhbz 1429050)
b5061d4
b5061d4
* Wed Mar 01 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-3
b5061d4
- revert upstream radeonsi breaking change.
b5061d4
b5061d4
* Thu Feb 23 2017 Josh Stone <jistone@redhat.com> - 3.9.1-2
b5061d4
- disable sphinx warnings-as-errors
b5061d4
b5061d4
* Fri Feb 10 2017 Orion Poplawski <orion@cora.nwra.com> - 3.9.1-1
b5061d4
- llvm 3.9.1
b5061d4
b5061d4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-8
b5061d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b5061d4
b5061d4
* Tue Nov 29 2016 Josh Stone <jistone@redhat.com> - 3.9.0-7
b5061d4
- Apply backports from rust-lang/llvm#55, #57
b5061d4
b5061d4
* Tue Nov 01 2016 Dave Airlie 
b5061d4
- rebuild for new arches
b5061d4
b5061d4
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-5
b5061d4
- apply the patch from -4
b5061d4
b5061d4
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-4
b5061d4
- add fix for lldb out-of-tree build
b5061d4
b5061d4
* Mon Oct 17 2016 Josh Stone <jistone@redhat.com> - 3.9.0-3
b5061d4
- Apply backports from rust-lang/llvm#47, #48, #53, #54
b5061d4
b5061d4
* Sat Oct 15 2016 Josh Stone <jistone@redhat.com> - 3.9.0-2
b5061d4
- Apply an InstCombine backport via rust-lang/llvm#51
b5061d4
b5061d4
* Wed Sep 07 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-1
b5061d4
- llvm 3.9.0
b5061d4
- upstream moved where cmake files are packaged.
b5061d4
- upstream dropped CppBackend
b5061d4
b5061d4
* Wed Jul 13 2016 Adam Jackson <ajax@redhat.com> - 3.8.1-1
b5061d4
- llvm 3.8.1
b5061d4
- Add mips target
b5061d4
- Fix some shared library mispackaging
b5061d4
b5061d4
* Tue Jun 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> - 3.8.0-2
b5061d4
- fix color support detection on terminal
b5061d4
b5061d4
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 3.8.0-1
b5061d4
- llvm 3.8.0 release
b5061d4
b5061d4
* Wed Mar 09 2016 Dan Horák <dan[at][danny.cz> 3.8.0-0.3
b5061d4
- install back memory consumption workaround for s390
b5061d4
b5061d4
* Thu Mar 03 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.2
b5061d4
- llvm 3.8.0 rc3 release
b5061d4
b5061d4
* Fri Feb 19 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.1
b5061d4
- llvm 3.8.0 rc2 release
b5061d4
b5061d4
* Tue Feb 16 2016 Dan Horák <dan[at][danny.cz> 3.7.1-7
b5061d4
- recognize s390 as SystemZ when configuring build
b5061d4
b5061d4
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-6
b5061d4
- export C++ API for mesa.
b5061d4
b5061d4
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-5
b5061d4
- reintroduce llvm-static, clang needs it currently.
b5061d4
b5061d4
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
b5061d4
- jump back to single llvm library, the split libs aren't working very well.
b5061d4
b5061d4
* Fri Feb 05 2016 Dave Airlie <airlied@redhat.com> 3.7.1-3
b5061d4
- add missing obsoletes (#1303497)
b5061d4
b5061d4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
b5061d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b5061d4
b5061d4
* Thu Jan 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.1-1
b5061d4
- new upstream release
b5061d4
- enable gold linker
b5061d4
b5061d4
* Wed Nov 04 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
b5061d4
- fix Requires for subpackages on the main package
b5061d4
b5061d4
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
b5061d4
- initial version using cmake build system