Compare commits

..

82 commits

Author SHA1 Message Date
Tom Stellard
d87f9f3ebc packit: Use a temp dir for building the tarball
This was recommended in https://github.com/packit/packit-service/issues/2917#issuecomment-3718354275
in order to avoid running out of disk space on the packit machines.
2026-01-09 03:50:11 +00:00
Tom Stellard
673da0af20 Update to LLVM 21.1.8 2025-12-24 06:02:20 +00:00
Tom Stellard
45ad06554b Revert last two commits
These were accidentally pushed while testing packit.

This reverts commit 73609eba25.
This reverts commit 56646d19d6.
2025-12-16 23:05:42 +00:00
Tom Stellard
73609eba25 Update to 21.1.8 upstream release
- Resolves: rhbz#2422639

Commit authored by Packit automation (https://packit.dev/)
2025-12-16 22:57:21 +00:00
Tom Stellard
56646d19d6 Update to 21.1.8 upstream release
- Resolves: rhbz#2422639

Commit authored by Packit automation (https://packit.dev/)
2025-12-16 22:25:25 +00:00
Tom Stellard
24ea7850f4 Update to LLVM 21.1.7 2025-12-06 16:29:01 +00:00
Tom Stellard
98c82d1ed1 Update to LLVM 21.1.6 2025-11-20 16:49:01 +00:00
Konrad Kleine
308ad2f18d First remove left-overs and then build artifact
Otherwise the just built tarball would have been removed.

[skip changelog]
2025-11-13 11:55:06 +01:00
Konrad Kleine
a7c8015ab9 Prepare sources
This fixes and error when generating the SRPM for a snapshot.

The sources need to be retrieved and modified before packaging them.
This change does just that and turns on the `snapshot_build` build
condition with a define.

[skip changelog]
2025-11-13 09:58:19 +01:00
Konrad Kleine
0122d5398c Add snapshot build support and %autorelease + %autochangelog
When snapshot mode is enabled we download a daily txt file from github that looks like this:

```
%global llvm_test_suite_version 22.0.0
%global llvm_test_suite_date 20251109
%global llvm_test_suite_git_revision f302e7778e4a0bb58b40a3b0cabde719e33fb55e
%global llvm_test_suite_git_revision_short f302e7778e4a0b
%{error: No need to build today. llvm-test-suite's git revision (f302e7778e4a0b) and the LLVM version (22.0.0) were the same yesterday.}
```

We store it into `version.spec.inc`. The last line exists only in the case when we don't want to build another snapshot. The SRPM generation then automatically stops because in the Makefile we evaluate the `versions.spec.inc`. If we don't have this step, then fedpkg will fall back to download the release version:

```
Parsing specfile for used sources failed. Falling back to downloading all sources.
Downloading test-suite-21.1.4.src.fedora.tar.xz from https://src.fedoraproject.org/repo/pkgs
```

**Some changes in this PR:**

- When `snapshot_build` is enabled, automatically fetch the latest commit hash from upstream main branch using GitHub API
- Snapshot builds must be explicitly enabled with `--with snapshot_build`
- Replace `Release` field with `%autorelease`
- Replace `%changelog` section with `%autochangelog`
- Add fallback to include `changelog` file if `%autochangelog` is not defined
- Extract all existing changelog entries to separate `changelog` file
- Add `Source3` for the `changelog` file with `%{_sourcedir}` prefix
- Add `Source1000` for the `version.spec.inc` file with `%{_sourcedir}` prefix

This PR depends on https://github.com/fedora-llvm-team/llvm-snapshots/pull/1759 to be merged first. Ideally, this PR should be merged a few days later. Then we don't need to generate release assets for the [llvm-test-suite-version-sync](https://github.com/fedora-llvm-team/llvm-snapshots/releases/tag/llvm-test-suite-version-sync) release manually.

This PR is based on @nikic's work here:

https://src.fedoraproject.org/fork/nikic/rpms/llvm-test-suite/tree/upstream-snapshot
2025-11-12 12:52:08 +01:00
Tom Stellard
7fdcb23ab8 Update to LLVM 21.1.5 2025-11-06 19:19:13 +00:00
Tom Stellard
8893d2fed4 Update to LLVM 21.1.4 2025-10-24 18:05:17 +00:00
Tom Stellard
71555d6b9f Update to LLVM 21.1.3 2025-10-12 00:51:07 +00:00
Tom Stellard
0afc62331e packit: Use prepare-files hook for downloading tarballs
The post-modification hook is called after sources are downloaded from
the lookaside cache so this is too late to generate the custom tarball.

The prepare-files action also happens before the source is patched with
the new version so we need to manually download the tarball and
can't rely on the `spectool -a -g llvm-test-suite.spec` call in the
script.
2025-10-12 00:47:29 +00:00
Tom Stellard
ad5c81f606 Add packit configuration 2025-10-02 16:24:37 +00:00
Tom Stellard
b54d6c5357 Update to LLVM 21.1.2 2025-09-25 13:08:57 +00:00
Tom Stellard
9b0cfc60e8 Update to LLVM 21.1.1 2025-09-12 01:09:45 +00:00
Tom Stellard
aee7826394 Update to LLVM 21.1.0 2025-08-28 23:18:02 +00:00
Tulio Magno Quites Machado Filho
33025c7939 Replace old tests
1. Stop using STI because they will no longer run on Fedora 43.
2. Reference abi-test-suite and test-suite from their new repository at
   https://src.fedoraproject.org/tests/llvm

Fixes rhbz#2382962.
2025-08-07 09:25:33 -03:00
Fedora Release Engineering
d99b21dd52 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 20:47:19 +00:00
Nikita Popov
9798ef24f8 Update to LLVM 20.1.8 2025-07-10 09:48:04 +02:00
Nikita Popov
a77ea51097 Update to LLVM 20.1.7 2025-06-20 09:37:13 +02:00
Nikita Popov
7e5830ef7f Update to LLVM 20.1.6 2025-06-02 09:48:29 +02:00
Nikita Popov
908fa47922 Update to LLVM 20.1.5 2025-05-26 15:36:59 +02:00
Nikita Popov
148d715991 Update to LLVM 20.1.3 2025-04-22 10:00:58 +02:00
Miroslav Suchý
b636f51a31 Correct CRC32 license to LicenseRef-Fedora-UltraPermissive
See https://gitlab.com/fedora/legal/fedora-license-data/-/merge_requests/697#note_2418530203
2025-04-22 07:14:15 +00:00
Nikita Popov
d0da5443ab Update to LLVM 20.1.2 2025-04-03 16:43:34 +02:00
Nikita Popov
c93c319e1e Update to LLVM 20.1.1 2025-03-20 10:37:42 +01:00
Nikita Popov
93d6bc9ded Update to LLVM 20.1.0 2025-03-05 18:58:15 +01:00
Timm Bäder
dac19fe2fa Fix a typedef bool problem with GCC 15 2025-01-24 15:08:12 +01:00
Timm Bäder
0856ba2ec0 Update to 19.1.7 2025-01-22 09:58:31 +01:00
Fedora Release Engineering
7d6dd88b49 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 15:50:22 +00:00
Tulio Magno Quites Machado Filho
e3f6e1a731 Update some licenses to SPDX
Replace LicenseRef-Callaway-BSD, LicenseRef-Callaway-MIT,
LicenseRef-Callaway-Python and LicenseRef-Callaway-Public-Domain with
proper SPDX identifiers.
2025-01-09 17:48:25 +00:00
Timm Bäder
42600173d2 Update to 19.1.6 2025-01-02 13:51:05 +01:00
Timm Bäder
5f680c5cd5 Update to 19.1.5 2024-12-06 09:52:32 +01:00
Tulio Magno Quites Machado Filho
bd68ddeb87 Add some code in order to troubleshoot an issue with miniFE
This issue has been reproduced only on the Testing Farm so far.
By getting more details, we hope to be able to reproduce the issue
outside of the Testing Farm.
2024-12-03 10:25:03 -03:00
Timm Bäder
737d024bd5 Update to 19.1.4 2024-11-25 11:52:53 +01:00
Tulio Magno Quites Machado Filho
1b73acb301 Avoid consuming all space in /tmp
This test may consume almost 2GiB of disk space. However, we noticed
that some servers in the Testing Farm may not have a large enough /tmp
causing other tests to fail.

Remove all disk space consumed after a successful execution.

This is also using a meaningful directory name in order to help
troubleshoot future issues.
2024-11-19 09:06:49 -03:00
Timm Bäder
22b482a1ac Update to 19.1.3 2024-11-16 07:06:27 +01:00
Konrad Kleine
dc1f5749d7 Remove ClamAV subdirectory because of viruses in input files
These were the findings:

```
MultiSource/Applications/ClamAV/inputs/rtf-test/rtf1.rtf: Eicar-Signature
MultiSource/Applications/ClamAV/inputs/clam.zip: Clamav.Test.File-6
MultiSource/Applications/ClamAV/inputs/rtf-test/docCLAMexe.rtf: Clamav.Test.File-6
MultiSource/Applications/ClamAV/inputs/rtf-test/Doc11.rtf: Clamav.Test.File-6
MultiSource/Applications/ClamAV/inputs/rtf-test/Doc1.rtf: Clamav.Test.File-6
MultiSource/Applications/ClamAV/inputs/clam.cab: Clamav.Test.File-6
MultiSource/Applications/ClamAV/inputs/rtf-test/Doc2.rtf: Clamav.Test.File-6
MultiSource/Applications/ClamAV/inputs/clam.exe.bz2: Clamav.Test.File-6
MultiSource/Applications/ClamAV/inputs/rtf-test/doc3.rtf: Clamav.Test.File-6
MultiSource/Applications/ClamAV/inputs/clam.exe: Clamav.Test.File-6
MultiSource/Applications/ClamAV/inputs/rtf-test/Doc22.rtf: Clamav.Test.File-6
```
2024-10-15 15:53:23 +02:00
Konrad Kleine
442b2f0ee7 Remove broken links in source tarball
Before it wasn't possible to pass `-DTEST_SUITE_SUBDIRS=CTMark` to cmake
when configuring the llvm-test-suite:

```
-- Adding directory CTMark
CMake Error at CTMark/CMakeLists.txt:1 (add_subdirectory):
  add_subdirectory given source "7zip" which is not an existing directory.

CMake Error at CTMark/CMakeLists.txt:5 (add_subdirectory):
  add_subdirectory given source "lencod" which is not an existing directory.
```

The llvm-test-suite command script `pkg_test_suite.sh` removes
directories with BAD or unreviewed licenses. Currently this leaves at
least two directories in a broken state:

```
/usr/share/llvm-test-suite/CTMark/7zip -> ../MultiSource/Benchmarks/7zip
/usr/share/llvm-test-suite/CTMark/lencod -> ../MultiSource/Applications/JM/lencod
```

In both cases the link target is non-existent.

Therefore I find any broken symbolic links, remove them and adapt the
`CMakeLists.txt` to not have the `add_subdirectory(broken_link)` entry in
it. Here's an excerpt of what the `pkg_test_suite.sh` script shows when
running as a proof of the work it does now.

```
++ find test-suite-19.1.0.src -type l '!' -exec test -e '{}' ';' -print
+ broken_symlinks='test-suite-19.1.0.src/CTMark/7zip
test-suite-19.1.0.src/CTMark/lencod'
+ for f in $broken_symlinks
+ test -L test-suite-19.1.0.src/CTMark/7zip
+ rm -fv test-suite-19.1.0.src/CTMark/7zip
removed 'test-suite-19.1.0.src/CTMark/7zip'
++ dirname test-suite-19.1.0.src/CTMark/7zip
+ basedir=test-suite-19.1.0.src/CTMark
++ basename test-suite-19.1.0.src/CTMark/7zip
+ dir=7zip
+ cmake_file=test-suite-19.1.0.src/CTMark/CMakeLists.txt
+ test -f test-suite-19.1.0.src/CTMark/CMakeLists.txt
+ sed -i 's/add_subdirectory(7zip)//g' test-suite-19.1.0.src/CTMark/CMakeLists.txt
+ for f in $broken_symlinks
+ test -L test-suite-19.1.0.src/CTMark/lencod
+ rm -fv test-suite-19.1.0.src/CTMark/lencod
removed 'test-suite-19.1.0.src/CTMark/lencod'
++ dirname test-suite-19.1.0.src/CTMark/lencod
+ basedir=test-suite-19.1.0.src/CTMark
++ basename test-suite-19.1.0.src/CTMark/lencod
+ dir=lencod
+ cmake_file=test-suite-19.1.0.src/CTMark/CMakeLists.txt
+ test -f test-suite-19.1.0.src/CTMark/CMakeLists.txt
+ sed -i 's/add_subdirectory(lencod)//g' test-suite-19.1.0.src/CTMark/CMakeLists.txt
```
2024-10-09 11:13:58 +02:00
Timm Bäder
05a57ab7fb Update to 19.1.0 2024-09-19 16:14:28 +02:00
Timm Bäder
fb3d5b29c3 Update to 19.1.0-rc4 2024-09-17 06:25:07 +02:00
Miroslav Suchý
cef2d1ac86 convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-09-02 10:26:08 +02:00
Fedora Release Engineering
57428f64d8 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 15:52:15 +00:00
Jesus Checa Hidalgo
32ea7edb76 18.1.8 Release 2024-07-12 14:04:23 +02:00
Tom Stellard
ee09547980 18.1.7 Release 2024-06-14 20:39:20 +00:00
Tom Stellard
350facae39 18.1.6 Release 2024-05-21 20:22:27 +00:00
Tom Stellard
2bc66d2666 18.1.4 Release 2024-05-04 23:00:13 +00:00
Tom Stellard
e105e7c284 18.1.3 Release 2024-04-17 22:46:19 +00:00
Tom Stellard
1fab975ee5 18.1.2 Release 2024-03-22 21:45:14 +00:00
Tom Stellard
25fd9a0ad4 18.1.1 Release 2024-03-13 23:06:16 +00:00
Tom Stellard
46f5d8c7f9 18.1.0-rc4 Release 2024-02-29 17:29:02 +00:00
Fedora Release Engineering
1d516211c6 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 04:30:57 +00:00
Fedora Release Engineering
66b65283e8 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 06:05:36 +00:00
Tulio Magno Quites Machado Filho
4043358e3e Update to LLVM 17.0.6 2023-11-28 11:25:39 -03:00
Tulio Magno Quites Machado Filho
0f8d216987 Update to LLVM 17.0.5 2023-11-16 06:03:39 -03:00
Tulio Magno Quites Machado Filho
732e47dc2a Update to LLVM 17.0.4 2023-11-01 10:06:28 -03:00
Tulio Magno Quites Machado Filho
26188ff751 Update to LLVM 17.0.3 2023-10-17 17:25:28 -03:00
Tulio Magno Quites Machado Filho
099bd2b544 Update to LLVM 17.0.2 2023-10-03 19:17:34 -03:00
Tulio Magno Quites Machado Filho
34d7dd3009 Update to LLVM 17.0.1 2023-09-23 08:32:15 -03:00
Tulio Magno Quites Machado Filho
61901688d8 Update to LLVM 17.0.0 RC4 2023-09-13 10:12:40 -03:00
Tulio Magno Quites Machado Filho
a26398b7d9 Update to LLVM 17.0.0 RC3 2023-08-24 15:59:35 -03:00
Tulio Magno Quites Machado Filho
a451264b8f Update to LLVM 17.0.0 RC2 2023-08-23 09:35:56 -03:00
Tulio Magno Quites Machado Filho
c0eb5663d4 Update to LLVM 17.0.0 RC1 2023-08-10 13:37:35 -03:00
Fedora Release Engineering
a2a6b4c6f0 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 12:55:36 +00:00
Tulio Magno Quites Machado Filho
15772ce737 Update to LLVM 16.0.6 2023-07-10 15:24:09 -03:00
Tulio Magno Quites Machado Filho
ca3a2ba03e Update to LLVM 16.0.5 2023-06-06 15:24:49 -03:00
Tulio Magno Quites Machado Filho
41058fd561 Update to LLVM 16.0.4 2023-05-20 10:32:38 -03:00
Tulio Magno Quites Machado Filho
3a4ce1622d Update to LLVM 16.0.3 2023-05-10 16:28:28 -03:00
Tulio Magno Quites Machado Filho
b5fcb858f6 Update to LLVM 16.0.2 2023-04-27 12:41:06 -03:00
Tulio Magno Quites Machado Filho
b193953080 Update to LLVM 16.0.1 2023-04-13 09:52:42 -03:00
Tulio Magno Quites Machado Filho
7afaf1d368 Update to LLVM 16.0.0 2023-03-23 11:35:19 -03:00
Fedora Release Engineering
53df55b0d6 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 18:10:23 +00:00
Nikita Popov
37573a64b6 Update to LLVM 15.0.7 2023-01-13 11:47:09 +01:00
Lumir Balhar
152b1e0e6b Change location of pathfix.py
For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed
2022-12-14 11:24:30 +00:00
Nikita Popov
c78af7e6e0 Update to LLVM 15.0.6 2022-12-06 09:25:59 +01:00
Nikita Popov
f84679251d Update to LLVM 15.0.4 2022-11-07 10:40:18 +01:00
Nikita Popov
bbcebc482f Update to LLVM 15.0.0 2022-09-06 15:33:16 +02:00
Fedora Release Engineering
6e09d002af Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 19:45:03 +00:00
Tom Stellard
d551148f1e 14.0.0 Release 2022-03-31 01:16:31 +00:00
Fedora Release Engineering
dc7d1481a8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 17:57:57 +00:00
16 changed files with 744 additions and 348 deletions

39
.copr/Makefile Normal file
View file

@ -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)

16
.copr/snapshot-info.sh Executable file
View file

@ -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

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

57
.gitignore vendored
View file

@ -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

41
.packit.yaml Normal file
View file

@ -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.

View file

@ -1,25 +0,0 @@
From ff9f6386e9676f1b1507b8ca3ad6f314e766229d Mon Sep 17 00:00:00 2001
From: serge-sans-paille <sguelton@redhat.com>
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

353
changelog Normal file
View file

@ -0,0 +1,353 @@
* Thu Nov 06 2025 Tom Stellard <tstellar@redhat.com> - 21.1.5-1
- Update to LLVM 21.1.5
* Fri Oct 24 2025 Tom Stellard <tstellar@redhat.com> - 21.1.4-1
- Update to LLVM 21.1.4
* Sat Oct 11 2025 Tom Stellard <tstellar@redhat.com> - 21.1.3-1
- Update to LLVM 21.1.3
* Thu Sep 25 2025 Tom Stellard <tstellar@redhat.com> - 21.1.2-1
- Update to LLVM 21.1.2
* Thu Sep 11 2025 Tom Stellard <tstellar@redhat.com> - 21.1.1-1
- Update to LLVM 21.1.1
* Thu Aug 28 2025 Tom Stellard <tstellar@redhat.com> - 21.1.0-1
- Update to LLVM 21.1.0
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 20.1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jul 10 2025 Nikita Popov <npopov@redhat.com> - 20.1.8-1
- Update to LLVM 20.1.8
* Fri Jun 20 2025 Nikita Popov <npopov@redhat.com> - 20.1.7-1
- Update to LLVM 20.1.7
* Mon Jun 02 2025 Nikita Popov <npopov@redhat.com> - 20.1.6-1
- Update to LLVM 20.1.6
* Mon May 26 2025 Nikita Popov <npopov@redhat.com> - 20.1.5-1
- Update to LLVM 20.1.5
* Tue Apr 22 2025 Nikita Popov <npopov@redhat.com> - 20.1.3-1
- Update to LLVM 20.1.3
* Thu Apr 03 2025 Nikita Popov <npopov@redhat.com> - 20.1.2-1
- Update to LLVM 20.1.2
* Thu Mar 20 2025 Nikita Popov <npopov@redhat.com> - 20.1.1-1
- Update to LLVM 20.1.1
* Wed Mar 05 2025 Nikita Popov <npopov@redhat.com> - 20.1.0-1
- Update to LLVM 20.1.0
* Fri Jan 24 2025 Timm Bäder <tbaeder@redhat.com> - 19.1.7-2
- Backport upstream patch to fix typedef bool error with GCC 15
* Wed Jan 22 2025 Timm Bäder <tbaeder@redhat.com> - 19.1.7-1
- Update to 19.1.7
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 19.1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jan 02 2025 Timm Bäder <tbaeder@redhat.com> - 19.1.6-1
- Update to 19.1.6
* Fri Dec 06 2024 Timm Bäder <tbaeder@redhat.com> - 19.1.5-1
- Update to 19.1.5
* Mon Nov 25 2024 Timm Bäder <tbaeder@redhat.com> - 19.1.4-1
- Update to 19.1.4
* Fri Nov 08 2024 Timm Bäder <tbaeder@redhat.com> - 19.1.3-1
- Update to 19.1.3
* Tue Oct 15 2024 Konrad Kleine <kkleine@redhat.com> - 19.1.0-3
- Remove MultiSource/Applications/ClamAV directory because of viruses in input files
* Wed Oct 09 2024 Konrad Kleine <kkleine@redhat.com> - 19.1.0-2
- Remove broken links in source tarball
* Thu Sep 19 2024 Timm Bäder <tbaeder@redhat.com> - 19.1.0-1
- Update to 19.1.0
* Tue Sep 17 2024 Timm Bäder <tbaeder@redhat.com> - 19.1.0~rc4-1
- Update to 19.1.0-rc4
* Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 18.1.8-3
- convert license to SPDX
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jul 12 2024 Jesus Checa Hidalgo <jchecahi@redhat.com> - 18.1.8-1
- 18.1.8 Release
* Fri Jun 14 2024 Tom Stellard <tstellar@redhat.com> - 18.1.7-1
- 18.1.7 Release
* Tue May 21 2024 Tom Stellard <tstellar@redhat.com> - 18.1.6-1
- 18.1.6 Release
* Sat May 04 2024 Tom Stellard <tstellar@redhat.com> - 18.1.4-1
- 18.1.4 Release
* Wed Apr 17 2024 Tom Stellard <tstellar@redhat.com> - 18.1.3-1
- 18.1.3 Release
* Fri Mar 22 2024 Tom Stellard <tstellar@redhat.com> - 18.1.2-1
- 18.1.2 Release
* Wed Mar 13 2024 Tom Stellard <tstellar@redhat.com> - 18.1.1-1
- 18.1.1 Release
* Thu Feb 29 2024 Tom Stellard <tstellar@redhat.com> - 18.1.0~rc4-1
- 18.1.0-rc4 Release
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Nov 28 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.6-1
- Update to LLVM 17.0.6
* Thu Nov 16 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.5-1
- Update to LLVM 17.0.5
* Wed Nov 01 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.4-1
- Update to LLVM 17.0.4
* Tue Oct 17 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.3-1
- Update to LLVM 17.0.3
* Tue Oct 03 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.2-1
- Update to LLVM 17.0.2
* Sat Sep 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.1-1
- Update to LLVM 17.0.1
* Fri Sep 08 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc4-1
- Update to LLVM 17.0.0 RC4
* Thu Aug 24 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc3-1
- Update to LLVM 17.0.0 RC3
* Wed Aug 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc2-1
- Update to LLVM 17.0.0 RC2
* Tue Aug 01 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc1-1
- Update to LLVM 17.0.0 RC1
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 10 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.6-1
- Update to LLVM 16.0.6
* Tue Jun 06 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.5-1
- Update to LLVM 16.0.5
* Sat May 20 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.4-1
- Update to LLVM 16.0.4
* Wed May 10 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.3-1
- Update to LLVM 16.0.3
* Thu Apr 27 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.2-1
- Update to LLVM 16.0.2
* Thu Apr 13 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-1
- Update to LLVM 16.0.1
* Tue Mar 21 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0-1
- Update to LLVM 16.0.0
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jan 13 2023 Nikita Popov <npopov@redhat.com> - 15.0.7-1
- Update to LLVM 15.0.7
* Tue Dec 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-1
- Update to LLVM 15.0.6
* Mon Nov 07 2022 Nikita Popov <npopov@redhat.com> - 15.0.4-1
- Update to LLVM 15.0.4
* Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1
- Update to LLVM 15.0.0
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Mar 30 2022 Tom Stellard <tstellar@redhat.com> - 14.0.0-1
- 14.0.0 Release
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Oct 01 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
- 13.0.0 Release
* Mon Aug 09 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-1
- 13.0.0-rc1 Release
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 14 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-1
- 12.0.1 Release
* Wed Jun 30 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc3-1
- 12.0.1-rc3 Release
* Thu Jun 03 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc1-1
- 12.0.1-rc1 Release
* Fri Apr 16 2021 Tom Stellard <tstellar@redhat.com> - 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 <releng@fedoraproject.org> - 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 <tstellar@redhat.com> - 11.0.0-0.2.rc1
- Fix build failure with clang 11
* Mon Aug 10 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1.rc1
- 11.0.0-rc1 Release
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jun 18 2020 Tom Stellard <tstellar@redhat.com> - 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 <releng@fedoraproject.org> - 9.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Sep 20 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
- 9.0.0 Release
* Wed Sep 11 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.1.rc4
- 9.0.0-rc4 Release
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-3.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed May 29 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-3
- Fix python2 print statement in ABI-Testsuite
* Thu May 02 2019 Tom Stellard <tstellar@redhat.com> - 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 <releng@fedoraproject.org> - 7.0.1-3.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Dec 21 2018 Miro Hrončok <mhroncok@redhat.com> - 7.0.1-3
- Remove Python2 dependency
* Fri Dec 21 2018 Tom Stellard <tstellar@redhat.com> - 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 <tstellar@redhat.com> - 7.0.1-0.1.rc2
- 7.0.1-rc2 Release

View file

@ -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

View file

@ -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 <tstellar@redhat.com> - 13.0.1-1
- 13.0.1 Release
* Fri Oct 01 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
- 13.0.0 Release
* Mon Aug 09 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-1
- 13.0.0-rc1 Release
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 14 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-1
- 12.0.1 Release
* Wed Jun 30 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc3-1
- 12.0.1-rc3 Release
* Thu Jun 03 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc1-1
- 12.0.1-rc1 Release
* Fri Apr 16 2021 Tom Stellard <tstellar@redhat.com> - 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 <releng@fedoraproject.org> - 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 <tstellar@redhat.com> - 11.0.0-0.2.rc1
- Fix build failure with clang 11
* Mon Aug 10 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1.rc1
- 11.0.0-rc1 Release
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jun 18 2020 Tom Stellard <tstellar@redhat.com> - 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 <releng@fedoraproject.org> - 9.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Sep 20 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
- 9.0.0 Release
* Wed Sep 11 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.1.rc4
- 9.0.0-rc4 Release
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-3.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed May 29 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-3
- Fix python2 print statement in ABI-Testsuite
* Thu May 02 2019 Tom Stellard <tstellar@redhat.com> - 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 <releng@fedoraproject.org> - 7.0.1-3.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Dec 21 2018 Miro Hrončok <mhroncok@redhat.com> - 7.0.1-3
- Remove Python2 dependency
* Fri Dec 21 2018 Tom Stellard <tstellar@redhat.com> - 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 <tstellar@redhat.com> - 7.0.1-0.1.rc2
- 7.0.1-rc2 Release
%{?autochangelog:%autochangelog}
%{!?autochangelog:%include %{_sourcedir}/changelog}

70
pkg_test_suite.sh Normal file → Executable file
View file

@ -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

130
release-keys.asc Normal file
View file

@ -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/FdkgaR2bEb8Wm/h+encW
UIQEqPDE+qOyJ9dRaiL0CUI4x+1wXeXB3OA7VybF2LvaZDbMlocdy+vs825iUWfa
n8g3mE2TpV8jkc9UHgGGopz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IovbRbAOB
ax0A/RxtrG4qowLlo907vb25ITOa1hBoheSV2wNoDaDUhFEF
=JQ8u
-----END PGP PUBLIC KEY BLOCK-----

View file

@ -1 +1 @@
SHA512 (test-suite-13.0.1.src.fedora.tar.xz) = 01ec60746cdaa492dc2d1d366c9e5b6fd6c36c339dd33db381661d5e794be5dcae2de14a8a05d57ef6ed4fd77c1b065703be1008f7fe0771c94bda54d07a6cce
SHA512 (test-suite-21.1.8.src.fedora.tar.xz) = f53242fc0f2b218b1a245abb4eced88a5bc92f1e2817b8915edf04b75125275e2213d9dc31df97a84d4c1a557a83a6605780449c065ee62db9390e1f2948e4e3

View file

@ -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

21
tests/build-gating.fmf Normal file
View file

@ -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"

View file

@ -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

View file

@ -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