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/.gitignore b/.gitignore index f10dec8..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 diff --git a/.packit.yaml b/.packit.yaml index 11a4239..a3f8631 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -19,9 +19,14 @@ create_sync_note: false actions: prepare-files: - - bash -c "cp $PACKIT_DOWNSTREAM_REPO/llvm-test-suite.spec $PACKIT_DOWNSTREAM_REPO/release-keys.asc $PACKIT_DOWNSTREAM_REPO/pkg_test_suite.sh ." - - bash -c "./pkg_test_suite.sh $PACKIT_PROJECT_VERSION" - - bash -c "mv test-suite-$PACKIT_PROJECT_VERSION.src.fedora.tar.xz $PACKIT_DOWNSTREAM_REPO/" + - >- + 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 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/llvm-test-suite.spec b/llvm-test-suite.spec index 42881f6..5bd842d 100644 --- a/llvm-test-suite.spec +++ b/llvm-test-suite.spec @@ -4,9 +4,17 @@ #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-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 @@ -19,12 +27,20 @@ URL: http://llvm.org # this condition is set by ./pkg_test_suite.sh to retrieve original sources %if 0%{?original_sources:1} +%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 # We need python3-devel for pathfix.py. @@ -45,7 +61,7 @@ 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 \ +%py3_shebang_fix \ ParseMultipleResults \ utils/*.py \ CollectDebugInfoUsingLLDB.py \ @@ -80,356 +96,5 @@ cp -R %{_builddir}/%{test_suite_srcdir}/* %{buildroot}%{_datadir}/llvm-test-suit %changelog -* 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 +%{?autochangelog:%autochangelog} +%{!?autochangelog:%include %{_sourcedir}/changelog} diff --git a/pkg_test_suite.sh b/pkg_test_suite.sh index 4cbb687..e695125 100755 --- a/pkg_test_suite.sh +++ b/pkg_test_suite.sh @@ -1,6 +1,9 @@ #!/bin/bash set -ex + +SNAPSHOT_BUILD=${SNAPSHOT_BUILD:-0} + tmpdir=`mktemp -d` currentdir=`pwd` version="$1" @@ -15,16 +18,30 @@ if [ -n "$version" ]; then gpg --verify --homedir=$gpghome --keyring=./keyring.gpg $original_sources.sig $original_sources rm -Rf $gpghome else - spectool --define 'original_sources 1' -g -C . llvm-test-suite.spec | tee dl.log - - original_sources=`tail -n1 dl.log | cut -d' ' -f2` + 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