diff --git a/.copr/Makefile b/.copr/Makefile new file mode 100644 index 0000000..4d3b5f8 --- /dev/null +++ b/.copr/Makefile @@ -0,0 +1,39 @@ +# See https://docs.pagure.org/copr.copr/user_documentation.html#make-srpm +# See for the --setopt option in the enabling of copr repo see: +# https://pagure.io/copr/copr/issue/184 + +COPR_USERNAME=$(shell rpm --eval %copr_username) +COPR_PROJECT=$(shell rpm --eval %copr_projectname) +YYYYMMDD=$(shell date +%Y%m%d) + +required_packages=git tar xz curl fedpkg rpmautospec +outdir?=$(shell pwd) +spec?=llvm-test-suite.spec + +.PHONY: srpm +srpm: + @echo "Check for required packages needed by snapshot-info.sh: $(required_packages)" + rpm -q $(required_packages) || dnf install -y $(required_packages) --setopt=install_weak_deps=False + + @echo "Fetch information about today's snapshot" + YYYYMMDD=$(YYYYMMDD) ./.copr/snapshot-info.sh > version.spec.inc + + @echo "Test that we wanna build a snapshot today by parsing the versions.spec.inc" + rpm --eval="$$(cat version.spec.inc)" + + @echo "Remove left-over llvm-test-suite tarball and signature" + rm -vf $(shell pwd)/llvm-test-suite-*.tar.xz* + + @echo "Prepare sources" + SNAPSHOT_BUILD=1 ./pkg_test_suite.sh + + @echo "Preprocess for rpmautospec" + rpmautospec process-distgit $(spec) $(spec) + + @echo "Finally build SRPM" + rpmbuild \ + --with=snapshot_build \ + --define "_srcrpmdir $(outdir)" \ + --define "_sourcedir $(shell pwd)" \ + --define "_disable_source_fetch 0" \ + -bs $(spec) diff --git a/.copr/snapshot-info.sh b/.copr/snapshot-info.sh new file mode 100755 index 0000000..92399fe --- /dev/null +++ b/.copr/snapshot-info.sh @@ -0,0 +1,16 @@ +#!/usr/bin/bash + +set -ex + +function loginfo() { + local msg=$1 + >&2 echo "[INFO]" $msg +} + +loginfo "Determine date in YYYYMMDD form" +llvm_snapshot_yyyymmdd=$(date +%Y%m%d) +[[ ! -z "${YYYYMMDD}" ]] && llvm_snapshot_yyyymmdd=$YYYYMMDD + +version_url=https://github.com/fedora-llvm-team/llvm-snapshots/releases/download/llvm-test-suite-version-sync/llvm-test-suite-version-${llvm_snapshot_yyyymmdd}.txt +loginfo "Get the revision for today from $version_url" +curl -sLf $version_url diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.gitignore b/.gitignore index e186471..f6503c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +version.spec.inc /test-suite-7.0.1rc2.src.fedora.tar.xz /test-suite-7.0.1.src.fedora.tar.xz /test-suite-8.0.0rc1.src.fedora.tar.xz @@ -42,4 +43,58 @@ /test-suite-13.0.0.src.tar.xz /test-suite-13.0.0.src.tar.xz.sig /test-suite-13.0.0.src.fedora.tar.xz -/test-suite-13.0.1.src.fedora.tar.xz +/test-suite-14.0.0.src.fedora.tar.xz +/test-suite-15.0.0.src.fedora.tar.xz +/test-suite-15.0.4.src.fedora.tar.xz +/test-suite-15.0.6.src.fedora.tar.xz +/test-suite-15.0.7.src.fedora.tar.xz +/test-suite-16.0.0.src.fedora.tar.xz +/test-suite-16.0.1.src.fedora.tar.xz +/test-suite-16.0.2.src.fedora.tar.xz +/test-suite-16.0.3.src.fedora.tar.xz +/test-suite-16.0.4.src.fedora.tar.xz +/test-suite-16.0.5.src.fedora.tar.xz +/test-suite-16.0.6.src.fedora.tar.xz +/test-suite-17.0.0rc1.src.fedora.tar.xz +/test-suite-17.0.0rc2.src.fedora.tar.xz +/test-suite-17.0.0rc3.src.fedora.tar.xz +/test-suite-17.0.0rc4.src.fedora.tar.xz +/test-suite-17.0.1.src.fedora.tar.xz +/test-suite-17.0.2.src.fedora.tar.xz +/test-suite-17.0.3.src.fedora.tar.xz +/test-suite-17.0.4.src.fedora.tar.xz +/test-suite-17.0.5.src.fedora.tar.xz +/test-suite-17.0.6.src.fedora.tar.xz +/test-suite-18.1.0rc4.src.fedora.tar.xz +/test-suite-18.1.1.src.tar.xz +/test-suite-18.1.1.src.fedora.tar.xz +/test-suite-18.1.2.src.fedora.tar.xz +/test-suite-18.1.3.src.fedora.tar.xz +/test-suite-18.1.4.src.fedora.tar.xz +/test-suite-18.1.6.src.fedora.tar.xz +/test-suite-18.1.7.src.fedora.tar.xz +/test-suite-18.1.8.src.fedora.tar.xz +/test-suite-19.1.0-rc4.src.fedora.tar.xz +/test-suite-19.1.0.src.fedora.tar.xz +/test-suite-19.1.3.src.fedora.tar.xz +/test-suite-19.1.4.src.fedora.tar.xz +/test-suite-19.1.5.src.fedora.tar.xz +/test-suite-19.1.6.src.fedora.tar.xz +/test-suite-19.1.7.src.fedora.tar.xz +/test-suite-20.1.0.src.fedora.tar.xz +/test-suite-20.1.1.src.fedora.tar.xz +/test-suite-20.1.2.src.fedora.tar.xz +/test-suite-20.1.3.src.fedora.tar.xz +/test-suite-20.1.5.src.fedora.tar.xz +/test-suite-20.1.6.src.fedora.tar.xz +/test-suite-20.1.7.src.fedora.tar.xz +/test-suite-20.1.8.src.fedora.tar.xz +/test-suite-21.1.0.src.fedora.tar.xz +/test-suite-21.1.1.src.fedora.tar.xz +/test-suite-21.1.2.src.fedora.tar.xz +/test-suite-21.1.3.src.fedora.tar.xz +/test-suite-21.1.4.src.fedora.tar.xz +/test-suite-21.1.5.src.fedora.tar.xz +/test-suite-21.1.6.src.fedora.tar.xz +/test-suite-21.1.7.src.fedora.tar.xz +/test-suite-21.1.8.src.fedora.tar.xz diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..a3f8631 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,41 @@ +# We want to use the following Packit functions in the llvm package: +# pull_from_upstream + +# See the documentation for more information: +# https://packit.dev/docs/configuration/ + +specfile_path: llvm-test-suite.spec + +# name in upstream package repository or registry (e.g. in PyPI) +upstream_package_name: llvm +upstream_tag_template: llvmorg-{version} +# downstream (Fedora) RPM package name +downstream_package_name: llvm-test-suite +prerelease_suffix_pattern: "([.\\-_]?)(a(lpha)?|b(eta)?|r?c|pre(view)?)([.\\-_]?\\d+)?" +prerelease_suffix_macro: prerel + +# Do not create README.packit. +create_sync_note: false + +actions: + prepare-files: + - >- + bash -c "pushd $(mktemp -d); \ + cp $PACKIT_DOWNSTREAM_REPO/llvm-test-suite.spec \ + $PACKIT_DOWNSTREAM_REPO/release-keys.asc \ + $PACKIT_DOWNSTREAM_REPO/pkg_test_suite.sh \ + .; \ + ./pkg_test_suite.sh $PACKIT_PROJECT_VERSION; \ + mv test-suite-$PACKIT_PROJECT_VERSION.src.fedora.tar.xz $PACKIT_DOWNSTREAM_REPO;" + +jobs: + - job: pull_from_upstream + trigger: release + dist_git_branches: + # We try to keep fedora-latest in sync with fedora-rawhide with + # fast-forward merges. For that reason, we only update fedora-rawhide. + - fedora-rawhide + + +# We avoid to use koji_build and bodhi_update because llvm updates are +# frequently provided via side-tags due to the impact to other packages. diff --git a/0001-Fix-extra-Python3-print-statements.patch b/0001-Fix-extra-Python3-print-statements.patch deleted file mode 100644 index fc5fa0b..0000000 --- a/0001-Fix-extra-Python3-print-statements.patch +++ /dev/null @@ -1,25 +0,0 @@ -From ff9f6386e9676f1b1507b8ca3ad6f314e766229d Mon Sep 17 00:00:00 2001 -From: serge-sans-paille -Date: Mon, 4 Feb 2019 15:18:03 +0000 -Subject: [PATCH] Fix extra Python3 print statements - ---- - ABI-Testsuite/test/lit.site.cfg | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/ABI-Testsuite/test/lit.site.cfg b/ABI-Testsuite/test/lit.site.cfg -index 938cb29..3f7dd4e 100755 ---- a/ABI-Testsuite/test/lit.site.cfg -+++ b/ABI-Testsuite/test/lit.site.cfg -@@ -154,7 +154,7 @@ def determinePlatform(): - hfp.write("#define ABISELECT(a,b) b // LP64 x86\n") - # #sys.exit(1) - else: -- print "ERROR: Invalid combination of config options. tspec= " , tspec -+ print("ERROR: Invalid combination of config options. tspec= " , tspec) - sys.exit(1) - hfp.close() - --- -1.8.3.1 - diff --git a/changelog b/changelog new file mode 100644 index 0000000..8169edb --- /dev/null +++ b/changelog @@ -0,0 +1,353 @@ +* Thu Nov 06 2025 Tom Stellard - 21.1.5-1 +- Update to LLVM 21.1.5 + +* Fri Oct 24 2025 Tom Stellard - 21.1.4-1 +- Update to LLVM 21.1.4 + +* Sat Oct 11 2025 Tom Stellard - 21.1.3-1 +- Update to LLVM 21.1.3 + +* Thu Sep 25 2025 Tom Stellard - 21.1.2-1 +- Update to LLVM 21.1.2 + +* Thu Sep 11 2025 Tom Stellard - 21.1.1-1 +- Update to LLVM 21.1.1 + +* Thu Aug 28 2025 Tom Stellard - 21.1.0-1 +- Update to LLVM 21.1.0 + +* Thu Jul 24 2025 Fedora Release Engineering - 20.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Thu Jul 10 2025 Nikita Popov - 20.1.8-1 +- Update to LLVM 20.1.8 + +* Fri Jun 20 2025 Nikita Popov - 20.1.7-1 +- Update to LLVM 20.1.7 + +* Mon Jun 02 2025 Nikita Popov - 20.1.6-1 +- Update to LLVM 20.1.6 + +* Mon May 26 2025 Nikita Popov - 20.1.5-1 +- Update to LLVM 20.1.5 + +* Tue Apr 22 2025 Nikita Popov - 20.1.3-1 +- Update to LLVM 20.1.3 + +* Thu Apr 03 2025 Nikita Popov - 20.1.2-1 +- Update to LLVM 20.1.2 + +* Thu Mar 20 2025 Nikita Popov - 20.1.1-1 +- Update to LLVM 20.1.1 + +* Wed Mar 05 2025 Nikita Popov - 20.1.0-1 +- Update to LLVM 20.1.0 + +* Fri Jan 24 2025 Timm Bäder - 19.1.7-2 +- Backport upstream patch to fix typedef bool error with GCC 15 + +* Wed Jan 22 2025 Timm Bäder - 19.1.7-1 +- Update to 19.1.7 + +* Fri Jan 17 2025 Fedora Release Engineering - 19.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Thu Jan 02 2025 Timm Bäder - 19.1.6-1 +- Update to 19.1.6 + +* Fri Dec 06 2024 Timm Bäder - 19.1.5-1 +- Update to 19.1.5 + +* Mon Nov 25 2024 Timm Bäder - 19.1.4-1 +- Update to 19.1.4 + +* Fri Nov 08 2024 Timm Bäder - 19.1.3-1 +- Update to 19.1.3 + +* Tue Oct 15 2024 Konrad Kleine - 19.1.0-3 +- Remove MultiSource/Applications/ClamAV directory because of viruses in input files + +* Wed Oct 09 2024 Konrad Kleine - 19.1.0-2 +- Remove broken links in source tarball + +* Thu Sep 19 2024 Timm Bäder - 19.1.0-1 +- Update to 19.1.0 + +* Tue Sep 17 2024 Timm Bäder - 19.1.0~rc4-1 +- Update to 19.1.0-rc4 + +* Mon Sep 02 2024 Miroslav Suchý - 18.1.8-3 +- convert license to SPDX + +* Thu Jul 18 2024 Fedora Release Engineering - 18.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jul 12 2024 Jesus Checa Hidalgo - 18.1.8-1 +- 18.1.8 Release + +* Fri Jun 14 2024 Tom Stellard - 18.1.7-1 +- 18.1.7 Release + +* Tue May 21 2024 Tom Stellard - 18.1.6-1 +- 18.1.6 Release + +* 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 diff --git a/license-files.txt b/license-files.txt index 3564e44..acad1f7 100644 --- a/license-files.txt +++ b/license-files.txt @@ -1,5 +1,4 @@ autoconf/LICENSE.TXT -CTMark/ClamAV/COPYING CTMark/consumer-typeset/LICENSE CTMark/kimwitu++/COPYING CTMark/kimwitu++/LICENSE.TXT @@ -11,7 +10,6 @@ MultiSource/Applications/aha/LICENSE.TXT MultiSource/Applications/ALAC/decode/LICENSE MultiSource/Applications/ALAC/encode/LICENSE MultiSource/Applications/ALAC/LICENSE -MultiSource/Applications/ClamAV/COPYING MultiSource/Applications/hbd/doc/COPYING MultiSource/Applications/hbd/LICENSE.TXT MultiSource/Applications/hexxagon/COPYING diff --git a/llvm-test-suite.spec b/llvm-test-suite.spec index 797a4dd..5bd842d 100644 --- a/llvm-test-suite.spec +++ b/llvm-test-suite.spec @@ -1,17 +1,25 @@ %global _binaries_in_noarch_packages_terminate_build %{nil} -#global rc_ver 1 -%global llvm_test_suite_version 13.0.1 -%global test_suite_srcdir test-suite-%{llvm_test_suite_version}%{?rc_ver:rc%{rc_ver}}.src.fedora +%global llvm_test_suite_version 21.1.8 +#global rc_ver 3 +%global test_suite_srcdir test-suite-%{llvm_test_suite_version}%{?rc_ver:-rc%{rc_ver}}.src.fedora + +%bcond_with snapshot_build + +%if %{with snapshot_build} +%include %{_sourcedir}/version.spec.inc +%global llvm_test_suite_version_suffix pre%{llvm_test_suite_date}.g%{llvm_test_suite_git_revision_short} +%global test_suite_srcdir llvm-test-suite-%{llvm_test_suite_git_revision}.fedora +%endif Name: llvm-test-suite -Version: %{llvm_test_suite_version}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Version: %{llvm_test_suite_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_test_suite_version_suffix:~%{llvm_test_suite_version_suffix}} +Release: %autorelease 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 +License: NCSA AND BSD-3-Clause-LBNL AND BSD-4.3TAHOE AND dtoa AND GPL-1.0-only AND GPL-2.0-or-later AND GPL-2.0-only AND MIT AND PSF-2.0 AND LicenseRef-Fedora-Public-Domain AND LicenseRef-Fedora-UltraPermissive AND AML AND Rdisc AND Apache-2.0 AND LGPL-3.0-only URL: http://llvm.org -# The LLVM Test Suite contains progrms with "BAD" or unknown licenses which should +# The LLVM Test Suite contains programs 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: @@ -19,16 +27,22 @@ URL: http://llvm.org # 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 +%if %{with snapshot_build} +Source0: https://github.com/llvm/llvm-test-suite/archive/%{llvm_test_suite_git_revision}.tar.gz +%else +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 +%endif %else Source0: %{test_suite_srcdir}.tar.xz %endif Source1: license-files.txt Source2: pkg_test_suite.sh +Source3: changelog +%if %{with snapshot_build} +Source1000: version.spec.inc +%endif BuildArch: noarch -Patch0: 0001-Fix-extra-Python3-print-statements.patch - # We need python3-devel for pathfix.py. BuildRequires: python3-devel @@ -47,18 +61,14 @@ suite can be run with any compiler, not just clang. %prep %autosetup -n %{test_suite_srcdir} -p1 -pathfix.py -i %{__python3} -pn \ +%py3_shebang_fix \ ParseMultipleResults \ utils/*.py \ CollectDebugInfoUsingLLDB.py \ CompareDebugInfo.py \ tools/get-report-time \ FindMissingLineNo.py \ - MicroBenchmarks/libs/benchmark/googletest/googlemock/scripts/*.py \ - MicroBenchmarks/libs/benchmark/googletest/googlemock/scripts/generator/*.py \ - MicroBenchmarks/libs/benchmark/googletest/googlemock/scripts/generator/cpp/*.py \ MicroBenchmarks/libs/benchmark/googletest/googlemock/test/*.py \ - MicroBenchmarks/libs/benchmark/googletest/googletest/scripts/*.py \ MicroBenchmarks/libs/benchmark/googletest/googletest/test/*.py \ MicroBenchmarks/libs/benchmark/tools/*.py @@ -86,167 +96,5 @@ cp -R %{_builddir}/%{test_suite_srcdir}/* %{buildroot}%{_datadir}/llvm-test-suit %changelog -* Thu Aug 04 2022 Tom Stellard - 13.0.1-1 -- 13.0.1 Release - -* 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 +%{?autochangelog:%autochangelog} +%{!?autochangelog:%include %{_sourcedir}/changelog} diff --git a/pkg_test_suite.sh b/pkg_test_suite.sh old mode 100644 new mode 100755 index 44c5556..e695125 --- a/pkg_test_suite.sh +++ b/pkg_test_suite.sh @@ -1,20 +1,47 @@ #!/bin/bash set -ex + +SNAPSHOT_BUILD=${SNAPSHOT_BUILD:-0} + tmpdir=`mktemp -d` currentdir=`pwd` +version="$1" -specfile=`basename $currentdir` - -spectool --define 'original_sources 1' -R -g -C . $specfile.spec | tee dl.log - -original_sources=`awk 'NR==1 {print $4;}' dl.log | cut -c 3-` -rm dl.log +if [ -n "$version" ]; then + gpghome=`mktemp -d` + original_sources="test-suite-$version.src.tar.xz" + download_url="https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/$original_sources" + curl -O -L $download_url + curl -O -L $download_url.sig + gpg --homedir=$gpghome --yes --output=keyring.gpg --dearmor release-keys.asc + gpg --verify --homedir=$gpghome --keyring=./keyring.gpg $original_sources.sig $original_sources + rm -Rf $gpghome +else + if [[ "${SNAPSHOT_BUILD}" == "1" ]]; then + spectool \ + --define 'original_sources 1' \ + --define "_sourcedir ${PWD}" \ + --define "with_snapshot_build 1" \ + -g \ + -C . \ + llvm-test-suite.spec \ + | tee dl.log + else + spectool \ + --define 'original_sources 1' \ + -g \ + -C . \ + llvm-test-suite.spec \ + | tee dl.log + fi + original_sources=`head -1 dl.log | sed 's/.*\///'` + rm dl.log +fi -tar -C $tmpdir -xJf $original_sources - -test_suite_src=`echo $original_sources | cut -d . -f 1-4` +tar -C $tmpdir -xvf $original_sources > $tmpdir/tar_output +test_suite_src=`head -1 $tmpdir/tar_output | sed -e 's/\/.*//'` pushd $tmpdir test -d $test_suite_src @@ -38,12 +65,14 @@ POSSIBLY_BAD="\ MultiSource/Applications/Burg/ \ MultiSource/Benchmarks/MiBench/telecomm-FFT/" +VIRUSES="\ + MultiSource/Applications/ClamAV/" #siod: llvm.org/PR38648 BUGGY="\ MultiSource/Applications/siod" -for f in $UNKNOWN $BAD $POSSIBLY_BAD $BUGGY; do +for f in $UNKNOWN $BAD $POSSIBLY_BAD $BUGGY $VIRUSES; do test -d $test_suite_src/$f rm -Rf $test_suite_src/$f basedir=`dirname $f` @@ -51,9 +80,28 @@ for f in $UNKNOWN $BAD $POSSIBLY_BAD $BUGGY; do cmake_file=$test_suite_src/$basedir/CMakeLists.txt test -f $cmake_file sed -i s/add_subdirectory\($dir\)//g $cmake_file +done +# The llvm-test-suite now contains broken symlinks because +# the link target was removed above, e.g. +# +# /usr/share/llvm-test-suite/CTMark/7zip -> ../MultiSource/Benchmarks/7zip +# /usr/share/llvm-test-suite/CTMark/lencod -> ../MultiSource/Applications/JM/lencod +# +# To fix these algorithmically, we have to find all broken +# symlinks and remove the add_subdirectory entry in the +# CMakeLists.txt in their parent directory. +broken_symlinks=$(find $test_suite_src -type l ! -exec test -e {} \; -print) +for f in $broken_symlinks; do + test -L $f + rm -fv $f + basedir=`dirname $f` + dir=`basename $f` + cmake_file=$basedir/CMakeLists.txt + test -f $cmake_file + sed -i s/add_subdirectory\($dir\)//g $cmake_file done tar --transform=s/$test_suite_src/$test_suite_src.fedora/ --show-transformed-names -cJf $currentdir/$test_suite_src.fedora.tar.xz $test_suite_src -pushd +popd rm -Rf $tmpdir diff --git a/release-keys.asc b/release-keys.asc new file mode 100644 index 0000000..3932562 --- /dev/null +++ b/release-keys.asc @@ -0,0 +1,130 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGNBGLtemUBDADClvDIromq0Y4TX+wyRyYCq5WusPQheQuY8dVCXd9KhMpYAv8U +X15E5boH/quGpJ0ZlVkWcf+1WUHIrQWlbzQdIx514CDM7DBgO92CXsnn86kIMDW+ +9S+Hkn8upbizT1fWritlHwzD9osz7ZQRq7ac03PPgw27tqeIizHGuG4VNLyhbbjA +w+0VLFSu3r219eevS+lzBIvR5U9W720jFxWxts4UvaGuD6XW1ErcsTvuhgyCKrrs +gxO5Ma/V7r0+lqRL688ZPr4HxthwsON1YCfpNiMZ6sgxT8rOE0qL/d07ItbnXxz6 +KdcNWIXamTJKJgag6Tl0gYX4KIuUCcivXaRdJtUcFFsveCorkdHkdGNos403XR89 +5u9gq7Ef10Zahsv5GjE2DV5oFCEhXvfIWxvyeJa65iBkJafElb2stgUjkIut2a2u ++XmpKpwpGSFklce1ABLrmazlLjhsYiJVrz5l5ktoT9moE4GaF7Q5LD6JgsxzLE0U +Tzo9/AQPd8qG2REAEQEAAbQeVG9iaWFzIEhpZXRhIDx0b2JpYXNAaGlldGEuc2U+ +iQHUBBMBCAA+FiEE1XS9XR0OmIleO/kARPJIXkXVkEIFAmLtemUCGwMFCRLMAwAF +CwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQRPJIXkXVkEKoNwv+MEMVzdnzJarx +ZJ0OzHrGJJG8/chkuoejTjCLG73li9yWQigy5KmvynB5yW0fk0PAQ90vvp2wr/Hd +mUh0Zda3CwF6sWlO3N6DEDjVA3lZUuofTtvMn/tdGvvOOXYXAP9N+SZfp/7q8dxX +zn5SA1AO87nXq5lrwVzlVzUCdwOeqDlJ+2U9VEqvukP/FdkgaR2bEb8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PUBLIC KEY BLOCK----- +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mDMEaMgtRhYJKwYBBAHaRw8BAQdA4NRjJPhVd56sOM+QmTbZKkRT3bYbgg6+Bxed +CELeGp+0JUN1bGxlbiBSaG9kZXMgPGN1bGxlbi5yaG9kZXNAYXJtLmNvbT6IkwQT +FgoAOxYhBHEEbR6cZla91hFxhz6Dur9KT56FBQJoyC1GAhsDBQsJCAcCAiICBhUK +CQgLAgQWAgMBAh4HAheAAAoJED6Dur9KT56FkVwA/RLNMBHrjXoAKpRm1iIjiC6w +gLRqGOnj1qAqPqgntMmmAQCQ2lGpw46rvh88ng84IGsRF0JlTAYb6SR/YYNsQyah +Arg4BGjILUYSCisGAQQBl1UBBQEBB0B48hCLw13kduwibGDGoIax0BIa+f66IUC+ +HhNlucsjbgMBCAeIeAQYFgoAIBYhBHEEbR6cZla91hFxhz6Dur9KT56FBQJoyC1G +AhsMAAoJED6Dur9KT56FVssBAO1lL/S2cU65XFHgbjc6crwljDrD7PYbxBA7hDpi +pC4ZAP98rK1hGQ5wxpeiJ0heZ8zhpdUwEeymIDBaIcwgrJRFBQ== +=HcEB +-----END PGP PUBLIC KEY BLOCK----- +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mDMEaMg2hBYJKwYBBAHaRw8BAQdA2J814YnhPQSdsyjwx8VxZ7AitqCnns9lzvkx +HX9lWMW0JERvdWdsYXMgWXVuZyA8ZG91Z2xhcy55dW5nQHNvbnkuY29tPoiTBBMW +CgA7FiEE/7M2iYDz5rtXNxRaMWxW0GTKy6UFAmjINoQCGwMFCwkIBwICIgIGFQoJ +CAsCBBYCAwECHgcCF4AACgkQMWxW0GTKy6XjYgEApJ7p+o7EAeaaOdO2f440KDfg +t7haaBLaxr5fiaSKjkYA+gLDxWOh39Y84upf23qMmpSTZ3SK5LvJtBTVtV7AEX0B +uDgEaMg2hBIKKwYBBAGXVQEFAQEHQL3CL6jHZAakhtLLj2Ks34u7ItY/7USl/bYk +f/+mZTJMAwEIB4h4BBgWCgAgFiEE/7M2iYDz5rtXNxRaMWxW0GTKy6UFAmjINoQC +GwwACgkQMWxW0GTKy6VTOgEArDn9bg58W7bfZfVfneJJbIeICEf3NN9IovbRbAOB +ax0A/RxtrG4qowLlo907vb25ITOa1hBoheSV2wNoDaDUhFEF +=JQ8u +-----END PGP PUBLIC KEY BLOCK----- diff --git a/sources b/sources index f62b6c8..7ebb032 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (test-suite-13.0.1.src.fedora.tar.xz) = 01ec60746cdaa492dc2d1d366c9e5b6fd6c36c339dd33db381661d5e794be5dcae2de14a8a05d57ef6ed4fd77c1b065703be1008f7fe0771c94bda54d07a6cce +SHA512 (test-suite-21.1.8.src.fedora.tar.xz) = f53242fc0f2b218b1a245abb4eced88a5bc92f1e2817b8915edf04b75125275e2213d9dc31df97a84d4c1a557a83a6605780449c065ee62db9390e1f2948e4e3 diff --git a/tests/abi-test-suite/runtest.sh b/tests/abi-test-suite/runtest.sh deleted file mode 100755 index 1e3dff0..0000000 --- a/tests/abi-test-suite/runtest.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/bash - -usage() { - echo "usage `basename $0` [OPTIONS]" - echo " --threads NUM The number of threads to use for running tests." - echo " --testsuite-dir DIR Directory containing the test-suite source." - echo " --compiler [gcc|clang] The compiler to test." -} - -testsuite_dir="/usr/share/llvm-test-suite/" -compiler="clang" -thread_args="" - -while [ $# -gt 0 ]; do - case $1 in - --threads) - shift - threads="$1" - ;; - --testsuite-dir) - shift - testsuire_dir="$1" - ;; - --compiler) - shift - compiler="$1" - ;; - * ) - echo "unknown option: $1" - echo "" - usage - exit 1 - ;; - esac - shift -done - -if [ -n "$threads" ]; then - thread_args="-j$threads" -fi - -set -xe - -cd $(mktemp -d) -cp -r $testsuite_dir/ABI-Testsuite . -cd ABI-Testsuite -python3 linux-x86.py $compiler test -v $thread_args diff --git a/tests/build-gating.fmf b/tests/build-gating.fmf new file mode 100644 index 0000000..8639aa8 --- /dev/null +++ b/tests/build-gating.fmf @@ -0,0 +1,21 @@ +summary: LLVM test-suite for build/PR gating +adjust: + - because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR." + when: >- + trigger is defined + and trigger != commit + and trigger != build + enabled: false + +discover: + how: fmf + url: https://src.fedoraproject.org/tests/llvm.git + ref: main + test: + - abi-test-suite + - llvm-test-suite +execute: + how: tmt +provision: + hardware: + memory: ">=4 GiB" diff --git a/tests/test-suite/runtest.sh b/tests/test-suite/runtest.sh deleted file mode 100755 index fe6ce4b..0000000 --- a/tests/test-suite/runtest.sh +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/bash - -usage() { - echo "usage `basename $0` [OPTIONS]" - echo " --threads NUM The number of threads to use for running tests." - echo " --testsuite-dir DIR Directory containing the test-suite source." - echo " --compiler [gcc|clang] The compiler to test." -} - -cc="clang" -cxx="clang++" -testsuite_dir="/usr/share/llvm-test-suite/" -thread_args="" - -while [ $# -gt 0 ]; do - case $1 in - --threads) - shift - threads="$1" - ;; - --testsuite-dir) - shift - testsuire_dir="$1" - ;; - --compiler) - shift - compiler="$1" - case $compiler in - clang) - cc="clang" - cxx="clang++" - ;; - gcc) - cc="gcc" - cxx="g++" - ;; - *) - echo "unknown compiler: $1" - exit 1 - ;; - esac - ;; - * ) - echo "unknown option: $1" - echo "" - usage - exit 1 - ;; - esac - shift -done - -if [ -n "$threads" ]; then - thread_args_ninja="-j$threads" - thread_args_lit="j$threads" -fi - -set -xe - -cd $(mktemp -d) - -cmake -G Ninja $testsuite_dir \ - -DCMAKE_C_COMPILER=$cc \ - -DCMAKE_CXX_COMPILER=$cxx \ - -DTEST_SUITE_LIT_FLAGS="-sv$thread_args_lit" - -ninja $thread_args_ninja check diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index f883079..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,15 +0,0 @@ -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - required_packages: - - clang - - ninja-build - - llvm-test-suite - tests: - - test-suite - # Disable abi-test-suite because the test systems do not have enough disk - # space for it: - # https://pagure.io/fedora-ci/general/issue/132 - # - abi-test-suite