884faf
# We are building with clang for faster/lower memory LTO builds.
884faf
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_macros
884faf
%global toolchain clang
884faf
28ce86
# Components enabled if supported by target architecture:
28ce86
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x
28ce86
%ifarch %{gold_arches}
28ce86
  %bcond_without gold
28ce86
%else
28ce86
  %bcond_with gold
28ce86
%endif
28ce86
28ce86
%bcond_with compat_build
28ce86
%bcond_with bundle_compat_lib
28ce86
%bcond_without check
28ce86
28ce86
%if %{with bundle_compat_lib}
623651
%global compat_maj_ver 14
623651
%global compat_ver %{compat_maj_ver}.0.6
28ce86
%endif
28ce86
28ce86
%global llvm_libdir %{_libdir}/%{name}
28ce86
%global build_llvm_libdir %{buildroot}%{llvm_libdir}
623651
#global rc_ver 3
623651
%global maj_ver 15
28ce86
%global min_ver 0
623651
%global patch_ver 7
28ce86
%global llvm_srcdir llvm-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src
623651
%global cmake_srcdir cmake-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src
28ce86
28ce86
%if %{with compat_build}
28ce86
%global pkg_name llvm%{maj_ver}
28ce86
%global exec_suffix -%{maj_ver}
28ce86
%global install_prefix %{_libdir}/%{name}
28ce86
%global install_bindir %{install_prefix}/bin
28ce86
%global install_includedir %{install_prefix}/include
28ce86
%global install_libdir %{install_prefix}/lib
28ce86
28ce86
%global pkg_bindir %{install_bindir}
28ce86
%global pkg_includedir %{_includedir}/%{name}
28ce86
%global pkg_libdir %{install_libdir}
28ce86
%else
28ce86
%global pkg_name llvm
28ce86
%global install_prefix /usr
28ce86
%global install_libdir %{_libdir}
28ce86
%global pkg_bindir %{_bindir}
28ce86
%global pkg_libdir %{install_libdir}
28ce86
%global exec_suffix %{nil}
28ce86
%endif
28ce86
28ce86
%if 0%{?rhel}
28ce86
%global targets_to_build "X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;ARM;Mips;BPF;WebAssembly"
28ce86
%global experimental_targets_to_build ""
28ce86
%else
28ce86
%global targets_to_build "all"
28ce86
%global experimental_targets_to_build "AVR"
28ce86
%endif
28ce86
28ce86
%global build_install_prefix %{buildroot}%{install_prefix}
28ce86
28ce86
# Lower memory usage of dwz on s390x
28ce86
%global _dwz_low_mem_die_limit_s390x 1
28ce86
%global _dwz_max_die_limit_s390x 1000000
28ce86
884faf
%ifarch %{arm}
884faf
# koji overrides the _gnu variable to be gnu, which is not correct for clang, so
884faf
# we need to hard-code the correct triple here.
884faf
%global llvm_triple armv7l-redhat-linux-gnueabihf
884faf
%else
884faf
%global llvm_triple %{_host}
884faf
%endif
884faf
623651
# https://fedoraproject.org/wiki/Changes/PythonSafePath#Opting_out
623651
# Don't add -P to Python shebangs
623651
# The executable Python scripts in /usr/share/opt-viewer/ import each other
623651
%undefine _py3_shebang_P
623651
28ce86
Name:		%{pkg_name}
28ce86
Version:	%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
28ce86
Release:	1%{?dist}
28ce86
Summary:	The Low Level Virtual Machine
28ce86
28ce86
License:	NCSA
28ce86
URL:		http://llvm.org
28ce86
Source0:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz
28ce86
Source1:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz.sig
623651
Source2:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz
623651
Source3:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz.sig
623651
Source4:	release-keys.asc
28ce86
28ce86
%if %{without compat_build}
623651
Source5:	run-lit-tests
623651
Source6:	lit.fedora.cfg.py
28ce86
%endif
28ce86
%if %{with bundle_compat_lib}
623651
Source7:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compat_ver}/llvm-%{compat_ver}.src.tar.xz
623651
Source8:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compat_ver}/llvm-%{compat_ver}.src.tar.xz.sig
623651
Source9:	tstellar-gpg-key.asc
28ce86
%endif
28ce86
623651
Patch2:		0003-XFAIL-missing-abstract-variable.ll-test-on-ppc64le.patch
623651
623651
# Needed to export clang-tblgen during the clang build, needed by the flang docs build.
623651
# TODO: Can be dropped for LLVM 16, see https://reviews.llvm.org/D131282.
623651
Patch3:		0001-Install-clang-tblgen.patch
28ce86
28ce86
# RHEL-specific patches
28ce86
Patch101:	0001-Deactivate-markdown-doc.patch
884faf
#Patch102: 	1.patch
28ce86
28ce86
BuildRequires:	gcc
28ce86
BuildRequires:	gcc-c++
884faf
BuildRequires:	clang
28ce86
BuildRequires:	cmake
28ce86
BuildRequires:	ninja-build
28ce86
BuildRequires:	zlib-devel
28ce86
BuildRequires:	libffi-devel
28ce86
BuildRequires:	ncurses-devel
28ce86
BuildRequires:	python3-psutil
28ce86
BuildRequires:	python3-sphinx
28ce86
%if !0%{?rhel}
28ce86
BuildRequires:	python3-recommonmark
28ce86
%endif
28ce86
BuildRequires:	multilib-rpm-config
28ce86
%if %{with gold}
28ce86
BuildRequires:	binutils-devel
28ce86
%endif
28ce86
%ifarch %{valgrind_arches}
28ce86
# Enable extra functionality when run the LLVM JIT under valgrind.
28ce86
BuildRequires:	valgrind-devel
28ce86
%endif
28ce86
# LLVM's LineEditor library will use libedit if it is available.
28ce86
BuildRequires:	libedit-devel
28ce86
# We need python3-devel for %%py3_shebang_fix
28ce86
BuildRequires:	python3-devel
28ce86
BuildRequires:	python3-setuptools
28ce86
28ce86
# For origin certification
28ce86
BuildRequires:	gnupg2
28ce86
28ce86
28ce86
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
28ce86
28ce86
Provides:	llvm(major) = %{maj_ver}
28ce86
28ce86
%description
28ce86
LLVM is a compiler infrastructure designed for compile-time, link-time,
28ce86
runtime, and idle-time optimization of programs from arbitrary programming
28ce86
languages. The compiler infrastructure includes mirror sets of programming
28ce86
tools as well as libraries with equivalent functionality.
28ce86
28ce86
%package devel
28ce86
Summary:	Libraries and header files for LLVM
28ce86
Requires:	%{name}%{?_isa} = %{version}-%{release}
28ce86
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
28ce86
# The installed LLVM cmake files will add -ledit to the linker flags for any
28ce86
# app that requires the libLLVMLineEditor, so we need to make sure
28ce86
# libedit-devel is available.
28ce86
Requires:	libedit-devel
28ce86
# The installed cmake files reference binaries from llvm-test and llvm-static.
28ce86
# We tried in the past to split the cmake exports for these binaries out into
28ce86
# separate files, so that llvm-devel would not need to Require these packages,
28ce86
# but this caused bugs (rhbz#1773678) and forced us to carry two non-upstream
28ce86
# patches.
28ce86
Requires:	%{name}-static%{?_isa} = %{version}-%{release}
28ce86
%if %{without compat_build}
28ce86
Requires:	%{name}-test%{?_isa} = %{version}-%{release}
28ce86
%endif
28ce86
28ce86
28ce86
Requires(post):	%{_sbindir}/alternatives
28ce86
Requires(postun):	%{_sbindir}/alternatives
28ce86
28ce86
Provides:	llvm-devel(major) = %{maj_ver}
28ce86
28ce86
%description devel
28ce86
This package contains library and header files needed to develop new native
28ce86
programs that use the LLVM infrastructure.
28ce86
28ce86
%package doc
28ce86
Summary:	Documentation for LLVM
28ce86
BuildArch:	noarch
28ce86
Requires:	%{name} = %{version}-%{release}
28ce86
28ce86
%description doc
28ce86
Documentation for the LLVM compiler infrastructure.
28ce86
28ce86
%package libs
28ce86
Summary:	LLVM shared libraries
28ce86
28ce86
%description libs
28ce86
Shared libraries for the LLVM compiler infrastructure.
28ce86
28ce86
%package static
28ce86
Summary:	LLVM static libraries
28ce86
Conflicts:	%{name}-devel < 8
28ce86
28ce86
Provides:	llvm-static(major) = %{maj_ver}
28ce86
28ce86
%description static
28ce86
Static libraries for the LLVM compiler infrastructure.
28ce86
28ce86
%if %{without compat_build}
28ce86
28ce86
%package test
28ce86
Summary:	LLVM regression tests
28ce86
Requires:	%{name}%{?_isa} = %{version}-%{release}
28ce86
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
28ce86
28ce86
Provides:	llvm-test(major) = %{maj_ver}
28ce86
28ce86
%description test
28ce86
LLVM regression tests.
28ce86
28ce86
%package googletest
28ce86
Summary: LLVM's modified googletest sources
28ce86
28ce86
%description googletest
28ce86
LLVM's modified googletest sources.
28ce86
623651
%package toolset
623651
Summary: 	Package that installs llvm-toolset
623651
Requires:	clang = %{version}
623651
Requires:	llvm = %{version}
623651
623651
%ifnarch s390x
623651
Requires:	lld = %{version}
623651
%endif
623651
623651
%description toolset
623651
This is the main package for llvm-toolset.
623651
28ce86
%endif
28ce86
28ce86
%prep
623651
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
623651
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE3}' --data='%{SOURCE2}'
623651
%if %{with bundle_compat_lib}
623651
%{gpgverify} --keyring='%{SOURCE9}' --signature='%{SOURCE8}' --data='%{SOURCE7}'
623651
%endif
623651
623651
%setup -T -q -b 2 -n %{cmake_srcdir}
623651
# TODO: It would be more elegant to set -DLLVM_COMMON_CMAKE_UTILS=%{_builddir}/%{cmake_srcdir},
623651
# but this is not a CACHED variable, so we can't actually set it externally :(
623651
cd ..
623651
mv %{cmake_srcdir} cmake
28ce86
28ce86
%if %{with bundle_compat_lib}
623651
%setup -T -q -b 7 -n llvm-%{compat_ver}.src
28ce86
%endif
28ce86
28ce86
%autosetup -n %{llvm_srcdir} -p2
28ce86
28ce86
%py3_shebang_fix \
28ce86
	test/BugPoint/compile-custom.ll.py \
