a47388f
%global debug_package %{nil}
ca904f1
# Components enabled if supported by target architecture:
be655c4
%ifarch %ix86 x86_64
be655c4
  %bcond_without gold
434321d
%else
be655c4
  %bcond_with gold
434321d
%endif
23fedaf
da8f508
%global compat_build 0
da8f508
383dd27
%global llvm_bindir %{_libdir}/%{name}
7a93d34
%global maj_ver 7
3d29fda
%global min_ver 0
7a93d34
%global patch_ver 0
1bf09a7
%global rc_ver 2
7a93d34
7a93d34
%ifarch s390x
7a93d34
%global llvm_targets SystemZ;BPF
7a93d34
%endif
7a93d34
%ifarch ppc64 ppc64le
7a93d34
%global llvm_targets PowerPC;AMDGPU;BPF
7a93d34
%endif
7a93d34
%ifarch %ix86 x86_64
7a93d34
%global llvm_targets X86;AMDGPU;NVPTX;BPF
7a93d34
%endif
7a93d34
%ifarch aarch64
7a93d34
%global llvm_targets AArch64;AMDGPU;BPF
7a93d34
%endif
7a93d34
%ifarch %{arm}
1948d64
%global llvm_targets ARM;AMDGPU;BPF
7a93d34
%endif
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
da8f508
Name:		%{pkg_name}
3d29fda
Version:	%{maj_ver}.%{min_ver}.%{patch_ver}
1bf09a7
Release:	0.7.rc%{rc_ver}%{?dist}
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
cb91f5f
4b6a509
Patch3:		0001-CMake-Split-static-library-exports-into-their-own-ex.patch
1afade5
Patch7:		0001-Filter-out-cxxflags-not-supported-by-clang.patch
fba8c44
5636e80
Patch12:	0001-unittests-Don-t-install-TestPlugin.so.patch
1bf09a7
# rhbz#1618958
1bf09a7
Patch13:	0001-bpf-fix-an-assertion-in-BPFAsmBackend-applyFixup.patch
93d2074
Igor Gnatenko f963f98
BuildRequires:  gcc
Igor Gnatenko f963f98
BuildRequires:  gcc-c++
ca904f1
BuildRequires:	cmake
acd922f
BuildRequires:	ninja-build
ca904f1
BuildRequires:	zlib-devel
a5a420c
BuildRequires:  libffi-devel
3019f5f
BuildRequires:	ncurses-devel
a894547
# We need /usr/bin/python for some lit tests to work.
a894547
BuildRequires:	python-unversioned-command
ca904f1
BuildRequires:	python3-sphinx
e6b944d
BuildRequires:	multilib-rpm-config
0b697ba
%if %{with gold}
0b697ba
BuildRequires:  binutils-devel
0b697ba
%endif
ca904f1
BuildRequires:  libstdc++-static
c96d679
%ifarch %{valgrind_arches}
cca2af2
# Enable extra functionality when run the LLVM JIT under valgrind.
cca2af2
BuildRequires:  valgrind-devel
c96d679
%endif
dd25586
# LLVM's LineEditor library will use libedit if it is available.
dd25586
BuildRequires:  libedit-devel
Bryan O'Sullivan d291b49
ca904f1
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
Bryan O'Sullivan d291b49
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
05920e6
Requires(post): %{_sbindir}/alternatives
05920e6
Requires(postun): %{_sbindir}/alternatives
Bryan O'Sullivan d291b49
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
7a85177
7a85177
%description static
7a85177
Static libraries for the LLVM compiler infrastructure.
7a85177
a47388f
%if !0%{?compat_build}
a47388f
a47388f
%package test
a47388f
Summary:	LLVM regression tests.
a47388f
a47388f
%description test
a47388f
LLVM regression tests.
a47388f
Requires:	%{name}%{?_isa} = %{version}-%{release}
a47388f
Requires:	python3-lit
a47388f
a47388f
%package googletest
a47388f
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
Bryan O'Sullivan d291b49
%build
ca904f1
mkdir -p _build
ca904f1
cd _build
ca904f1
c0f49ce
%ifarch s390 %{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.
acd922f
%cmake .. -G Ninja \
933aa47
	-DBUILD_SHARED_LIBS:BOOL=OFF \
ca904f1
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
c0f49ce
%ifarch s390 %{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
	\
7a93d34
	-DLLVM_TARGETS_TO_BUILD="%{llvm_targets}" \
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 \
acd922f
	-DLLVM_UTILS_INSTALL_DIR:PATH=%{buildroot}%{llvm_bindir} \
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 \
da8f508
	-DCMAKE_INSTALL_PREFIX=%{buildroot}%{install_prefix} \
da8f508
	-DLLVM_INSTALL_SPHINX_HTML_DIR=%{buildroot}%{_pkgdocdir}/html \
ca904f1
	-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3
ca904f1
acd922f
ninja -v
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%install
ca904f1
cd _build
acd922f
ninja -v install
9dd4cd3
da8f508
%if !0%{?compat_build}
ca904f1
# fix multi-lib
ca904f1
mv -v %{buildroot}%{_bindir}/llvm-config{,-%{__isa_bits}}
e6b944d
e6b944d
%multilib_fix_c_header --file %{_includedir}/llvm/Config/llvm-config.h
Bryan O'Sullivan 03bad00
a47388f
# Install binaries needed for lit tests
a47388f
%global test_binaries lli-child-target llvm-isel-fuzzer llvm-opt-fuzzer yaml-bench
a47388f
for f in %{test_binaries}; do
a47388f
install -m 0755 ./bin/$f %{buildroot}%{llvm_bindir}
a47388f
done
a47388f
a47388f
%global install_srcdir %{buildroot}%{_datadir}/llvm/src
a47388f
%global lit_cfg test/lit.site.cfg.py
a47388f
%global lit_unit_cfg test/Unit/lit.site.cfg.py
a47388f
a47388f
cd ..
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
a47388f
# Generate lit config files.
a47388f
cat _build/test/lit.site.cfg.py >> %{lit_cfg}
a47388f
cat _build/test/Unit/lit.site.cfg.py >> %{lit_unit_cfg}
a47388f
sed -i -e s~`pwd`/_build~%{_prefix}~g -e s~`pwd`~.~g %{lit_cfg} %{lit_cfg} %{lit_unit_cfg}
a47388f
a47388f
# obj_root needs to be set to the directory containing the unit test binaries.
a47388f
sed -i 's~\(config.llvm_obj_root = \)"[^"]\+"~\1"%{llvm_bindir}"~' %{lit_unit_cfg}
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
a47388f
cp -R _build/unittests %{buildroot}%{llvm_bindir}/
a47388f
# FIXME: Can't figure out how to make the find command succeed.
a47388f
find %{buildroot}%{llvm_bindir} -ignore_readdir_race -iname 'cmake*' -exec rm -Rf '{}' ';' || true
a47388f
da8f508
%else
da8f508
da8f508
# Add version suffix to binaries
da8f508
mkdir -p %{buildroot}/%{_bindir}
da8f508
for f in `ls %{buildroot}/%{install_bindir}/*`; do
da8f508
  filename=`basename $f`
da8f508
  ln -s %{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename%{exec_suffix}
da8f508
done
da8f508
da8f508
# Move header files
da8f508
mkdir -p %{buildroot}/%{pkg_includedir}
8c9aac9
ln -s ../../../%{install_includedir}/llvm %{buildroot}/%{pkg_includedir}/llvm
8c9aac9
ln -s ../../../%{install_includedir}/llvm-c %{buildroot}/%{pkg_includedir}/llvm-c
da8f508
da8f508
# Fix multi-lib
da8f508
mv %{buildroot}%{_bindir}/llvm-config{%{exec_suffix},%{exec_suffix}-%{__isa_bits}}
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
da8f508
for f in `ls %{buildroot}%{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.
da8f508
rm -Rf %{buildroot}%{install_prefix}/share/opt-viewer
da8f508
da8f508
%endif
da8f508
a5a420c
%check
ca904f1
cd _build
440eb0e
ninja check-all || :
a5a420c
999f905
%post libs -p /sbin/ldconfig
999f905
%postun libs -p /sbin/ldconfig
194b08b
da8f508
%if !0%{?compat_build}
da8f508
ca904f1
%post devel
ca904f1
%{_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
05920e6
  %{_sbindir}/update-alternatives --remove llvm-config %{_bindir}/llvm-config-%{__isa_bits}
05920e6
fi
a5a420c
da8f508
%endif
da8f508
Bryan O'Sullivan d291b49
%files
ca904f1
%{_bindir}/*
ca904f1
%{_mandir}/man1/*.1.*
da8f508
%if !0%{?compat_build}
8c9aac9
%{llvm_bindir}
a5a420c
%exclude %{_bindir}/llvm-config-%{__isa_bits}
ca904f1
%exclude %{_mandir}/man1/llvm-config.1.*
3d29fda
%{_datadir}/opt-viewer
a47388f
%exclude %{llvm_bindir}/unittests
da8f508
%else
da8f508
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
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
%{_libdir}/BugpointPasses.so
2a3c791
%{_libdir}/LLVMHello.so
2a3c791
%if %{with gold}
2a3c791
%{_libdir}/LLVMgold.so
2a3c791
%endif
3d29fda
%{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
1bbe5ad
%{_libdir}/libLTO.so*
da8f508
%else
da8f508
%{pkg_libdir}/BugpointPasses.so
da8f508
%{pkg_libdir}/LLVMHello.so
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
Bryan O'Sullivan d291b49
Bryan O'Sullivan d291b49
%files devel
da8f508
%if !0%{?compat_build}
a5a420c
%{_bindir}/llvm-config-%{__isa_bits}
ca904f1
%{_mandir}/man1/llvm-config.1.*
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
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/
a47388f
%{llvm_bindir}/unittests/
a47388f
%{_datadir}/llvm/src/test.tar.gz
a47388f
%{llvm_bindir}/yaml-bench
a47388f
%{llvm_bindir}/lli-child-target
a47388f
%{llvm_bindir}/llvm-isel-fuzzer
a47388f
%{llvm_bindir}/llvm-opt-fuzzer
a47388f
a47388f
%files googletest
a47388f
%{_datadir}/llvm/src/utils
a47388f
a47388f
%endif
a47388f
Bryan O'Sullivan d291b49
%changelog
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