ca904f
# Components enabled if supported by target architecture:
165caa
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x
165caa
%ifarch %{gold_arches}
be655c
  %bcond_without gold
434321
%else
be655c
  %bcond_with gold
434321
%endif
23feda
da8f50
%global compat_build 0
da8f50
095898
%global build_llvm_bindir %{buildroot}%{_bindir}
095898
%global llvm_libdir %{_libdir}/%{name}
095898
%global build_llvm_libdir %{buildroot}%{llvm_libdir}
4ca785
%global maj_ver 8
3d29fd
%global min_ver 0
4ca785
%global patch_ver 0
49f1cf
%global rc_ver 4
7a93d3
7a93d3
%ifarch s390x
7a93d3
%global llvm_targets SystemZ;BPF
7a93d3
%endif
7a93d3
%ifarch ppc64 ppc64le
7a93d3
%global llvm_targets PowerPC;AMDGPU;BPF
7a93d3
%endif
7a93d3
%ifarch %ix86 x86_64
b4db2c
# ARM/AARCH64 enabled due to rhbz#1627500
3988cf
%global llvm_targets X86;AMDGPU;NVPTX;BPF;ARM;AArch64
7a93d3
%endif
7a93d3
%ifarch aarch64
7a93d3
%global llvm_targets AArch64;AMDGPU;BPF
7a93d3
%endif
7a93d3
%ifarch %{arm}
1948d6
%global llvm_targets ARM;AMDGPU;BPF
7a93d3
%endif
e594b0
da8f50
%if 0%{?compat_build}
da8f50
%global pkg_name llvm%{maj_ver}.%{min_ver}
da8f50
%global exec_suffix -%{maj_ver}.%{min_ver}
da8f50
%global install_prefix %{_libdir}/%{name}
da8f50
%global install_bindir %{install_prefix}/bin
da8f50
%global install_includedir %{install_prefix}/include
da8f50
%global install_libdir %{install_prefix}/lib
da8f50
da8f50
%global pkg_bindir %{install_bindir}
da8f50
%global pkg_includedir %{_includedir}/%{name}
da8f50
%global pkg_libdir %{install_libdir}
da8f50
%else
da8f50
%global pkg_name llvm
da8f50
%global install_prefix /usr
7a93d3
%global install_libdir %{_libdir}
7a93d3
%global pkg_libdir %{install_libdir}
da8f50
%endif
da8f50
8fc4f0
%global build_install_prefix %{buildroot}%{install_prefix}
8fc4f0
%global build_pkgdocdir %{buildroot}%{_pkgdocdir}
8fc4f0
da8f50
Name:		%{pkg_name}
3d29fd
Version:	%{maj_ver}.%{min_ver}.%{patch_ver}
49f1cf
Release:	0.5%{?rc_ver:.rc%{rc_ver}}%{?dist}
ca904f
Summary:	The Low Level Virtual Machine
97e156
ca904f
License:	NCSA
ca904f
URL:		http://llvm.org
7a93d3
Source0:	http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src.tar.xz
a47388
Source1:	run-lit-tests
cb91f5
4ca785
Patch5:		0001-PATCH-llvm-config.patch
4ca785
Patch7:		0001-PATCH-Filter-out-cxxflags-not-supported-by-clang.patch
cf8888
8fc4f0
BuildRequires:	gcc
8fc4f0
BuildRequires:	gcc-c++
ca904f
BuildRequires:	cmake
acd922
BuildRequires:	ninja-build
ca904f
BuildRequires:	zlib-devel
8fc4f0
BuildRequires:	libffi-devel
3019f5
BuildRequires:	ncurses-devel
ca904f
BuildRequires:	python3-sphinx
4ca785
BuildRequires:	python3-recommonmark
e6b944
BuildRequires:	multilib-rpm-config
0b697b
%if %{with gold}
8fc4f0
BuildRequires:	binutils-devel
0b697b
%endif
8fc4f0
BuildRequires:	libstdc++-static
c96d67
%ifarch %{valgrind_arches}
cca2af
# Enable extra functionality when run the LLVM JIT under valgrind.
8fc4f0
BuildRequires:	valgrind-devel
c96d67
%endif
dd2558
# LLVM's LineEditor library will use libedit if it is available.
8fc4f0
BuildRequires:	libedit-devel
faa3d2
# We need python3-devel for pathfix.py.
faa3d2
BuildRequires:	python3-devel
Bryan O'Sullivan d291b4
ca904f
Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
Bryan O'Sullivan d291b4
ca904f
%description
ca904f
LLVM is a compiler infrastructure designed for compile-time, link-time,
ca904f
runtime, and idle-time optimization of programs from arbitrary programming
ca904f
languages. The compiler infrastructure includes mirror sets of programming
ca904f
tools as well as libraries with equivalent functionality.
Bryan O'Sullivan d291b4
Bryan O'Sullivan d291b4
%package devel
ca904f
Summary:	Libraries and header files for LLVM
ca904f
Requires:	%{name}%{?_isa} = %{version}-%{release}
c5c125
# The installed LLVM cmake files will add -ledit to the linker flags for any
c5c125
# app that requires the libLLVMLineEditor, so we need to make sure
c5c125
# libedit-devel is available.
c5c125
Requires:	libedit-devel
8fc4f0
Requires(post):	%{_sbindir}/alternatives
8eccc6
Requires(postun):	%{_sbindir}/alternatives
Bryan O'Sullivan d291b4
Bryan O'Sullivan d291b4
%description devel
ca904f
This package contains library and header files needed to develop new native
ca904f
programs that use the LLVM infrastructure.
Bryan O'Sullivan d291b4
Bryan O'Sullivan d291b4
%package doc
ca904f
Summary:	Documentation for LLVM
ca904f
BuildArch:	noarch
ca904f
Requires:	%{name} = %{version}-%{release}
Bryan O'Sullivan d291b4
Bryan O'Sullivan d291b4
%description doc
Bryan O'Sullivan d291b4
Documentation for the LLVM compiler infrastructure.
Bryan O'Sullivan d291b4
a8c599
%package libs
ca904f
Summary:	LLVM shared libraries
a8c599
a8c599
%description libs
a8c599
Shared libraries for the LLVM compiler infrastructure.
a8c599
7a8517
%package static
7a8517
Summary:	LLVM static libraries
7a8517
7a8517
%description static
7a8517
Static libraries for the LLVM compiler infrastructure.
7a8517
a47388
%if !0%{?compat_build}
a47388
a47388
%package test
8eccc6
Summary:	LLVM regression tests
4ccbf0
Requires:	%{name}%{?_isa} = %{version}-%{release}
4ccbf0
Requires:	python3-lit
4ccbf0
# The regression tests need gold.
4ccbf0
Requires:	binutils
4ccbf0
# This is for llvm-config
4ccbf0
Requires:	%{name}-devel%{?_isa} = %{version}-%{release}
4ccbf0
# Bugpoint tests require gcc
4ccbf0
Requires:	gcc
d56ae4
Requires:	findutils
a47388
a47388
%description test
a47388
LLVM regression tests.
a47388
a47388
%package googletest
8eccc6
Summary: LLVM's modified googletest sources
a47388
a47388
%description googletest
a47388
LLVM's modified googletest sources.
a47388
a47388
%endif
a47388
Bryan O'Sullivan d291b4
%prep
da8f50
%autosetup -n llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src -p1
09ee2a
c8a90e
pathfix.py -i %{__python3} -pn \
c8a90e
	test/BugPoint/compile-custom.ll.py \
