%global _binaries_in_noarch_packages_terminate_build %{nil} %global llvm_test_suite_version 18.1.4 #global rc_ver 4 %global test_suite_srcdir test-suite-%{llvm_test_suite_version}%{?rc_ver:rc%{rc_ver}}.src.fedora Name: llvm-test-suite Version: %{llvm_test_suite_version}%{?rc_ver:~rc%{rc_ver}} Release: 1%{?dist} Summary: C/C++ Compiler Test Suite 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 URL: http://llvm.org # The LLVM Test Suite contains progrms with "BAD" or unknown licenses which should # be removed. Some of the unknown licenses may be OK, but until they are reviewed, # we will remove them. # Use the pkg_test_suite.sh script to generate the test-suite tarball: # ./pkg_test_suite.sh # this condition is set by ./pkg_test_suite.sh to retrieve original sources %if 0%{?original_sources:1} 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 %else Source0: %{test_suite_srcdir}.tar.xz %endif Source1: license-files.txt Source2: pkg_test_suite.sh BuildArch: noarch # We need python3-devel for pathfix.py. BuildRequires: python3-devel Requires: cmake Requires: libstdc++-static Requires: python3-lit >= 0.8.0 Requires: llvm Requires: tcl Requires: which %description C/C++ Compiler Test Suite that is maintained as an LLVM sub-project. This test suite can be run with any compiler, not just clang. %prep %autosetup -n %{test_suite_srcdir} -p1 %{__python3} %{_rpmconfigdir}/redhat/pathfix.py -i %{__python3} -pn \ ParseMultipleResults \ utils/*.py \ CollectDebugInfoUsingLLDB.py \ CompareDebugInfo.py \ tools/get-report-time \ FindMissingLineNo.py \ MicroBenchmarks/libs/benchmark/googletest/googlemock/test/*.py \ MicroBenchmarks/libs/benchmark/googletest/googletest/test/*.py \ MicroBenchmarks/libs/benchmark/tools/*.py chmod -R -x+X ABI-Testsuite # Merge Licenses into a single file cat %{SOURCE1} | while read FILE; do echo $FILE >> LICENSE.TXT cat ./$FILE >> LICENSE.TXT done %build #nothing to do %install mkdir -p %{buildroot}%{_datadir}/llvm-test-suite/ cp -R %{_builddir}/%{test_suite_srcdir}/* %{buildroot}%{_datadir}/llvm-test-suite %files %license LICENSE.TXT %{_datadir}/llvm-test-suite/ %changelog * Sat May 04 2024 Tom Stellard - 18.1.4-1 - 18.1.4 Release * Wed Apr 17 2024 Tom Stellard - 18.1.3-1 - 18.1.3 Release * Fri Mar 22 2024 Tom Stellard - 18.1.2-1 - 18.1.2 Release * Wed Mar 13 2024 Tom Stellard - 18.1.1-1 - 18.1.1 Release * Thu Feb 29 2024 Tom Stellard - 18.1.0~rc4-1 - 18.1.0-rc4 Release * Thu Jan 25 2024 Fedora Release Engineering - 17.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 17.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Nov 28 2023 Tulio Magno Quites Machado Filho - 17.0.6-1 - Update to LLVM 17.0.6 * Thu Nov 16 2023 Tulio Magno Quites Machado Filho - 17.0.5-1 - Update to LLVM 17.0.5 * Wed Nov 01 2023 Tulio Magno Quites Machado Filho - 17.0.4-1 - Update to LLVM 17.0.4 * Tue Oct 17 2023 Tulio Magno Quites Machado Filho - 17.0.3-1 - Update to LLVM 17.0.3 * Tue Oct 03 2023 Tulio Magno Quites Machado Filho - 17.0.2-1 - Update to LLVM 17.0.2 * Sat Sep 23 2023 Tulio Magno Quites Machado Filho - 17.0.1-1 - Update to LLVM 17.0.1 * Fri Sep 08 2023 Tulio Magno Quites Machado Filho - 17.0.0~rc4-1 - Update to LLVM 17.0.0 RC4 * Thu Aug 24 2023 Tulio Magno Quites Machado Filho - 17.0.0~rc3-1 - Update to LLVM 17.0.0 RC3 * Wed Aug 23 2023 Tulio Magno Quites Machado Filho - 17.0.0~rc2-1 - Update to LLVM 17.0.0 RC2 * Tue Aug 01 2023 Tulio Magno Quites Machado Filho - 17.0.0~rc1-1 - Update to LLVM 17.0.0 RC1 * Thu Jul 20 2023 Fedora Release Engineering - 16.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 10 2023 Tulio Magno Quites Machado Filho - 16.0.6-1 - Update to LLVM 16.0.6 * Tue Jun 06 2023 Tulio Magno Quites Machado Filho - 16.0.5-1 - Update to LLVM 16.0.5 * Sat May 20 2023 Tulio Magno Quites Machado Filho - 16.0.4-1 - Update to LLVM 16.0.4 * Wed May 10 2023 Tulio Magno Quites Machado Filho - 16.0.3-1 - Update to LLVM 16.0.3 * Thu Apr 27 2023 Tulio Magno Quites Machado Filho - 16.0.2-1 - Update to LLVM 16.0.2 * Thu Apr 13 2023 Tulio Magno Quites Machado Filho - 16.0.1-1 - Update to LLVM 16.0.1 * Tue Mar 21 2023 Tulio Magno Quites Machado Filho - 16.0.0-1 - Update to LLVM 16.0.0 * Thu Jan 19 2023 Fedora Release Engineering - 15.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jan 13 2023 Nikita Popov - 15.0.7-1 - Update to LLVM 15.0.7 * Tue Dec 06 2022 Nikita Popov - 15.0.6-1 - Update to LLVM 15.0.6 * Mon Nov 07 2022 Nikita Popov - 15.0.4-1 - Update to LLVM 15.0.4 * Tue Sep 06 2022 Nikita Popov - 15.0.0-1 - Update to LLVM 15.0.0 * Thu Jul 21 2022 Fedora Release Engineering - 14.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Mar 30 2022 Tom Stellard - 14.0.0-1 - 14.0.0 Release * Thu Jan 20 2022 Fedora Release Engineering - 13.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Oct 01 2021 Tom Stellard - 13.0.0-1 - 13.0.0 Release * Mon Aug 09 2021 Tom Stellard - 13.0.0~rc1-1 - 13.0.0-rc1 Release * Thu Jul 22 2021 Fedora Release Engineering - 12.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jul 14 2021 Tom Stellard - 12.0.1-1 - 12.0.1 Release * Wed Jun 30 2021 Tom Stellard - 12.0.1~rc3-1 - 12.0.1-rc3 Release * Thu Jun 03 2021 Tom Stellard - 12.0.1~rc1-1 - 12.0.1-rc1 Release * Fri Apr 16 2021 Tom Stellard - 12.0.0-1 - 12.0.0 Release * Thu Apr 08 2021 sguelton@redhat.com - 12.0.0-0.6.rc5 - New upstream release candidate * Fri Apr 02 2021 sguelton@redhat.com - 12.0.0-0.5.rc4 - New upstream release candidate * Thu Mar 11 2021 sguelton@redhat.com - 12.0.0-0.4.rc3 - LLVM 12.0.0 rc3 * Tue Mar 09 2021 sguelton@redhat.com - 12.0.0-0.3.rc2 - rebuilt * Wed Feb 24 2021 sguelton@redhat.com - 12.0.0-0.2.rc2 - llvm 12.0.0-rc2 release * Wed Feb 03 2021 sguelton@redhat.com - 12.0.0-0.1.rc1 - llvm 12.0.0-rc1 release * Tue Jan 26 2021 Fedora Release Engineering - 11.1.0-0.3.rc2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 22 2021 Serge Guelton - 11.1.0-0.2.rc2 - llvm 11.1.0-rc2 release * Thu Jan 14 2021 Serge Guelton - 11.1.0-0.1.rc1 - 11.1.0-rc1 release * Wed Jan 06 2021 Serge Guelton - 11.0.1-3 - LLVM 11.0.1 final * Mon Dec 21 2020 sguelton@redhat.com - 11.0.1-2.rc2 - llvm 11.0.1-rc2 * Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1 - llvm 11.0.1-rc1 * Thu Oct 15 2020 sguelton@redhat.com - 11.0.0-1 - Fix NVR * Mon Oct 12 2020 sguelton@redhat.com - 11.0.0-0.5 - llvm 11.0.0 - final release * Thu Oct 08 2020 sguelton@redhat.com - 11.0.0-0.4.rc6 - 11.0.0-rc6 * Fri Oct 02 2020 sguelton@redhat.com - 11.0.0-0.3.rc5 - 11.0.0-rc5 Release * Sun Sep 27 2020 sguelton@redhat.com - 11.0.0-0.2.rc3 - Fix NVR * Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.1.rc3 - 11.0.0-rc3 Release * Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.1.rc2 - 11.0.0-rc2 Release * Wed Aug 19 2020 Tom Stellard - 11.0.0-0.2.rc1 - Fix build failure with clang 11 * Mon Aug 10 2020 Tom Stellard - 11.0.0-0.1.rc1 - 11.0.0-rc1 Release * Tue Jul 28 2020 Fedora Release Engineering - 10.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 18 2020 Tom Stellard - 10.0.0-2 - Fix build with newer glibc * Mon Mar 30 2020 sguelton@redhat.com - 10.0.0-1 - 10.0.0 final * Tue Mar 24 2020 sguelton@redhat.com - 10.0.0-0.6.rc6 - 10.0.0 rc6 * Sat Mar 21 2020 sguelton@redhat.com - 10.0.0-0.5.rc5 - 10.0.0 rc5 * Sat Mar 14 2020 sguelton@redhat.com - 10.0.0-0.4.rc4 - 10.0.0 rc4 * Thu Mar 05 2020 sguelton@redhat.com - 10.0.0-0.3.rc3 - 10.0.0 rc3 * Fri Feb 14 2020 sguelton@redhat.com - 10.0.0-0.2.rc2 - 10.0.0 rc2 * Fri Jan 31 2020 sguelton@redhat.com - 10.0.0-0.1.rc1 - 10.0.0 rc1 * Wed Jan 29 2020 Fedora Release Engineering - 9.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Sep 20 2019 Tom Stellard - 9.0.0-1 - 9.0.0 Release * Wed Sep 11 2019 Tom Stellard - 9.0.0-0.1.rc4 - 9.0.0-rc4 Release * Thu Jul 25 2019 Fedora Release Engineering - 8.0.0-3.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed May 29 2019 Tom Stellard - 8.0.0-3 - Fix python2 print statement in ABI-Testsuite * Thu May 02 2019 Tom Stellard - 8.0.0-2 - Bump lit version requirement * Wed Mar 20 2019 sguelton@redhat.com - 8.0.0-1 - 8.0.0 final * Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.4.rc4 - 8.0.0 Release candidate 4 * Mon Mar 4 2019 sguelton@redhat.com - 8.0.0-0.3.rc3 - 8.0.0 Release candidate 3 * Fri Feb 22 2019 sguelton@redhat.com - 8.0.0-0.2.rc2 - 8.0.0 Release candidate 2 * Mon Feb 11 2019 sguelton@redhat.com - 8.0.0-0.1.rc1 - 8.0.0 Release candidate 1 * Mon Feb 04 2019 sguelton@redhat.com - 7.0.1-4 - Fix Python3 dependency * Fri Feb 01 2019 Fedora Release Engineering - 7.0.1-3.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Dec 21 2018 Miro HronĨok - 7.0.1-3 - Remove Python2 dependency * Fri Dec 21 2018 Tom Stellard - 7.0.1-2 - Bump version of lit dependency * Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1 - 7.0.1 Release * Fri Oct 26 2018 Tom Stellard - 7.0.1-0.1.rc2 - 7.0.1-rc2 Release