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
da8f508
%global compat_build 0
da8f508
0958983
%global build_llvm_bindir %{buildroot}%{_bindir}
0958983
%global llvm_libdir %{_libdir}/%{name}
0958983
%global build_llvm_libdir %{buildroot}%{llvm_libdir}
4ca785f
%global maj_ver 8
3d29fda
%global min_ver 0
4ca785f
%global patch_ver 0
f059677
#%%global rc_ver 4
7a93d34
e594b05
da8f508
%if 0%{?compat_build}
da8f508
%global pkg_name llvm%{maj_ver}.%{min_ver}
da8f508
%global exec_suffix -%{maj_ver}.%{min_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}
7a93d34
%global pkg_libdir %{install_libdir}
da8f508
%endif
da8f508
8fc4f00
%global build_install_prefix %{buildroot}%{install_prefix}
8fc4f00
%global build_pkgdocdir %{buildroot}%{_pkgdocdir}
8fc4f00
da8f508
Name:		%{pkg_name}
3d29fda
Version:	%{maj_ver}.%{min_ver}.%{patch_ver}
f5b025e
Release:	8%{?rc_ver:.rc%{rc_ver}}%{?dist}.1
ca904f1
Summary:	The Low Level Virtual Machine
97e156a
ca904f1
License:	NCSA
ca904f1
URL:		http://llvm.org
7a93d34
Source0:	http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src.tar.xz
a47388f
Source1:	run-lit-tests
dd29ab7
Source2:	lit.fedora.cfg.py
cb91f5f
4ca785f
Patch5:		0001-PATCH-llvm-config.patch
4ca785f
Patch7:		0001-PATCH-Filter-out-cxxflags-not-supported-by-clang.patch
f3e54d7
Patch8:		0001-Fix-the-buildbot-issue-introduced-by-r351421.patch
cf88888
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
ca904f1
BuildRequires:	python3-sphinx
4ca785f
BuildRequires:	python3-recommonmark
e6b944d
BuildRequires:	multilib-rpm-config
0b697ba
%if %{with gold}
8fc4f00
BuildRequires:	binutils-devel
0b697ba
%endif
8fc4f00
BuildRequires:	libstdc++-static
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
Bryan O'Sullivan d291b49
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}
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
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
7a85177
%description static
7a85177
Static libraries for the LLVM compiler infrastructure.
7a85177
a47388f
%if !0%{?compat_build}
a47388f
a47388f
%package test
8eccc65
Summary:	LLVM regression tests
4ccbf04
Requires:	%{name}%{?_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
da8f508
%autosetup -n llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src -p1
09ee2ab
c8a90e4
pathfix.py -i %{__python3} -pn \
c8a90e4
	test/BugPoint/compile-custom.ll.py \
c8a90e4
	tools/opt-viewer/*.py
faa3d2d
Bryan O'Sullivan d291b49
%build
ca904f1
mkdir -p _build
ca904f1
cd _build
ca904f1
e917285
%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.
0a95f79
#
0a95f79
# -DCMAKE_INSTALL_RPATH=";" is a workaround for llvm manually setting the
0a95f79
# rpath of libraries and binaries.  llvm will skip the manual setting
0a95f79
# if CAMKE_INSTALL_RPATH is set to a value, but cmake interprets this value
0a95f79
# as nothing, so it sets the rpath to "" when installing.
acd922f
%cmake .. -G Ninja \
933aa47
	-DBUILD_SHARED_LIBS:BOOL=OFF \
317b791
	-DLLVM_PARALLEL_LINK_JOBS=1 \
ca904f1
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
0a95f79
	-DCMAKE_INSTALL_RPATH=";" \
785b893
%ifarch s390 s390x %{arm} %ix86
c244b9b
	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
c244b9b
	-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
c244b9b
%endif
da8f508
%if !0%{?compat_build}
a95cfcf
%if 0%{?__isa_bits} == 64
ca904f1
	-DLLVM_LIBDIR_SUFFIX=64 \
be655c4
%else
ca904f1
	-DLLVM_LIBDIR_SUFFIX= \
98be43e
%endif
da8f508
%endif
ca904f1
	\
d78f677
	-DLLVM_TARGETS_TO_BUILD=all \
ca904f1
	-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
ca904f1
	-DLLVM_ENABLE_ZLIB:BOOL=ON \
ca904f1
	-DLLVM_ENABLE_FFI:BOOL=ON \
ca904f1
	-DLLVM_ENABLE_RTTI:BOOL=ON \
be655c4
%if %{with gold}
ca904f1
	-DLLVM_BINUTILS_INCDIR=%{_includedir} \
ca904f1
%endif
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 \
da8f508
%if 0%{?compat_build}
da8f508
	-DLLVM_INSTALL_UTILS:BOOL=OFF \
da8f508
%else
383dd27
	-DLLVM_INSTALL_UTILS:BOOL=ON \
8fc4f00
	-DLLVM_UTILS_INSTALL_DIR:PATH=%{build_llvm_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
	\
933aa47
	-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
10a1975
	-DLLVM_DYLIB_EXPORT_ALL: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 \
8fc4f00
	-DCMAKE_INSTALL_PREFIX=%{build_install_prefix} \
8fc4f00
	-DLLVM_INSTALL_SPHINX_HTML_DIR=%{build_pkgdocdir}/html \
ca904f1
	-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3
ca904f1
acd922f
ninja -v
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%install
4ca785f
ninja -C _build -v install
9dd4cd3
e6b944d
4ca785f
%if !0%{?compat_build}
4ca785f
mkdir -p %{buildroot}/%{_bindir}
0958983
mv %{buildroot}/%{_bindir}/llvm-config %{buildroot}/%{_bindir}/llvm-config-%{__isa_bits}
0958983
0958983
# Fix some man pages
0958983
ln -s llvm-config.1 %{buildroot}%{_mandir}/man1/llvm-config-%{__isa_bits}.1
0958983
mv %{buildroot}%{_mandir}/man1/tblgen.1 %{buildroot}%{_mandir}/man1/llvm-tblgen.1
Bryan O'Sullivan 03bad00
a47388f
# Install binaries needed for lit tests
4ca785f
%global test_binaries FileCheck count lli-child-target llvm-PerfectShuffle llvm-isel-fuzzer llvm-opt-fuzzer not yaml-bench
4ca785f
4ca785f
for f in %{test_binaries}
4ca785f
do
4ca785f
    install -m 0755 ./_build/bin/$f %{build_llvm_bindir}
a47388f
done
a47388f
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
4ca785f
%global build_libdir _build/lib64
40468b1
%else
4ca785f
%global build_libdir _build/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
dd29ab7
# Generate lit config files.  Strip off the last line that initiates the
dd29ab7
# test run, so we can customize the configuration.
dd29ab7
head -n -1 _build/test/lit.site.cfg.py >> %{lit_cfg}
dd29ab7
head -n -1 _build/test/Unit/lit.site.cfg.py >> %{lit_unit_cfg}
d56ae49
dd29ab7
# Install custom fedora config file
dd29ab7
cp %{SOURCE2} %{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
a47388f
install -m 0755 %{SOURCE1} %{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/
a47388f
tar -czf %{install_srcdir}/test.tar.gz test/
a47388f
a47388f
# Install the unit test binaries
0958983
mkdir -p %{build_llvm_libdir}
0958983
cp -R _build/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
da8f508
%else
da8f508
da8f508
# Add version suffix to binaries
da8f508
mkdir -p %{buildroot}/%{_bindir}
0958983
for binary in %{build_llvm_bindir}/*
4ca785f
do
0958983
  mv ${binary} ${binary}%{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
8fc4f00
for f in `ls %{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
4ca785f
a5a420c
%check
f3e54d7
# TODO: Fix test failures on arm
0a95f79
ninja check-all -C _build || \
f3e54d7
%ifarch %{arm}
f3e54d7
  :
f3e54d7
%else
f3e54d7
  false
f3e54d7
%endif
a5a420c
d891d18
%ldconfig_scriptlets libs
194b08b
da8f508
%if !0%{?compat_build}
da8f508
ca904f1
%post devel
0958983
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config llvm-config %{_bindir}/llvm-config-%{__isa_bits} %{__isa_bits}
a5a420c
a5a420c
%postun devel
05920e6
if [ $1 -eq 0 ]; then
0958983
  %{_sbindir}/update-alternatives --remove llvm-config %{_bindir}/llvm-config
05920e6
fi
a5a420c
da8f508
%endif
da8f508
Bryan O'Sullivan d291b49
%files
da8f508
%if !0%{?compat_build}
a5a420c
%exclude %{_bindir}/llvm-config-%{__isa_bits}
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
0958983
%{_bindir}/*
0958983
0958983
%exclude %{_mandir}/man1/llvm-config*
0958983
%{_mandir}/man1/*
0958983
3d29fda
%{_datadir}/opt-viewer
da8f508
%else
da8f508
%exclude %{pkg_bindir}/llvm-config
8c9aac9
%{pkg_bindir}
da8f508
%endif
ca904f1
ca904f1
%files libs
7a93d34
%{pkg_libdir}/libLLVM-%{maj_ver}.so
da8f508
%if !0%{?compat_build}
2a3c791
%if %{with gold}
2a3c791
%{_libdir}/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
4ca785f
%{pkg_libdir}/libOptRemarks.so*
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%files devel
da8f508
%if !0%{?compat_build}
a5a420c
%{_bindir}/llvm-config-%{__isa_bits}
0958983
%{_mandir}/man1/llvm-config*
ca904f1
%{_includedir}/llvm
ca904f1
%{_includedir}/llvm-c
2a3c791
%{_libdir}/libLLVM.so
894065e
%{_libdir}/cmake/llvm
4b6a509
%exclude %{_libdir}/cmake/llvm/LLVMStaticExports.cmake
da8f508
%else
da8f508
%{_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
da8f508
%{pkg_bindir}/llvm-config
da8f508
%{_mandir}/man1/llvm-config%{exec_suffix}.1.gz
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
ca904f1
%doc %{_pkgdocdir}/html
Bryan O'Sullivan d291b49
7a85177
%files static
da8f508
%if !0%{?compat_build}
7a85177
%{_libdir}/*.a
40468b1
%exclude %{_libdir}/libLLVMTestingSupport.a
4b6a509
%{_libdir}/cmake/llvm/LLVMStaticExports.cmake
da8f508
%else
da8f508
%{_libdir}/%{name}/lib/*.a
da8f508
%endif
7a85177
a47388f
%if !0%{?compat_build}
a47388f
a47388f
%files test
a47388f
%{_libexecdir}/tests/llvm/
0958983
%{llvm_libdir}/unittests/
dd29ab7
%{_datadir}/llvm/src/unittests
a47388f
%{_datadir}/llvm/src/test.tar.gz
dd29ab7
%{_datadir}/llvm/lit.fedora.cfg.py
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
a47388f
%{_datadir}/llvm/src/utils
40468b1
%{_libdir}/libLLVMTestingSupport.a
a47388f
a47388f
%endif
a47388f
Bryan O'Sullivan d291b49
%changelog
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