c8a90e
	tools/opt-viewer/*.py
faa3d2
095898
sed -i 's~@TOOLS_DIR@~%{_bindir}~' %{SOURCE1}
4ccbf0
Bryan O'Sullivan d291b4
%build
ca904f
mkdir -p _build
ca904f
cd _build
ca904f
e91728
%ifarch s390 s390x %{arm} %ix86
c244b9
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
c244b9
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
c244b9
%endif
c244b9
933aa4
# force off shared libs as cmake macros turns it on.
acd922
%cmake .. -G Ninja \
933aa4
	-DBUILD_SHARED_LIBS:BOOL=OFF \
317b79
	-DLLVM_PARALLEL_LINK_JOBS=1 \
ca904f
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
095898
	-DCMAKE_SKIP_RPATH:BOOL=ON \
095898
	-DCMAKE_INSTALL_RPATH:BOOL=OFF \
c0f49c
%ifarch s390 %{arm} %ix86
c244b9
	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
c244b9
	-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
c244b9
%endif
da8f50
%if !0%{?compat_build}
a95cfc
%if 0%{?__isa_bits} == 64
ca904f
	-DLLVM_LIBDIR_SUFFIX=64 \
be655c
%else
ca904f
	-DLLVM_LIBDIR_SUFFIX= \
98be43
%endif
da8f50
%endif
ca904f
	\
7a93d3
	-DLLVM_TARGETS_TO_BUILD="%{llvm_targets}" \
ca904f
	-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
ca904f
	-DLLVM_ENABLE_ZLIB:BOOL=ON \
ca904f
	-DLLVM_ENABLE_FFI:BOOL=ON \
ca904f
	-DLLVM_ENABLE_RTTI:BOOL=ON \
be655c
%if %{with gold}
ca904f
	-DLLVM_BINUTILS_INCDIR=%{_includedir} \
ca904f
%endif
ca904f
	\
ca904f
	-DLLVM_BUILD_RUNTIME:BOOL=ON \
ca904f
	\
ca904f
	-DLLVM_INCLUDE_TOOLS:BOOL=ON \
ca904f
	-DLLVM_BUILD_TOOLS:BOOL=ON \
ca904f
	\
ca904f
	-DLLVM_INCLUDE_TESTS:BOOL=ON \
ca904f
	-DLLVM_BUILD_TESTS:BOOL=ON \
ca904f
	\
ca904f
	-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \
ca904f
	-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
ca904f
	\
ca904f
	-DLLVM_INCLUDE_UTILS:BOOL=ON \
da8f50
%if 0%{?compat_build}
da8f50
	-DLLVM_INSTALL_UTILS:BOOL=OFF \
da8f50
%else
383dd2
	-DLLVM_INSTALL_UTILS:BOOL=ON \
8fc4f0
	-DLLVM_UTILS_INSTALL_DIR:PATH=%{build_llvm_bindir} \
095898
	-DLLVM_TOOLS_INSTALL_DIR:PATH=bin \
da8f50
%endif
ca904f
	\
ca904f
	-DLLVM_INCLUDE_DOCS:BOOL=ON \
ca904f
	-DLLVM_BUILD_DOCS:BOOL=ON \
ca904f
	-DLLVM_ENABLE_SPHINX:BOOL=ON \
ca904f
	-DLLVM_ENABLE_DOXYGEN:BOOL=OFF \
ca904f
	\
933aa4
	-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
10a197
	-DLLVM_DYLIB_EXPORT_ALL:BOOL=ON \
f8d533
	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
ca904f
	-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
ca904f
	-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \
ca904f
	\
a5fe5a
	-DSPHINX_WARNINGS_AS_ERRORS=OFF \
8fc4f0
	-DCMAKE_INSTALL_PREFIX=%{build_install_prefix} \
8fc4f0
	-DLLVM_INSTALL_SPHINX_HTML_DIR=%{build_pkgdocdir}/html \
ca904f
	-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3
ca904f
acd922
ninja -v
Bryan O'Sullivan d291b4
Bryan O'Sullivan d291b4
%install
4ca785
ninja -C _build -v install
9dd4cd
e6b944
4ca785
%if !0%{?compat_build}
4ca785
mkdir -p %{buildroot}/%{_bindir}
095898
mv %{buildroot}/%{_bindir}/llvm-config %{buildroot}/%{_bindir}/llvm-config-%{__isa_bits}
095898
095898
# Fix some man pages
095898
ln -s llvm-config.1 %{buildroot}%{_mandir}/man1/llvm-config-%{__isa_bits}.1
095898
mv %{buildroot}%{_mandir}/man1/tblgen.1 %{buildroot}%{_mandir}/man1/llvm-tblgen.1
Bryan O'Sullivan 03bad0
a47388
# Install binaries needed for lit tests
4ca785
%global test_binaries FileCheck count lli-child-target llvm-PerfectShuffle llvm-isel-fuzzer llvm-opt-fuzzer not yaml-bench
4ca785
4ca785
for f in %{test_binaries}
4ca785
do
4ca785
    install -m 0755 ./_build/bin/$f %{build_llvm_bindir}
a47388
done
a47388
4ca785
4ca785
%multilib_fix_c_header --file %{_includedir}/llvm/Config/llvm-config.h
4ca785
40468b
# Install libraries needed for unittests
40468b
%if 0%{?__isa_bits} == 64
4ca785
%global build_libdir _build/lib64
40468b
%else
4ca785
%global build_libdir _build/lib
40468b
%endif
40468b
40468b
install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{_libdir}
40468b
a47388
%global install_srcdir %{buildroot}%{_datadir}/llvm/src
a47388
%global lit_cfg test/lit.site.cfg.py
a47388
%global lit_unit_cfg test/Unit/lit.site.cfg.py
a47388
a47388
# Install gtest sources so clang can use them for gtest
a47388
install -d %{install_srcdir}
a47388
install -d %{install_srcdir}/utils/
a47388
cp -R utils/unittest %{install_srcdir}/utils/
a47388
a47388
# Generate lit config files.
a47388
cat _build/test/lit.site.cfg.py >> %{lit_cfg}
d56ae4
d56ae4
# Unit tests write output to this directory, so it can't be in /usr.
d56ae4
sed -i 's~\(config.llvm_obj_root = \)"[^"]\+"~\1"."~' %{lit_cfg}
d56ae4
a47388
cat _build/test/Unit/lit.site.cfg.py >> %{lit_unit_cfg}
a47388
sed -i -e s~`pwd`/_build~%{_prefix}~g -e s~`pwd`~.~g %{lit_cfg} %{lit_cfg} %{lit_unit_cfg}
a47388
a47388
# obj_root needs to be set to the directory containing the unit test binaries.
095898
sed -i 's~\(config.llvm_obj_root = \)"[^"]\+"~\1"%{_bindir}"~' %{lit_unit_cfg}
a47388
a47388
install -d %{buildroot}%{_libexecdir}/tests/llvm
a47388
install -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/tests/llvm
a47388
a47388
# Install lit tests.  We need to put these in a tarball otherwise rpm will complain
a47388
# about some of the test inputs having the wrong object file format.
a47388
install -d %{buildroot}%{_datadir}/llvm/
a47388
tar -czf %{install_srcdir}/test.tar.gz test/
a47388
a47388
# Install the unit test binaries
095898
mkdir -p %{build_llvm_libdir}
095898
cp -R _build/unittests %{build_llvm_libdir}/
095898
rm -rf `find %{build_llvm_libdir} -iname 'cmake*'`
a47388
da8f50
%else
da8f50
da8f50
# Add version suffix to binaries
da8f50
mkdir -p %{buildroot}/%{_bindir}
095898
for binary in %{build_llvm_bindir}/*
4ca785
do
095898
  mv ${binary} ${binary}%{exec_suffix}
da8f50
done
da8f50
da8f50
# Move header files
da8f50
mkdir -p %{buildroot}/%{pkg_includedir}
8c9aac
ln -s ../../../%{install_includedir}/llvm %{buildroot}/%{pkg_includedir}/llvm
8c9aac
ln -s ../../../%{install_includedir}/llvm-c %{buildroot}/%{pkg_includedir}/llvm-c
da8f50
da8f50
# Fix multi-lib
da8f50
%multilib_fix_c_header --file %{install_includedir}/llvm/Config/llvm-config.h
da8f50
da8f50
# Create ld.so.conf.d entry
da8f50
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
da8f50
cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf << EOF
da8f50
%{pkg_libdir}
da8f50
EOF
da8f50
da8f50
# Add version suffix to man pages and move them to mandir.
da8f50
mkdir -p %{buildroot}/%{_mandir}/man1
8fc4f0
for f in `ls %{build_install_prefix}/share/man/man1/*`; do
da8f50
  filename=`basename $f | cut -f 1 -d '.'`
da8f50
  mv $f %{buildroot}%{_mandir}/man1/$filename%{exec_suffix}.1
da8f50
done
da8f50
da8f50
# Remove opt-viewer, since this is just a compatibility package.
8fc4f0
rm -Rf %{build_install_prefix}/share/opt-viewer
da8f50
da8f50
%endif
da8f50
4ca785
a5a420
%check
095898
ninja check-all -C _build || :
a5a420
d891d1
%ldconfig_scriptlets libs
194b08
da8f50
%if !0%{?compat_build}
da8f50
ca904f
%post devel
095898
%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config llvm-config %{_bindir}/llvm-config-%{__isa_bits} %{__isa_bits}
a5a420
a5a420
%postun devel
05920e
if [ $1 -eq 0 ]; then
095898
  %{_sbindir}/update-alternatives --remove llvm-config %{_bindir}/llvm-config
05920e
fi
a5a420
da8f50
%endif
da8f50
Bryan O'Sullivan d291b4
%files
da8f50
%if !0%{?compat_build}
a5a420
%exclude %{_bindir}/llvm-config-%{__isa_bits}
095898
%exclude %{_bindir}/not
095898
%exclude %{_bindir}/count
095898
%exclude %{_bindir}/yaml-bench
095898
%exclude %{_bindir}/lli-child-target
095898
%exclude %{_bindir}/llvm-isel-fuzzer
095898
%exclude %{_bindir}/llvm-opt-fuzzer
095898
%{_bindir}/*
095898
095898
%exclude %{_mandir}/man1/llvm-config*
095898
%{_mandir}/man1/*
095898
3d29fd
%{_datadir}/opt-viewer
da8f50
%else
da8f50
%exclude %{pkg_bindir}/llvm-config
8c9aac
%{pkg_bindir}
da8f50
%endif
ca904f
ca904f
%files libs
7a93d3
%{pkg_libdir}/libLLVM-%{maj_ver}.so
da8f50
%if !0%{?compat_build}
2a3c79
%if %{with gold}
2a3c79
%{_libdir}/LLVMgold.so
2a3c79
%endif
3d29fd
%{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
1bbe5a
%{_libdir}/libLTO.so*
da8f50
%else
06970d
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
da8f50
%if %{with gold}
da8f50
%{_libdir}/%{name}/lib/LLVMgold.so
da8f50
%endif
da8f50
%{pkg_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so
da8f50
%{pkg_libdir}/libLTO.so*
da8f50
%exclude %{pkg_libdir}/libLTO.so
da8f50
%endif
4ca785
%{pkg_libdir}/libOptRemarks.so*
Bryan O'Sullivan d291b4
Bryan O'Sullivan d291b4
%files devel
da8f50
%if !0%{?compat_build}
a5a420
%{_bindir}/llvm-config-%{__isa_bits}
095898
%{_mandir}/man1/llvm-config*
ca904f
%{_includedir}/llvm
ca904f
%{_includedir}/llvm-c
2a3c79
%{_libdir}/libLLVM.so
894065
%{_libdir}/cmake/llvm
4b6a50
%exclude %{_libdir}/cmake/llvm/LLVMStaticExports.cmake
da8f50
%else
da8f50
%{_bindir}/llvm-config%{exec_suffix}-%{__isa_bits}
da8f50
%{pkg_bindir}/llvm-config
da8f50
%{_mandir}/man1/llvm-config%{exec_suffix}.1.gz
8c9aac
%{install_includedir}/llvm
8c9aac
%{install_includedir}/llvm-c
da8f50
%{pkg_includedir}/llvm
da8f50
%{pkg_includedir}/llvm-c
da8f50
%{pkg_libdir}/libLTO.so
da8f50
%{pkg_libdir}/libLLVM.so
da8f50
%{pkg_libdir}/cmake/llvm
da8f50
%endif
c6833e
c6833e
%files doc
ca904f
%doc %{_pkgdocdir}/html
Bryan O'Sullivan d291b4
7a8517
%files static
da8f50
%if !0%{?compat_build}
7a8517
%{_libdir}/*.a
40468b
%exclude %{_libdir}/libLLVMTestingSupport.a
4b6a50
%{_libdir}/cmake/llvm/LLVMStaticExports.cmake
da8f50
%else
da8f50
%{_libdir}/%{name}/lib/*.a
da8f50
%endif
7a8517
a47388
%if !0%{?compat_build}
a47388
a47388
%files test
a47388
%{_libexecdir}/tests/llvm/
095898
%{llvm_libdir}/unittests/
a47388
%{_datadir}/llvm/src/test.tar.gz
095898
%{_bindir}/not
095898
%{_bindir}/count
095898
%{_bindir}/yaml-bench
095898
%{_bindir}/lli-child-target
095898
%{_bindir}/llvm-isel-fuzzer
095898
%{_bindir}/llvm-opt-fuzzer
a47388
a47388
%files googletest
a47388
%{_datadir}/llvm/src/utils
40468b
%{_libdir}/libLLVMTestingSupport.a
a47388
a47388
%endif
a47388
Bryan O'Sullivan d291b4
%changelog
49f1cf
* Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.5.rc4
49f1cf
- 8.0.0 Release candidate 4
4ca785
095898
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.4.rc3
095898
- Move some binaries to -test package, cleanup specfile
095898
54ff64
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.3.rc3
54ff64
- 8.0.0 Release candidate 3
54ff64
7d9203
* Fri Feb 22 2019 sguelton@redhat.com - 8.0.0-0.2.rc2
7d9203
- 8.0.0 Release candidate 2
7d9203
7d9203
* Sat Feb 9 2019 sguelton@redhat.com - 8.0.0-0.1.rc1
4ca785
- 8.0.0 Release candidate 1
4ca785
aea824
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2.1
aea824
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
aea824
cf8888
* Mon Jan 21 2019 Josh Stone <jistone@redhat.com> - 7.0.1-2
cf8888
- Fix discriminators in metadata, rhbz#1668033
cf8888
8eccc6
* Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1
8eccc6
- 7.0.1 release
8eccc6
8fc4f0
* Tue Dec 04 2018 sguelton@redhat.com - 7.0.0-5
8fc4f0
- Ensure rpmlint passes on specfile
8fc4f0
40468b
* Sat Nov 17 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-4
40468b
- Install testing libraries for unittests
40468b
d56ae4
* Sat Oct 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-3
d56ae4
- Fix running unittests as not-root user
d56ae4
4ccbf0
* Thu Sep 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-2
4ccbf0
- Fixes for llvm-test package:
4ccbf0
- Add some missing Requires
4ccbf0
- Add --threads option to run-lit-tests script
4ccbf0
- Set PATH so lit can find tools like count, not, etc.
4ccbf0
- Don't hardcode tools directory to /usr/lib64/llvm
4ccbf0
- Fix typo in yaml-bench define
4ccbf0
- Only print information about failing tests
4ccbf0
b5bb6c
* Fri Sep 21 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-1
b5bb6c
- 7.0.0 Release
b5bb6c
f0b94f
* Thu Sep 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.15.rc3
f0b94f
- Disable rpath on install LLVM and related sub-projects
f0b94f
f04627
* Wed Sep 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.14.rc3
f04627
- Remove rpath from executables and libraries
f04627
b4db2c
* Tue Sep 11 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.13.rc3
b4db2c
- Re-enable arm and aarch64 targets on x86_64
b4db2c
4a6462
* Mon Sep 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.12.rc3
4a6462
- 7.0.0-rc3 Release
4a6462
c8a90e
* Fri Sep 07 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.11.rc2
c8a90e
- Use python3 shebang for opt-viewewr scripts
c8a90e
faa3d2
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.10.rc2
faa3d2
- Drop all uses of python2 from lit tests
faa3d2
165caa
* Thu Aug 30 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.9.rc2
165caa
- Build the gold plugin on all supported architectures
165caa
a057dd
* Wed Aug 29 2018 Kevin Fenzi <kevin@scrye.com> - 7.0.0-0.8.rc2
a057dd
- Re-enable debuginfo to avoid 25x size increase.
a057dd
1bf09a
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.7.rc2
1bf09a
- 7.0.0-rc2 Release
1bf09a
c96d67
* Tue Aug 28 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.6.rc1
c96d67
- Guard valgrind usage with valgrind_arches macro
c96d67
a47388
* Thu Aug 23 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.5.rc1
a47388
- Package lit tests and googletest sources.
a47388
1948d6
* Mon Aug 20 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.4.rc1
1948d6
- Re-enable AMDGPU target on ARM rhbz#1618922
1948d6
5636e8
* Mon Aug 13 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.3.rc1
5636e8
- Drop references to TestPlugin.so from cmake files
5636e8
a89454
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.2.rc1
a89454
- Fixes for lit tests
a89454
7a93d3
* Fri Aug 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.1.rc1
7a93d3
- 7.0.0-rc1 Release
7a93d3
- Reduce number of enabled targets on all arches.
7a93d3
- Drop s390 detection patch, LLVM does not support s390 codegen.
7a93d3
93d207
* Mon Aug 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-6
93d207
- Backport some fixes needed by mesa and rust
93d207
8c9aac
* Thu Jul 26 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-5
8c9aac
- Move libLLVM-6.0.so to llvm6.0-libs.
8c9aac
8c9aac
* Mon Jul 23 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-4
8c9aac
- Rebuild because debuginfo stripping failed with the previous build
8c9aac
da8f50
* Fri Jul 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
da8f50
- Sync specfile with llvm6.0 package
da8f50
a9a9a3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
a9a9a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a9a9a3
629a77
* Mon Jun 25 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
629a77
- 6.0.1 Release
629a77
ffa0ad
* Thu Jun 07 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.4.rc2
ffa0ad
- 6.0.1-rc2
ffa0ad
4da444
* Wed Jun 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.3.rc1
4da444
- Re-enable all targets to avoid breaking the ABI.
4da444
b772b3
* Mon Jun 04 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.2.rc1
b772b3
- Reduce the number of enabled targets based on the architecture
b772b3
e594b0
* Thu May 10 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.1.rc1
e594b0
- 6.0.1 rc1
e594b0
ff279e
* Tue Mar 27 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-11
ff279e
- Re-enable arm tests that used to hang
ff279e
221811
* Thu Mar 22 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-10
221811
- Fix testcase in backported patch
221811
3d213b
* Tue Mar 20 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-9
3d213b
- Prevent external projects from linking against both static and shared
3d213b
  libraries.  rhbz#1558657
3d213b
699e7b
* Mon Mar 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-8
699e7b
- Backport r327651 from trunk rhbz#1554349
699e7b
1afade
* Fri Mar 16 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-7
1afade
- Filter out cxxflags and cflags from llvm-config that aren't supported by clang
1afade
- rhbz#1556980
1afade
3ff252
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-6
3ff252
- Enable symbol versioning in libLLVM.so
3ff252
025cf6
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-5
025cf6
- Stop statically linking libstdc++.  This is no longer required by Steam
025cf6
  client, but the steam installer still needs a work-around which should
025cf6
  be handled in the steam package.
440eb0
* Wed Mar 14 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-4
440eb0
- s/make check/ninja check/
440eb0
e0bd4c
* Fri Mar 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-3
e0bd4c
- Backport fix for compile time regression on rust rhbz#1552915
e0bd4c
acd922
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-2
acd922
- Build with Ninja: This reduces RPM build time on a 6-core x86_64 builder
acd922
  from 82 min to 52 min.
acd922
539d4b
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-1
539d4b
- 6.0.0 Release
539d4b
c0f49c
* Thu Mar 08 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.5.rc2
c0f49c
- Reduce debuginfo size on i686 to avoid OOM errors during linking
c0f49c
3df6c8
* Fri Feb 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.4.rc2
3df6c8
- 6.0.1 rc2
3df6c8
f4cd5f
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-0.3.rc1
f4cd5f
- Escape macros in %%changelog
f4cd5f
e5951f
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-0.2.rc1
e5951f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e5951f
a264db
* Fri Jan 19 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
a264db
- 6.0.1 rc1
a264db
70bb4c
* Tue Dec 19 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
70bb4c
- 5.0.1 Release
70bb4c
f3d30b
* Mon Nov 20 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-5
f3d30b
- Backport debuginfo fix for rust
f3d30b
ca4631
* Fri Nov 03 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-4
ca4631
- Reduce debuginfo size for ARM
ca4631
8f4eab
* Tue Oct 10 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-2
8f4eab
- Reduce memory usage on ARM by disabling debuginfo and some non-ARM targets.
8f4eab
3d29fd
* Mon Sep 25 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-1
3d29fd
- 5.0.0 Release
3d29fd
c5c125
* Mon Sep 18 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-6
c5c125
- Add Requires: libedit-devel for llvm-devel
c5c125
dd2558
* Fri Sep 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-5
dd2558
- Enable libedit backend for LineEditor API
dd2558
cca2af
* Fri Aug 25 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-4
cca2af
- Enable extra functionality when run the LLVM JIT under valgrind.
cca2af
c26326
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
c26326
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c26326
c28afb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
c28afb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c28afb
d95c34
* Wed Jun 21 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
d95c34
- 4.0.1 Release
d95c34
383dd2
* Thu Jun 15 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-6
383dd2
- Install llvm utils
383dd2
7a52d8
* Thu Jun 08 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-5
7a52d8
- Fix docs-llvm-man target
7a52d8
4b6a50
* Mon May 01 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-4
4b6a50
- Make cmake files no longer depend on static libs (rhbz 1388200)
4b6a50
4d11f5
* Tue Apr 18 2017 Josh Stone <jistone@redhat.com> - 4.0.0-3
4d11f5
- Fix computeKnownBits for ARMISD::CMOV (rust-lang/llvm#67)
4d11f5
e6b944
* Mon Apr 03 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
e6b944
- Simplify spec with rpm macros.
e6b944
1bbe5a
* Thu Mar 23 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
1bbe5a
- LLVM 4.0.0 Final Release
1bbe5a
05920e
* Wed Mar 22 2017 tstellar@redhat.com - 3.9.1-6
f4cd5f
- Fix %%postun sep for -devel package.
05920e
53af60
* Mon Mar 13 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-5
53af60
- Disable failing tests on ARM.
53af60
146ec0
* Sun Mar 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 3.9.1-4
146ec0
- Fix missing mask on relocation for aarch64 (rhbz 1429050)
146ec0
974746
* Wed Mar 01 2017 Dave Airlie <airlied@redhat.com> - 3.9.1-3
974746
- revert upstream radeonsi breaking change.
974746
a5fe5a
* Thu Feb 23 2017 Josh Stone <jistone@redhat.com> - 3.9.1-2
a5fe5a
- disable sphinx warnings-as-errors
a5fe5a
Orion Poplawski 6448f2
* Fri Feb 10 2017 Orion Poplawski <orion@cora.nwra.com> - 3.9.1-1
Orion Poplawski 6448f2
- llvm 3.9.1
Orion Poplawski 6448f2
ce8c38
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-8
ce8c38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ce8c38
0c3be0
* Tue Nov 29 2016 Josh Stone <jistone@redhat.com> - 3.9.0-7
0c3be0
- Apply backports from rust-lang/llvm#55, #57
0c3be0
ba4dd4
* Tue Nov 01 2016 Dave Airlie 
ba4dd4
- rebuild for new arches
ba4dd4
88bc7e
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-5
88bc7e
- apply the patch from -4
88bc7e
f943e7
* Wed Oct 26 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-4
f943e7
- add fix for lldb out-of-tree build
f943e7
448866
* Mon Oct 17 2016 Josh Stone <jistone@redhat.com> - 3.9.0-3
448866
- Apply backports from rust-lang/llvm#47, #48, #53, #54
448866
307be8
* Sat Oct 15 2016 Josh Stone <jistone@redhat.com> - 3.9.0-2
307be8
- Apply an InstCombine backport via rust-lang/llvm#51
307be8
894065
* Wed Sep 07 2016 Dave Airlie <airlied@redhat.com> - 3.9.0-1
894065
- llvm 3.9.0
894065
- upstream moved where cmake files are packaged.
894065
- upstream dropped CppBackend
894065
2a3c79
* Wed Jul 13 2016 Adam Jackson <ajax@redhat.com> - 3.8.1-1
2a3c79
- llvm 3.8.1
2a3c79
- Add mips target
2a3c79
- Fix some shared library mispackaging
2a3c79
3019f5
* Tue Jun 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> - 3.8.0-2
3019f5
- fix color support detection on terminal
3019f5
8e7571
* Thu Mar 10 2016 Dave Airlie <airlied@redhat.com> 3.8.0-1
8e7571
- llvm 3.8.0 release
8e7571
c244b9
* Wed Mar 09 2016 Dan Horák <dan[at][danny.cz> 3.8.0-0.3
c244b9
- install back memory consumption workaround for s390
c244b9
861af0
* Thu Mar 03 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.2
861af0
- llvm 3.8.0 rc3 release
861af0
f8d533
* Fri Feb 19 2016 Dave Airlie <airlied@redhat.com> 3.8.0-0.1
f8d533
- llvm 3.8.0 rc2 release
f8d533
8b72be
* Tue Feb 16 2016 Dan Horák <dan[at][danny.cz> 3.7.1-7
8b72be
- recognize s390 as SystemZ when configuring build
8b72be
10a197
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-6
10a197
- export C++ API for mesa.
10a197
7a8517
* Sat Feb 13 2016 Dave Airlie <airlied@redhat.com> 3.7.1-5
7a8517
- reintroduce llvm-static, clang needs it currently.
7a8517
933aa4
* Fri Feb 12 2016 Dave Airlie <airlied@redhat.com> 3.7.1-4
933aa4
- jump back to single llvm library, the split libs aren't working very well.
933aa4
d0a77d
* Fri Feb 05 2016 Dave Airlie <airlied@redhat.com> 3.7.1-3
d0a77d
- add missing obsoletes (#1303497)
d0a77d
4fb79d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
4fb79d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4fb79d
ca904f
* Thu Jan 07 2016 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.1-1
ca904f
- new upstream release
ca904f
- enable gold linker
788950
ca904f
* Wed Nov 04 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
ca904f
- fix Requires for subpackages on the main package
Bryan O'Sullivan d291b4
ca904f
* Tue Oct 06 2015 Jan Vcelak <jvcelak@fedoraproject.org> 3.7.0-100
ca904f
- initial version using cmake build system