465575d
%global _binaries_in_noarch_packages_terminate_build %{nil}
465575d
40373c8
#%%global rc_ver 1
fdc2e2f
%global baserelease 1
465575d
%global test_suite_srcdir test-suite-%{version}%{?rc_ver:rc%{rc_ver}}.src.fedora
465575d
465575d
Name:		llvm-test-suite
9c6d3c6
Version:	11.0.0
93d62cd
Release:	%{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
465575d
Summary:	C/C++ Compiler Test Suite
465575d
465575d
License:	NCSA and BSD and GPLv1 and GPLv2+ and GPLv2 and MIT and Python and Public Domain and CRC32 and AML and Rdisc and ASL 2.0 and LGPLv3
465575d
URL:		http://llvm.org
465575d
# The LLVM Test Suite contains progrms with "BAD" or unknown licenses which should
465575d
# be removed.  Some of the unknown licenses may be OK, but until they are reviewed,
465575d
# we will remove them.
465575d
# Use the pkg_test_suite.sh script to generate the test-suite tarball:
465575d
# wget http://llvm.org/releases/%%{version}/%%{test_suite_srcdir}.tar.xz
465575d
# ./pkg_test_suite.sh %%{test_suite_srcdir}.tar.xz
465575d
Source0:	%{test_suite_srcdir}.tar.xz
465575d
Source1:	license-files.txt
465575d
Source2:	pkg_test_suite.sh
465575d
BuildArch:	noarch
465575d
9c6d3c6
Patch0: 0001-Fix-extra-Python3-print-statements.patch
9c6d3c6
Patch1: 0001-CLAMR-Fix-build-with-newer-glibc.patch
8cd2abd
465575d
# We need python3-devel for pathfix.py.
465575d
BuildRequires: python3-devel
465575d
465575d
Requires: cmake
465575d
Requires: libstdc++-static
a946598
Requires: python3-lit >= 0.8.0
465575d
Requires: llvm
465575d
Requires: tcl
465575d
Requires: which
465575d
465575d
%description
465575d
C/C++ Compiler Test Suite that is maintained as an LLVM sub-project.  This test
465575d
suite can be run with any compiler, not just clang.
465575d
465575d
465575d
%prep
465575d
%autosetup -n %{test_suite_srcdir} -p1
465575d
dfd9a58
pathfix.py -i %{__python3} -pn \
465575d
	ParseMultipleResults \
465575d
	utils/*.py \
465575d
	CollectDebugInfoUsingLLDB.py \
465575d
	CompareDebugInfo.py \
465575d
	tools/get-report-time \
465575d
	FindMissingLineNo.py \
465575d
	MicroBenchmarks/libs/benchmark-1.3.0/tools/compare_bench.py
465575d
465575d
chmod -R -x+X ABI-Testsuite
465575d
465575d
# Merge Licenses into a single file
465575d
cat %{SOURCE1} | while read FILE; do
465575d
	echo $FILE >> LICENSE.TXT
465575d
	cat ./$FILE >> LICENSE.TXT
465575d
done
465575d
9ea0488
%build
9ea0488
9ea0488
#nothing to do
9ea0488
465575d
%install
465575d
mkdir -p %{buildroot}%{_datadir}/llvm-test-suite/
465575d
cp -R %{_builddir}/%{test_suite_srcdir}/* %{buildroot}%{_datadir}/llvm-test-suite
465575d
465575d
465575d
%files
465575d
%license LICENSE.TXT
465575d
%{_datadir}/llvm-test-suite/
465575d
465575d
465575d
%changelog
fdc2e2f
* Thu Oct 15 2020 sguelton@redhat.com - 11.0.0-1
fdc2e2f
- Fix NVR
fdc2e2f
40373c8
* Tue Oct 13 2020 sguelton@redhat.com - 11.0.0-0.3
40373c8
- llvm 11.0.0 - final release
40373c8
fc5168e
* Wed Aug 19 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.2.rc1
fc5168e
- Fix build failure with clang 11
fc5168e
9c6d3c6
* Mon Aug 10 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1.rc1
9c6d3c6
- 11.0.0-rc1 Release
9c6d3c6
5e864e3
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-3
5e864e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5e864e3
29bff44
* Thu Jun 18 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-2
29bff44
- Fix build with newer glibc
29bff44
249bc32
* Mon Mar 30 2020 sguelton@redhat.com - 10.0.0-1
249bc32
- 10.0.0 final
249bc32
e934d7f
* Tue Mar 24 2020 sguelton@redhat.com - 10.0.0-0.6.rc6
e934d7f
- 10.0.0 rc6
e934d7f
d122469
* Sat Mar 21 2020 sguelton@redhat.com - 10.0.0-0.5.rc5
d122469
- 10.0.0 rc5
d122469
7b74fb7
* Sat Mar 14 2020 sguelton@redhat.com - 10.0.0-0.4.rc4
7b74fb7
- 10.0.0 rc4
7b74fb7
f82c141
* Thu Mar 05 2020 sguelton@redhat.com - 10.0.0-0.3.rc3
f82c141
- 10.0.0 rc3
f82c141
8cd2abd
* Fri Feb 14 2020 sguelton@redhat.com - 10.0.0-0.2.rc2
8cd2abd
- 10.0.0 rc2
8cd2abd
a2e27de
* Fri Jan 31 2020 sguelton@redhat.com - 10.0.0-0.1.rc1
a2e27de
- 10.0.0 rc1
a2e27de
ba0dd57
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-2
ba0dd57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ba0dd57
2487313
* Fri Sep 20 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
2487313
- 9.0.0 Release
2487313
93d62cd
* Wed Sep 11 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.1.rc4
93d62cd
- 9.0.0-rc4 Release
93d62cd
b1f621d
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-3.1
b1f621d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b1f621d
7427d84
* Wed May 29 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-3
7427d84
- Fix python2 print statement in ABI-Testsuite
7427d84
a946598
* Thu May 02 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-2
a946598
- Bump lit version requirement
a946598
ee2f832
* Wed Mar 20 2019 sguelton@redhat.com - 8.0.0-1
ee2f832
- 8.0.0 final
ee2f832
f7c2e0b
* Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.4.rc4
f7c2e0b
- 8.0.0 Release candidate 4
f7c2e0b
d5df3c1
* Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.3.rc3
d5df3c1
- 8.0.0 Release candidate 3
d5df3c1
51578cd
* Fri Feb 22 2019 sguelton@redhat.com - 8.0.0-0.2.rc2
51578cd
- 8.0.0 Release candidate 2
51578cd
51578cd
* Mon Feb 11 2019 sguelton@redhat.com - 8.0.0-0.1.rc1
6627893
- 8.0.0 Release candidate 1
6627893
35f3acc
* Mon Feb 04 2019 sguelton@redhat.com - 7.0.1-4
35f3acc
- Fix Python3 dependency
35f3acc
55ebe02
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-3.1
55ebe02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
55ebe02
dfd9a58
* Fri Dec 21 2018 Miro HronĨok <mhroncok@redhat.com> - 7.0.1-3
dfd9a58
- Remove Python2 dependency
dfd9a58
0bf58c5
* Fri Dec 21 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-2
0bf58c5
- Bump version of lit dependency
0bf58c5
9ea0488
* Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1
9ea0488
- 7.0.1 Release
9ea0488
465575d
* Fri Oct 26 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.1.rc2
465575d
- 7.0.1-rc2 Release