28ce86
	tools/opt-viewer/*.py \
28ce86
	utils/update_cc_test_checks.py
28ce86
28ce86
%build
28ce86
884faf
#ifarch s390 s390x
884faf
# Fails with "exceeded PCRE's backtracking limit"
884faf
%global _lto_cflags %nil
884faf
#else
884faf
#global _lto_cflags -flto=thin
884faf
#endif
28ce86
28ce86
%ifarch s390 s390x %{arm} %ix86
28ce86
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
28ce86
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
28ce86
%endif
28ce86
623651
# Copy CFLAGS into ASMFLAGS, so -fcf-protection is used when compiling assembly files.
623651
export ASMFLAGS=$CFLAGS
623651
28ce86
# force off shared libs as cmake macros turns it on.
884faf
%cmake	-G Ninja \
28ce86
	-DBUILD_SHARED_LIBS:BOOL=OFF \
28ce86
	-DLLVM_PARALLEL_LINK_JOBS=1 \
28ce86
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
28ce86
	-DCMAKE_SKIP_RPATH:BOOL=ON \
28ce86
%ifarch s390 %{arm} %ix86
28ce86
	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
28ce86
	-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
28ce86
%endif
28ce86
%if %{without compat_build}
28ce86
%if 0%{?__isa_bits} == 64
28ce86
	-DLLVM_LIBDIR_SUFFIX=64 \
28ce86
%else
28ce86
	-DLLVM_LIBDIR_SUFFIX= \
28ce86
%endif
28ce86
%endif
28ce86
	\
28ce86
	-DLLVM_TARGETS_TO_BUILD=%{targets_to_build} \
28ce86
	-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
28ce86
	-DLLVM_ENABLE_ZLIB:BOOL=ON \
28ce86
	-DLLVM_ENABLE_FFI:BOOL=ON \
28ce86
	-DLLVM_ENABLE_RTTI:BOOL=ON \
28ce86
	-DLLVM_USE_PERF:BOOL=ON \
28ce86
%if %{with gold}
28ce86
	-DLLVM_BINUTILS_INCDIR=%{_includedir} \
28ce86
%endif
28ce86
	-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{experimental_targets_to_build} \
28ce86
	\
28ce86
	-DLLVM_BUILD_RUNTIME:BOOL=ON \
28ce86
	\
28ce86
	-DLLVM_INCLUDE_TOOLS:BOOL=ON \
28ce86
	-DLLVM_BUILD_TOOLS:BOOL=ON \
28ce86
	\
28ce86
	-DLLVM_INCLUDE_TESTS:BOOL=ON \
28ce86
	-DLLVM_BUILD_TESTS:BOOL=ON \
884faf
	-DLLVM_LIT_ARGS=-v \
28ce86
	\
28ce86
	-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \
28ce86
	-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
28ce86
	\
28ce86
	-DLLVM_INCLUDE_UTILS:BOOL=ON \
28ce86
%if %{with compat_build}
28ce86
	-DLLVM_INSTALL_UTILS:BOOL=OFF \
28ce86
%else
28ce86
	-DLLVM_INSTALL_UTILS:BOOL=ON \
28ce86
	-DLLVM_UTILS_INSTALL_DIR:PATH=%{_bindir} \
28ce86
	-DLLVM_TOOLS_INSTALL_DIR:PATH=bin \
28ce86
%endif
28ce86
	\
28ce86
	-DLLVM_INCLUDE_DOCS:BOOL=ON \
28ce86
	-DLLVM_BUILD_DOCS:BOOL=ON \
28ce86
	-DLLVM_ENABLE_SPHINX:BOOL=ON \
28ce86
	-DLLVM_ENABLE_DOXYGEN:BOOL=OFF \
28ce86
	\
28ce86
%if %{without compat_build}
28ce86
	-DLLVM_VERSION_SUFFIX='' \
28ce86
%endif
28ce86
	-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
28ce86
	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
28ce86
	-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
28ce86
	-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \
28ce86
	\
884faf
	-DLLVM_DEFAULT_TARGET_TRIPLE=%{llvm_triple} \
28ce86
	-DSPHINX_WARNINGS_AS_ERRORS=OFF \
28ce86
	-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
28ce86
	-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
884faf
	-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3 \
884faf
	-DLLVM_INCLUDE_BENCHMARKS=OFF
28ce86
28ce86
# Build libLLVM.so first.  This ensures that when libLLVM.so is linking, there
28ce86
# are no other compile jobs running.  This will help reduce OOM errors on the
28ce86
# builders without having to artificially limit the number of concurrent jobs.
28ce86
%cmake_build --target LLVM
28ce86
%cmake_build
28ce86
28ce86
%if %{with bundle_compat_lib}
28ce86
28ce86
%cmake -S ../llvm-%{compat_ver}.src -B ../llvm-compat-libs -G Ninja \
28ce86
	-DCMAKE_INSTALL_PREFIX=%{buildroot}%{_libdir}/llvm%{compat_maj_ver}/ \
28ce86
	-DCMAKE_SKIP_RPATH:BOOL=ON \
28ce86
	-DCMAKE_BUILD_TYPE=Release \
28ce86
	-DBUILD_SHARED_LIBS:BOOL=OFF \
28ce86
	-DLLVM_BUILD_LLVM_DYLIB=ON \
28ce86
	-DLLVM_ENABLE_RTTI:BOOL=ON \
623651
	-DLLVM_TARGETS_TO_BUILD=%{targets_to_build} \
623651
	-DLLVM_INCLUDE_BENCHMARKS=OFF
28ce86
28ce86
%ninja_build -C ../llvm-compat-libs LLVM
28ce86
28ce86
%endif
28ce86
28ce86
%install
28ce86
%cmake_install
28ce86
28ce86
%if %{with bundle_compat_lib}
28ce86
install -m 0755 ../llvm-compat-libs/lib/libLLVM-%{compat_maj_ver}.so %{buildroot}%{_libdir}
28ce86
%ninja_build -C ../llvm-compat-libs install-llvm-headers install-llvm-config
28ce86
# Delete build files to save disk space
28ce86
rm -Rf ../llvm-compat-libs
28ce86
%endif
28ce86
28ce86
mkdir -p %{buildroot}/%{_bindir}
28ce86
28ce86
%if %{without compat_build}
28ce86
28ce86
# Fix some man pages
28ce86
ln -s llvm-config.1 %{buildroot}%{_mandir}/man1/llvm-config%{exec_suffix}-%{__isa_bits}.1
28ce86
28ce86
# Install binaries needed for lit tests
28ce86
%global test_binaries llvm-isel-fuzzer llvm-opt-fuzzer
28ce86
28ce86
for f in %{test_binaries}
28ce86
do
28ce86
    install -m 0755 %{_vpath_builddir}/bin/$f %{buildroot}%{_bindir}
28ce86
done
28ce86
28ce86
# Remove testing of update utility tools
28ce86
rm -rf test/tools/UpdateTestChecks
28ce86
28ce86
%multilib_fix_c_header --file %{_includedir}/llvm/Config/llvm-config.h
28ce86
28ce86
# Install libraries needed for unittests
28ce86
%if 0%{?__isa_bits} == 64
28ce86
%global build_libdir %{_vpath_builddir}/lib64
28ce86
%else
28ce86
%global build_libdir %{_vpath_builddir}/lib
28ce86
%endif
28ce86
28ce86
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{_libdir}
28ce86
28ce86
%global install_srcdir %{buildroot}%{_datadir}/llvm/src
28ce86
28ce86
# Install gtest sources so clang can use them for gtest
28ce86
install -d %{install_srcdir}
28ce86
install -d %{install_srcdir}/utils/
28ce86
cp -R utils/unittest %{install_srcdir}/utils/
28ce86
28ce86
# Clang needs these for running lit tests.
28ce86
cp utils/update_cc_test_checks.py %{install_srcdir}/utils/
28ce86
cp -R utils/UpdateTestChecks %{install_srcdir}/utils/
28ce86
28ce86
%if %{with gold}
28ce86
# Add symlink to lto plugin in the binutils plugin directory.
28ce86
%{__mkdir_p} %{buildroot}%{_libdir}/bfd-plugins/
884faf
ln -s -t %{buildroot}%{_libdir}/bfd-plugins/ ../LLVMgold.so
28ce86
%endif
28ce86
28ce86
%else
28ce86
28ce86
# Add version suffix to binaries
28ce86
for f in %{buildroot}/%{install_bindir}/*; do
28ce86
  filename=`basename $f`
623651
  ln -s ../../%{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename%{exec_suffix}
28ce86
done
28ce86
28ce86
# Move header files
28ce86
mkdir -p %{buildroot}/%{pkg_includedir}
28ce86
ln -s ../../../%{install_includedir}/llvm %{buildroot}/%{pkg_includedir}/llvm
28ce86
ln -s ../../../%{install_includedir}/llvm-c %{buildroot}/%{pkg_includedir}/llvm-c
28ce86
28ce86
# Fix multi-lib
28ce86
%multilib_fix_c_header --file %{install_includedir}/llvm/Config/llvm-config.h
28ce86
28ce86
# Create ld.so.conf.d entry
28ce86
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
28ce86
cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf << EOF
28ce86
%{pkg_libdir}
28ce86
EOF
28ce86
28ce86
# Add version suffix to man pages and move them to mandir.
28ce86
mkdir -p %{buildroot}/%{_mandir}/man1
28ce86
for f in %{build_install_prefix}/share/man/man1/*; do
28ce86
  filename=`basename $f | cut -f 1 -d '.'`
28ce86
  mv $f %{buildroot}%{_mandir}/man1/$filename%{exec_suffix}.1
28ce86
done
28ce86
28ce86
# Remove opt-viewer, since this is just a compatibility package.
28ce86
rm -Rf %{build_install_prefix}/share/opt-viewer
28ce86
28ce86
%endif
28ce86
28ce86
# llvm-config special casing. llvm-config is managed by update-alternatives.
28ce86
# the original file must remain available for compatibility with the CMake
28ce86
# infrastructure. Without compat, cmake points to the symlink, with compat it
28ce86
# points to the original file.
28ce86
28ce86
%if %{without compat_build}
28ce86
28ce86
mv %{buildroot}/%{pkg_bindir}/llvm-config %{buildroot}/%{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
28ce86
# We still maintain a versionned symlink for consistency across llvm versions.
28ce86
# This is specific to the non-compat build and matches the exec prefix for
28ce86
# compat builds. An isa-agnostic versionned symlink is also maintained in the (un)install
28ce86
# steps.
28ce86
(cd %{buildroot}/%{pkg_bindir} ; ln -s llvm-config%{exec_suffix}-%{__isa_bits} llvm-config-%{maj_ver}-%{__isa_bits} )
28ce86
# ghost presence
28ce86
touch %{buildroot}%{_bindir}/llvm-config-%{maj_ver}
28ce86
28ce86
%else
28ce86
28ce86
rm %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
28ce86
(cd %{buildroot}/%{pkg_bindir} ; ln -s llvm-config llvm-config%{exec_suffix}-%{__isa_bits} )
28ce86
28ce86
%endif
28ce86
28ce86
# ghost presence
28ce86
touch %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
28ce86
884faf
%if %{without compat_build}
884faf
cp -Rv ../cmake/Modules/* %{buildroot}%{_libdir}/cmake/llvm
884faf
%endif
28ce86
28ce86
28ce86
%check
28ce86
# Disable check section on arm due to some kind of memory related failure.
28ce86
# Possibly related to https://bugzilla.redhat.com/show_bug.cgi?id=1920183
28ce86
%ifnarch %{arm}
28ce86
28ce86
# TODO: Fix the failures below
28ce86
%ifarch %{arm}
28ce86
rm test/tools/llvm-readobj/ELF/dependent-libraries.test
28ce86
%endif
28ce86
28ce86
# non reproducible errors
28ce86
rm test/tools/dsymutil/X86/swift-interface.test
28ce86
28ce86
%if %{with check}
28ce86
# FIXME: use %%cmake_build instead of %%__ninja
28ce86
LD_LIBRARY_PATH=%{buildroot}/%{pkg_libdir}  %{__ninja} check-all -C %{_vpath_builddir}
28ce86
%endif
28ce86
28ce86
%endif
28ce86
28ce86
%ldconfig_scriptlets libs
28ce86
28ce86
%post devel
28ce86
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config%{exec_suffix} llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits}
28ce86
%if %{without compat_build}
28ce86
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config-%{maj_ver} llvm-config-%{maj_ver} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits}
28ce86
%endif
28ce86
28ce86
%postun devel
28ce86
if [ $1 -eq 0 ]; then
28ce86
  %{_sbindir}/update-alternatives --remove llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
28ce86
%if %{without compat_build}
28ce86
  %{_sbindir}/update-alternatives --remove llvm-config-%{maj_ver} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
28ce86
%endif
28ce86
fi
28ce86
28ce86
%files
28ce86
%license LICENSE.TXT
28ce86
%exclude %{_mandir}/man1/llvm-config*
28ce86
%{_mandir}/man1/*
28ce86
%{_bindir}/*
28ce86
28ce86
%exclude %{_bindir}/llvm-config%{exec_suffix}
28ce86
%exclude %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
28ce86
28ce86
%if %{without compat_build}
28ce86
%exclude %{_bindir}/llvm-config-%{maj_ver}
28ce86
%exclude %{pkg_bindir}/llvm-config-%{maj_ver}-%{__isa_bits}
28ce86
%exclude %{_bindir}/not
28ce86
%exclude %{_bindir}/count
28ce86
%exclude %{_bindir}/yaml-bench
28ce86
%exclude %{_bindir}/lli-child-target
28ce86
%exclude %{_bindir}/llvm-isel-fuzzer
28ce86
%exclude %{_bindir}/llvm-opt-fuzzer
28ce86
%{_datadir}/opt-viewer
28ce86
%else
28ce86
%{pkg_bindir}
28ce86
%endif
28ce86
28ce86
%files libs
28ce86
%license LICENSE.TXT
28ce86
%{pkg_libdir}/libLLVM-%{maj_ver}.so
28ce86
%if %{without compat_build}
28ce86
%if %{with gold}
28ce86
%{_libdir}/LLVMgold.so
28ce86
%{_libdir}/bfd-plugins/LLVMgold.so
28ce86
%endif
28ce86
%{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
28ce86
%{_libdir}/libLTO.so*
28ce86
%else
28ce86
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
28ce86
%if %{with gold}
28ce86
%{_libdir}/%{name}/lib/LLVMgold.so
28ce86
%endif
28ce86
%{pkg_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
28ce86
%{pkg_libdir}/libLTO.so*
28ce86
%exclude %{pkg_libdir}/libLTO.so
28ce86
%endif
28ce86
%{pkg_libdir}/libRemarks.so*
28ce86
%if %{with bundle_compat_lib}
28ce86
%{_libdir}/libLLVM-%{compat_maj_ver}.so
28ce86
%endif
28ce86
28ce86
%files devel
28ce86
%license LICENSE.TXT
28ce86
28ce86
%ghost %{_bindir}/llvm-config%{exec_suffix}
28ce86
%{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
28ce86
%{_mandir}/man1/llvm-config*
28ce86
28ce86
%if %{without compat_build}
28ce86
%{_includedir}/llvm
28ce86
%{_includedir}/llvm-c
28ce86
%{_libdir}/libLLVM.so
28ce86
%{_libdir}/cmake/llvm
28ce86
%{pkg_bindir}/llvm-config-%{maj_ver}-%{__isa_bits}
28ce86
%ghost %{_bindir}/llvm-config-%{maj_ver}
28ce86
%else
28ce86
%{install_includedir}/llvm
28ce86
%{install_includedir}/llvm-c
28ce86
%{pkg_includedir}/llvm
28ce86
%{pkg_includedir}/llvm-c
28ce86
%{pkg_libdir}/libLTO.so
28ce86
%{pkg_libdir}/libLLVM.so
28ce86
%{pkg_libdir}/cmake/llvm
28ce86
%endif
28ce86
%if %{with bundle_compat_lib}
28ce86
%{_libdir}/llvm%{compat_maj_ver}/
28ce86
%endif
28ce86
28ce86
%files doc
28ce86
%license LICENSE.TXT
28ce86
%doc %{_pkgdocdir}/html
28ce86
28ce86
%files static
28ce86
%license LICENSE.TXT
28ce86
%if %{without compat_build}
28ce86
%{_libdir}/*.a
28ce86
%exclude %{_libdir}/libLLVMTestingSupport.a
28ce86
%else
28ce86
%{_libdir}/%{name}/lib/*.a
28ce86
%endif
28ce86
28ce86
%if %{without compat_build}
28ce86
28ce86
%files test
28ce86
%license LICENSE.TXT
28ce86
%{_bindir}/not
28ce86
%{_bindir}/count
28ce86
%{_bindir}/yaml-bench
28ce86
%{_bindir}/lli-child-target
28ce86
%{_bindir}/llvm-isel-fuzzer
28ce86
%{_bindir}/llvm-opt-fuzzer
28ce86
28ce86
%files googletest
28ce86
%license LICENSE.TXT
28ce86
%{_datadir}/llvm/src/utils
28ce86
%{_libdir}/libLLVMTestingSupport.a
28ce86
623651
%files toolset
623651
%license LICENSE.TXT
623651
28ce86
%endif
28ce86
28ce86
%changelog
623651
* Fri Jan 13 2023 Konrad Kleine <kkleine@redhat.com> - 15.0.7-1
623651
- Update to LLVM 15.0.7
623651
- Remove workaround for rbhz#2048440
623651
623651
* Mon Dec 05 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.6-2
623651
- Disabling LTO for now
623651
623651
* Mon Dec 05 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.6-1
623651
- Update to 15.0.6
623651
623651
* Mon Sep 26 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.1-1
623651
- Update to 15.0.1
623651
623651
* Mon Sep 26 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.0-3
623651
- Fixup: Produce toolset subpackage RPM
623651
  Related: rhbz#2118979
623651
623651
* Wed Sep 21 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.0-2
623651
- Add toolset subpackage
623651
  Related: rhbz#2118979
623651
623651
* Fri Sep 16 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.0-1
623651
- Update to 15.0.0
623651
884faf
* Mon Jul 18 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.6-1
884faf
- Update to 14.0.6
884faf
884faf
* Mon Jun 20 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-1
884faf
- Update to 14.0.5
884faf
884faf
* Fri Apr 29 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-2
884faf
- Remove llvm-cmake-devel package
884faf
884faf
* Wed Apr 13 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
884faf
- Update to 14.0.0
884faf
28ce86
* Wed Feb 02 2022 Tom Stellard <tstellar@redhat.com> - 13.0.1-1
28ce86
- 13.0.1 Release
28ce86
28ce86
* Wed Oct 06 2021 Timm Bäder <tbaeder@redhat.com> - 13.0.0-1
28ce86
- 13.0.0 Release
28ce86
28ce86
* Wed Aug 18 2021 DJ Delorie <dj@redhat.com> - 12.0.1-3
28ce86
- Rebuilt for libffi 3.4.2 SONAME transition.
28ce86
  Related: rhbz#1891914
28ce86
28ce86
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 12.0.1-2
28ce86
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
28ce86
  Related: rhbz#1991688
28ce86
28ce86
* Mon Jul 12 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1
28ce86
- 12.0.1 Release
28ce86
- Remove llvm11 compat package
28ce86
28ce86
* Wed Jul 07 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-6
28ce86
- Fix DTRACE_PROBE4() compilation failure
28ce86
28ce86
* Tue Jul 06 2021 sguelton@redhat.com - 12.0.0-5
28ce86
- backport cba2552bfec1c9d8
28ce86
28ce86
* Wed Jun 16 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-4
28ce86
- Remove pandoc dependency
28ce86
28ce86
* Sat May 01 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-3
28ce86
- Remove dependency on python3-recommonmark
28ce86
- Resolves: rhbz#1928132
28ce86
28ce86
* Fri Apr 30 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-2
28ce86
- Enable rtti for compat library
28ce86
28ce86
* Thu Apr 22 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-1
28ce86
- 12.0.0 Release
28ce86
28ce86
* Thu Apr 22 2021 sguelton@redhat.com - 12.0.0-0.10.rc4
28ce86
- Patch test case for compatibility with llvm-test latout
28ce86
28ce86
* Thu Apr 22 2021 sguelton@redhat.com - 12.0.0-0.7.rc3
28ce86
- LLVM 12.0.0 rc3
28ce86
28ce86
* Thu Apr 22 2021 Kalev Lember <klember@redhat.com> - 12.0.0-0.6.rc2
28ce86
- Add llvm-static(major) provides to the -static subpackage
28ce86
28ce86
* Thu Apr 22 2021 sguelton@redhat.com - 12.0.0-0.4.rc2
28ce86
- Change CI working dir
28ce86
28ce86
* Thu Apr 22 2021 sguelton@redhat.com - 12.0.0-0.3.rc2
28ce86
- 12.0.0-rc2 release
28ce86
28ce86
* Thu Apr 22 2021 Dave Airlie <airlied@redhat.com> - 12.0.0-0.2.rc1
28ce86
- Enable LLVM_USE_PERF to allow perf integration
28ce86
28ce86
* Thu Apr 22 2021 Serge Guelton - 12.0.0-0.1.rc1
28ce86
- 12.0.0-rc1 release
28ce86
28ce86
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 11.1.0-0.4.rc2
28ce86
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
28ce86
28ce86
* Mon Feb 01 2021 Serge Guelton - 11.1.0-0.3.rc2
28ce86
- rebuilt with some targets disabled
28ce86
28ce86
* Fri Jan 22 2021 Serge Guelton - 11.1.0-0.2.rc2
28ce86
- 11.1.0-rc2 release
28ce86
28ce86
* Thu Jan 14 2021 Serge Guelton - 11.1.0-0.1.rc1
28ce86
- 11.1.0-rc1 release
28ce86
28ce86
* Tue Jan 05 2021 Serge Guelton - 11.0.1-3.rc2
28ce86
- Waive extra test case
28ce86
28ce86
* Sun Dec 20 2020 sguelton@redhat.com - 11.0.1-2.rc2
28ce86
- 11.0.1-rc2 release
28ce86
28ce86
* Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1
28ce86
- 11.0.1-rc1 release
28ce86
28ce86
* Sat Oct 31 2020 Jeff Law <law@redhat.com> - 11.0.0-2
28ce86
- Fix missing #include for gcc-11
28ce86
28ce86
* Wed Oct 14 2020 Josh Stone <jistone@redhat.com> - 11.0.0-1
28ce86
- Fix coreos-installer test crash on s390x (rhbz#1883457)
28ce86
28ce86
* Mon Oct 12 2020 sguelton@redhat.com - 11.0.0-0.11
28ce86
- llvm 11.0.0 - final release
28ce86
28ce86
* Thu Oct 08 2020 sguelton@redhat.com - 11.0.0-0.10.rc6
28ce86
- 11.0.0-rc6
28ce86
28ce86
* Fri Oct 02 2020 sguelton@redhat.com - 11.0.0-0.9.rc5
28ce86
- 11.0.0-rc5 Release
28ce86
28ce86
* Sun Sep 27 2020 sguelton@redhat.com - 11.0.0-0.8.rc3
28ce86
- Fix NVR
28ce86
28ce86
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.2.rc3
28ce86
- Obsolete patch for rhbz#1862012
28ce86
28ce86
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.1.rc3
28ce86
- 11.0.0-rc3 Release
28ce86
28ce86
* Wed Sep 02 2020 sguelton@redhat.com - 11.0.0-0.7.rc2
28ce86
- Apply upstream patch for rhbz#1862012
28ce86
28ce86
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.6.rc2
28ce86
- Fix source location
28ce86
28ce86
* Fri Aug 21 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.5.rc2
28ce86
- 11.0.0-rc2 Release
28ce86
28ce86
* Wed Aug 19 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.4.rc1
28ce86
- Fix regression-tests CI tests
28ce86
28ce86
* Tue Aug 18 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.3.rc1
28ce86
- Fix rust crash on ppc64le compiling firefox
28ce86
- rhbz#1862012
28ce86
28ce86
* Tue Aug 11 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.2.rc1
28ce86
- Install update_cc_test_checks.py script
28ce86
28ce86
* Thu Aug 06 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1-rc1
28ce86
- LLVM 11.0.0-rc1 Release
28ce86
- Make llvm-devel require llvm-static and llvm-test
28ce86
28ce86
* Tue Aug 04 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-10
28ce86
- Backport upstream patch to fix build with -flto.
28ce86
- Disable LTO on s390x to work-around unit test failures.
28ce86
28ce86
* Sat Aug 01 2020 sguelton@redhat.com - 10.0.0-9
28ce86
- Fix update-alternative uninstall script
28ce86
28ce86
* Sat Aug 01 2020 sguelton@redhat.com - 10.0.0-8
28ce86
- Fix gpg verification and update macro usage.
28ce86
28ce86
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-7
28ce86
- Second attempt - Rebuilt for
28ce86
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
28ce86
28ce86
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-6
28ce86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
28ce86
* Thu Jun 11 2020 sguelton@redhat.com - 10.0.0-5
28ce86
- Make llvm-test.tar.gz creation reproducible.
28ce86
28ce86
* Tue Jun 02 2020 sguelton@redhat.com - 10.0.0-4
28ce86
- Instruct cmake not to generate RPATH
28ce86
28ce86
* Thu Apr 30 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-3
28ce86
- Install LLVMgold.so symlink in bfd-plugins directory
28ce86
28ce86
* Tue Apr 07 2020 sguelton@redhat.com - 10.0.0-2
28ce86
- Do not package UpdateTestChecks tests in llvm-tests
28ce86
- Apply upstream patch bab5908df to pass gating tests
28ce86
28ce86
* Wed Mar 25 2020 sguelton@redhat.com - 10.0.0-1
28ce86
- 10.0.0 final
28ce86
28ce86
* Mon Mar 23 2020 sguelton@redhat.com - 10.0.0-0.6.rc6
28ce86
- 10.0.0 rc6
28ce86
28ce86
* Thu Mar 19 2020 sguelton@redhat.com - 10.0.0-0.5.rc5
28ce86
- 10.0.0 rc5
28ce86
28ce86
* Sat Mar 14 2020 sguelton@redhat.com - 10.0.0-0.4.rc4
28ce86
- 10.0.0 rc4
28ce86
28ce86
* Thu Mar 05 2020 sguelton@redhat.com - 10.0.0-0.3.rc3
28ce86
- 10.0.0 rc3
28ce86
28ce86
* Fri Feb 28 2020 sguelton@redhat.com - 10.0.0-0.2.rc2
28ce86
- Remove *_finite support, see rhbz#1803203
28ce86
28ce86
* Fri Feb 14 2020 sguelton@redhat.com - 10.0.0-0.1.rc2
28ce86
- 10.0.0 rc2
28ce86
28ce86
* Fri Jan 31 2020 sguelton@redhat.com - 10.0.0-0.1.rc1
28ce86
- 10.0.0 rc1
28ce86
28ce86
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-5
28ce86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
28ce86
28ce86
* Tue Jan 21 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-4
28ce86
- Rebuild after previous build failed to strip binaries
28ce86
28ce86
* Fri Jan 17 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-3
28ce86
- Add explicit Requires from sub-packages to llvm-libs
28ce86
28ce86
* Fri Jan 10 2020 Tom Stellard <tstellar@redhat.com> - 9.0.1-2
28ce86
- Fix crash with kernel bpf self-tests
28ce86
28ce86
* Thu Dec 19 2019 tstellar@redhat.com - 9.0.1-1
28ce86
- 9.0.1 Release
28ce86
28ce86
* Mon Nov 25 2019 sguelton@redhat.com - 9.0.0-4
28ce86
- Activate AVR on all architectures
28ce86
28ce86
* Mon Sep 30 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-3
28ce86
- Build libLLVM.so first to avoid OOM errors
28ce86
28ce86
* Fri Sep 27 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-2
28ce86
- Remove unneeded BuildRequires: libstdc++-static
28ce86
28ce86
* Thu Sep 19 2019 sguelton@redhat.com - 9.0.0-1
28ce86
- 9.0.0 Release
28ce86
28ce86
* Wed Sep 18 2019 sguelton@redhat.com - 9.0.0-0.5.rc3
28ce86
- Support avr target, see rhbz#1718492
28ce86
28ce86
* Tue Sep 10 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.4.rc3
28ce86
- Split out test executables into their own export file
28ce86
28ce86
* Fri Sep 06 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.3.rc3
28ce86
- Fix patch for splitting out static library exports
28ce86
28ce86
* Fri Aug 30 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.2.rc3
28ce86
- 9.0.0-rc3 Release
28ce86
28ce86
* Thu Aug 01 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.1.rc2
28ce86
- 9.0.0-rc2 Release
28ce86
28ce86
* Tue Jul 30 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-9
28ce86
- Sync with llvm8.0 spec file
28ce86
28ce86
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-8.1
28ce86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
28ce86
28ce86
* Wed Jul 17 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-8
28ce86
- Add provides for the major version of sub-packages
28ce86
28ce86
* Fri May 17 2019 sguelton@redhat.com - 8.0.0-7
28ce86
- Fix conflicts between llvm-static = 8 and llvm-dev < 8 around LLVMStaticExports.cmake
28ce86
28ce86
* Wed Apr 24 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-6
28ce86
- Make sure we aren't passing -g on s390x
28ce86
28ce86
* Sat Mar 30 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-5
28ce86
- Enable build rpath while keeping install rpath disabled
28ce86
28ce86
* Wed Mar 27 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-4
28ce86
- Backport r351577 from trunk to fix ninja check failures
28ce86
28ce86
* Tue Mar 26 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-3
28ce86
- Fix ninja check
28ce86
28ce86
* Fri Mar 22 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-2
28ce86
- llvm-test fixes
28ce86
28ce86
* Wed Mar 20 2019 sguelton@redhat.com - 8.0.0-1
28ce86
- 8.0.0 final
28ce86
28ce86
* Fri Mar 15 2019 sguelton@redhat.com - 8.0.0-0.6.rc4
28ce86
- Activate all backends (rhbz#1689031)
28ce86
28ce86
* Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.5.rc4
28ce86
- 8.0.0 Release candidate 4
28ce86
28ce86
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.4.rc3
28ce86
- Move some binaries to -test package, cleanup specfile
28ce86
28ce86
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.3.rc3
28ce86
- 8.0.0 Release candidate 3
28ce86
28ce86
* Fri Feb 22 2019 sguelton@redhat.com - 8.0.0-0.2.rc2
28ce86
- 8.0.0 Release candidate 2
28ce86
28ce86
* Sat Feb 9 2019 sguelton@redhat.com - 8.0.0-0.1.rc1
28ce86
- 8.0.0 Release candidate 1
28ce86
28ce86
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2.1
28ce86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
28ce86
28ce86
* Mon Jan 21 2019 Josh Stone <jistone@redhat.com> - 7.0.1-2
28ce86
- Fix discriminators in metadata, rhbz#1668033
28ce86
28ce86
* Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1
28ce86
- 7.0.1 release
28ce86
28ce86
* Tue Dec 04 2018 sguelton@redhat.com - 7.0.0-5
28ce86
- Ensure rpmlint passes on specfile
28ce86
28ce86
* Sat Nov 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-4
28ce86
- Install testing libraries for unittests
28ce86
28ce86
* Sat Oct 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-3
28ce86
- Fix running unittests as not-root user
28ce86
28ce86
* Thu Sep 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-2
28ce86
- Fixes for llvm-test package:
28ce86
- Add some missing Requires
28ce86
- Add --threads option to run-lit-tests script
28ce86
- Set PATH so lit can find tools like count, not, etc.
28ce86
- Don't hardcode tools directory to /usr/lib64/llvm
28ce86
- Fix typo in yaml-bench define
28ce86
- Only print information about failing tests
28ce86
28ce86
* Fri Sep 21 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-1
28ce86
- 7.0.0 Release
28ce86
28ce86
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.15.rc3
28ce86
- Disable rpath on install LLVM and related sub-projects
28ce86
28ce86
* Wed Sep 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.14.rc3
28ce86
- Remove rpath from executables and libraries
28ce86
28ce86
* Tue Sep 11 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.13.rc3
28ce86
- Re-enable arm and aarch64 targets on x86_64
28ce86
28ce86
* Mon Sep 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.12.rc3
28ce86
- 7.0.0-rc3 Release
28ce86
28ce86
* Fri Sep 07 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.11.rc2
28ce86
- Use python3 shebang for opt-viewewr scripts
28ce86
28ce86
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.10.rc2
28ce86
- Drop all uses of python2 from lit tests
28ce86
28ce86
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.9.rc2
28ce86
- Build the gold plugin on all supported architectures
28ce86
28ce86
* Wed Aug 29 2018 Kevin Fenzi <kevin@scrye.com> - 7.0.0-0.8.rc2
28ce86
- Re-enable debuginfo to avoid 25x size increase.
28ce86
28ce86
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.7.rc2
28ce86
- 7.0.0-rc2 Release
28ce86
28ce86
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.6.rc1
28ce86
- Guard valgrind usage with valgrind_arches macro
28ce86
28ce86
* Thu Aug 23 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.5.rc1
28ce86
- Package lit tests and googletest sources.
28ce86
28ce86
* Mon Aug 20 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.4.rc1
28ce86
- Re-enable AMDGPU target on ARM rhbz#1618922
28ce86
28ce86
* Mon Aug 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.3.rc1
28ce86
- Drop references to TestPlugin.so from cmake files
28ce86
28ce86
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.2.rc1
28ce86
- Fixes for lit tests
28ce86
28ce86
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.1.rc1
28ce86
- 7.0.0-rc1 Release
28ce86
- Reduce number of enabled targets on all arches.
28ce86
- Drop s390 detection patch, LLVM does not support s390 codegen.
28ce86
28ce86
* Mon Aug 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-6
28ce86
- Backport some fixes needed by mesa and rust
28ce86
28ce86
* Thu Jul 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-5
28ce86
- Move libLLVM-6.0.so to llvm6.0-libs.
28ce86
28ce86
* Mon Jul 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-4
28ce86
- Rebuild because debuginfo stripping failed with the previous build
28ce86
28ce86
* Fri Jul 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
28ce86
- Sync specfile with llvm6.0 package
28ce86
28ce86
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
28ce86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
28ce86
28ce86
* Mon Jun 25 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
28ce86
- 6.0.1 Release
28ce86
28ce86
* Thu Jun 07 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.4.rc2
28ce86
- 6.0.1-rc2
28ce86
28ce86
* Wed Jun 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.3.rc1
28ce86
- Re-enable all targets to avoid breaking the ABI.
28ce86
28ce86
* Mon Jun 04 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.2.rc1
28ce86
- Reduce the number of enabled targets based on the architecture
28ce86
28ce86
* Thu May 10 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.1.rc1
28ce86
- 6.0.1 rc1
28ce86
28ce86
* Tue Mar 27 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-11
28ce86
- Re-enable arm tests that used to hang
28ce86
28ce86
* Thu Mar 22 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-10
28ce86
- Fix testcase in backported patch
28ce86
28ce86
* Tue Mar 20 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-9
28ce86
- Prevent external projects from linking against both static and shared
28ce86
  libraries.  rhbz#1558657
28ce86
28ce86
* Mon Mar 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-8
28ce86
- Backport r327651 from trunk rhbz#1554349
28ce86
28ce86
* Fri Mar 16 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-7
28ce86
- Filter out cxxflags and cflags from llvm-config that aren't supported by clang
28ce86
- rhbz#1556980
28ce86
28ce86
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-6
28ce86
- Enable symbol versioning in libLLVM.so
28ce86
28ce86
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-5
28ce86
- Stop statically linking libstdc++.  This is no longer required by Steam
28ce86
  client, but the steam installer still needs a work-around which should
28ce86
  be handled in the steam package.
28ce86
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-4
28ce86
- s/make check/ninja check/
28ce86
28ce86
* Fri Mar 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-3
28ce86
- Backport fix for compile time regression on rust rhbz#1552915
28ce86
28ce86
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-2
28ce86
- Build with Ninja: This reduces RPM build time on a 6-core x86_64 builder
28ce86
  from 82 min to 52 min.
28ce86
28ce86
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-1
28ce86
- 6.0.0 Release
28ce86
28ce86
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.5.rc2
28ce86
- Reduce debuginfo size on i686 to avoid OOM errors during linking
28ce86
28ce86
* Fri Feb 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.4.rc2
28ce86
- 6.0.1 rc2
28ce86
28ce86
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-0.3.rc1
28ce86
- Escape macros in %%changelog
28ce86
28ce86
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-0.2.rc1
28ce86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
28ce86
28ce86
* Fri Jan 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
28ce86
- 6.0.1 rc1
28ce86
28ce86
* Tue Dec 19 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
28ce86
- 5.0.1 Release
28ce86
28ce86
* Mon Nov 20 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-5
28ce86
- Backport debuginfo fix for rust
28ce86
28ce86
* Fri Nov 03 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-4
28ce86
- Reduce debuginfo size for ARM
28ce86
28ce86
* Tue Oct 10 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-2
28ce86
- Reduce memory usage on ARM by disabling debuginfo and some non-ARM targets.
28ce86
28ce86
* Mon Sep 25 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-1
28ce86
- 5.0.0 Release
28ce86
28ce86
* Mon Sep 18 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-6
28ce86
- Add Requires: libedit-devel for llvm-devel
28ce86
28ce86
* Fri Sep 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-5
28ce86
- Enable libedit backend for LineEditor API
28ce86
28ce86
* Fri Aug 25 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-4
28ce86
- Enable extra functionality when run the LLVM JIT under valgrind.
28ce86
28ce86
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
28ce86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
28ce86
28ce86
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
28ce86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
28ce86
28ce86
* Wed Jun 21 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
28ce86
- 4.0.1 Release
28ce86
28ce86
* Thu Jun 15 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-6
28ce86
- Install llvm utils
28ce86
28ce86
* Thu Jun 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-5
28ce86
- Fix docs-llvm-man target
28ce86
28ce86
* Mon May 01 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
28ce86
- Make cmake files no longer depend on static libs (rhbz 1388200)
28ce86
28ce86
* Tue Apr 18 2017 Josh Stone <jistone@redhat.com> - 4.0.0-3
28ce86
- Fix computeKnownBits for ARMISD::CMOV (rust-lang/llvm#67)
28ce86
28ce86
* Mon Apr 03 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
28ce86
- Simplify spec with rpm macros.
28ce86
28ce86
* Thu Mar 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
28ce86
- LLVM 4.0.0 Final Release
28ce86
28ce86
* Wed Mar 22 2017 tstellar@redhat.com - 3.9.1-6
28ce86
- Fix %%postun sep for -devel package.
28ce86
28ce86
* Mon Mar 13 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-5
28ce86
- Disable failing tests on ARM.
28ce86
28ce86
* Sun Mar 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 3.9.1-4
28ce86
- Fix missing mask on relocation for aarch64 (rhbz 1429050)
28ce86
28ce86
* Wed Mar 01 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-3
28ce86
- revert upstream radeonsi breaking change.
28ce86
28ce86
* Thu Feb 23 2017 Josh Stone <jistone@redhat.com> - 3.9.1-2
28ce86
- disable sphinx warnings-as-errors
28ce86
28ce86
* Fri Feb 10 2017 Orion Poplawski <orion@cora.nwra.com> - 3.9.1-1
28ce86
- llvm 3.9.1
28ce86
28ce86
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-8
28ce86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
28ce86
28ce86
* Tue Nov 29 2016 Josh Stone <jistone@redhat.com> - 3.9.0-7
28ce86
- Apply backports from rust-lang/llvm#55, #57
28ce86
28ce86
* Tue Nov 01 2016 Dave Airlie 
28ce86
- rebuild for new arches
28ce86
28ce86
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-5
28ce86
- apply the patch from -4
28ce86
28ce86
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-4
28ce86
- add fix for lldb out-of-tree build
28ce86
28ce86
* Mon Oct 17 2016 Josh Stone <jistone@redhat.com> - 3.9.0-3
28ce86
- Apply backports from rust-lang/llvm#47, #48, #53, #54
28ce86
28ce86
* Sat Oct 15 2016 Josh Stone <jistone@redhat.com> - 3.9.0-2
28ce86
- Apply an InstCombine backport via rust-lang/llvm#51
28ce86
28ce86
* Wed Sep 07 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-1
28ce86
- llvm 3.9.0
28ce86
- upstream moved where cmake files are packaged.
28ce86
- upstream dropped CppBackend
28ce86
28ce86
* Wed Jul 13 2016 Adam Jackson <ajax@redhat.com> - 3.8.1-1
28ce86
- llvm 3.8.1
28ce86
- Add mips target
28ce86
- Fix some shared library mispackaging
28ce86
28ce86
* Tue Jun 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> - 3.8.0-2
28ce86
- fix color support detection on terminal
28ce86
28ce86
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 3.8.0-1
28ce86
- llvm 3.8.0 release
28ce86
28ce86
* Wed Mar 09 2016 Dan Horák <dan[at][danny.cz> 3.8.0-0.3
28ce86
- install back memory consumption workaround for s390
28ce86
28ce86
* Thu Mar 03 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.2
28ce86
- llvm 3.8.0 rc3 release
28ce86
28ce86
* Fri Feb 19 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.1
28ce86
- llvm 3.8.0 rc2 release
28ce86
28ce86
* Tue Feb 16 2016 Dan Horák <dan[at][danny.cz> 3.7.1-7
28ce86
- recognize s390 as SystemZ when configuring build
28ce86
28ce86
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-6
28ce86
- export C++ API for mesa.
28ce86
28ce86
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-5
28ce86
- reintroduce llvm-static, clang needs it currently.
28ce86
28ce86
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
28ce86
- jump back to single llvm library, the split libs aren't working very well.
28ce86
28ce86
* Fri Feb 05 2016 Dave Airlie <airlied@redhat.com> 3.7.1-3
28ce86
- add missing obsoletes (#1303497)
28ce86
28ce86
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
28ce86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
28ce86
28ce86
* Thu Jan 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.1-1
28ce86
- new upstream release
28ce86
- enable gold linker
28ce86
28ce86
* Wed Nov 04 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
28ce86
- fix Requires for subpackages on the main package
28ce86
28ce86
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
28ce86
- initial version using cmake build system