Blame llvm-test-suite.spec

465575d
%global _binaries_in_noarch_packages_terminate_build %{nil}
465575d
0c6a13b
#global rc_ver 1
b193953
%global llvm_test_suite_version 16.0.1
ece1aa0
%global test_suite_srcdir test-suite-%{llvm_test_suite_version}%{?rc_ver:rc%{rc_ver}}.src.fedora
465575d
465575d
Name:		llvm-test-suite
ece1aa0
Version:	%{llvm_test_suite_version}%{?rc_ver:~rc%{rc_ver}}
7afaf1d
Release:	1%{?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:
158b072
# ./pkg_test_suite.sh
158b072
158b072
# this condition is set by ./pkg_test_suite.sh to retrieve original sources
158b072
%if 0%{?original_sources:1}
ece1aa0
Source0:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{llvm_test_suite_version}%{?rc_ver:-rc%{rc_ver}}/test-suite-%{llvm_test_suite_version}%{?rc_ver:rc%{rc_ver}}.src.tar.xz
158b072
%else
465575d
Source0:	%{test_suite_srcdir}.tar.xz
158b072
%endif
465575d
Source1:	license-files.txt
465575d
Source2:	pkg_test_suite.sh
465575d
BuildArch:	noarch
465575d
9c6d3c6
Patch0: 0001-Fix-extra-Python3-print-statements.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
152b1e0
%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -i %{__python3} -pn \
465575d
	ParseMultipleResults \
465575d
	utils/*.py \
465575d
	CollectDebugInfoUsingLLDB.py \
465575d
	CompareDebugInfo.py \
465575d
	tools/get-report-time \
465575d
	FindMissingLineNo.py \
9c0a152
	MicroBenchmarks/libs/benchmark/googletest/googlemock/test/*.py \
9c0a152
	MicroBenchmarks/libs/benchmark/googletest/googletest/test/*.py \
9c0a152
	MicroBenchmarks/libs/benchmark/tools/*.py
9c0a152
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
b193953
* Thu Apr 13 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-1
b193953
- Update to LLVM 16.0.1
b193953
7afaf1d
* Tue Mar 21 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0-1
7afaf1d
- Update to LLVM 16.0.0
7afaf1d
53df55b
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.7-2
53df55b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
53df55b
37573a6
* Fri Jan 13 2023 Nikita Popov <npopov@redhat.com> - 15.0.7-1
37573a6
- Update to LLVM 15.0.7
37573a6
c78af7e
* Tue Dec 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-1
c78af7e
- Update to LLVM 15.0.6
c78af7e
f846792
* Mon Nov 07 2022 Nikita Popov <npopov@redhat.com> - 15.0.4-1
f846792
- Update to LLVM 15.0.4
f846792
bbcebc4
* Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1
bbcebc4
- Update to LLVM 15.0.0
bbcebc4
6e09d00
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.0-2
6e09d00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
6e09d00
d551148
* Wed Mar 30 2022 Tom Stellard <tstellar@redhat.com> - 14.0.0-1
d551148
- 14.0.0 Release
d551148
dc7d148
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.0-2
dc7d148
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
dc7d148
0c6a13b
* Fri Oct 01 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
0c6a13b
- 13.0.0 Release
0c6a13b
9c0a152
* Mon Aug 09 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-1
9c0a152
- 13.0.0-rc1 Release
9c0a152
148f096
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
148f096
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
148f096
7e50471
* Wed Jul 14 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-1
7e50471
- 12.0.1 Release
7e50471
c324ce3
* Wed Jun 30 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc3-1
70574da
- 12.0.1-rc3 Release
70574da
ece1aa0
* Thu Jun 03 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc1-1
ece1aa0
- 12.0.1-rc1 Release
ece1aa0
6e8a943
* Fri Apr 16 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-1
6e8a943
- 12.0.0 Release
6e8a943
c31cad0
* Thu Apr 08 2021 sguelton@redhat.com - 12.0.0-0.6.rc5
c31cad0
- New upstream release candidate
c31cad0
0cc7f08
* Fri Apr 02 2021 sguelton@redhat.com - 12.0.0-0.5.rc4
0cc7f08
- New upstream release candidate
0cc7f08
4c29279
* Thu Mar 11 2021 sguelton@redhat.com - 12.0.0-0.4.rc3
4c29279
- LLVM 12.0.0 rc3
4c29279
c9d10bf
* Tue Mar 09 2021 sguelton@redhat.com - 12.0.0-0.3.rc2
c9d10bf
- rebuilt
c9d10bf
92616e9
* Wed Feb 24 2021 sguelton@redhat.com - 12.0.0-0.2.rc2
92616e9
- llvm 12.0.0-rc2 release
92616e9
92616e9
* Wed Feb 03 2021 sguelton@redhat.com - 12.0.0-0.1.rc1
8c5116f
- llvm 12.0.0-rc1 release
8c5116f
bb31132
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.1.0-0.3.rc2
bb31132
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
bb31132
e31a041
* Fri Jan 22 2021 Serge Guelton - 11.1.0-0.2.rc2
e31a041
- llvm 11.1.0-rc2 release
e31a041
f000397
* Thu Jan 14 2021 Serge Guelton - 11.1.0-0.1.rc1
f000397
- 11.1.0-rc1 release
f000397
393ba07
* Wed Jan 06 2021 Serge Guelton - 11.0.1-3
393ba07
- LLVM 11.0.1 final
393ba07
c8eddf3
* Mon Dec 21 2020 sguelton@redhat.com - 11.0.1-2.rc2
c8eddf3
- llvm 11.0.1-rc2
c8eddf3
91e0599
* Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1
91e0599
- llvm 11.0.1-rc1
91e0599
59ff57a
* Thu Oct 15 2020 sguelton@redhat.com - 11.0.0-1
59ff57a
- Fix NVR
59ff57a
12696d6
* Mon Oct 12 2020 sguelton@redhat.com - 11.0.0-0.5
12696d6
- llvm 11.0.0 - final release
12696d6
3838bb7
* Thu Oct 08 2020 sguelton@redhat.com - 11.0.0-0.4.rc6
3838bb7
- 11.0.0-rc6
3838bb7
158b072
* Fri Oct 02 2020 sguelton@redhat.com - 11.0.0-0.3.rc5
158b072
- 11.0.0-rc5 Release
158b072
a5d4b82
* Sun Sep 27 2020 sguelton@redhat.com - 11.0.0-0.2.rc3
a5d4b82
- Fix NVR
a5d4b82
351ebfb
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.1.rc3
351ebfb
- 11.0.0-rc3 Release
351ebfb
0c93162
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.1.rc2
0c93162
- 11.0.0-rc2 Release
0c93162
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