Compare commits

..

No commits in common. "c8-stream-rhel8" and "c10s" have entirely different histories.

6 changed files with 171 additions and 13 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

22
gating.yaml Normal file
View File

@ -0,0 +1,22 @@
# There are no tests/ yet in this repo, therefore leaving Fedora policies commented out.
# The downstream will run sanity tests instead, that can be controlled from an external
# config file, and removed once actual tests land in c9s stream.
# --- !Policy
# product_versions:
# - fedora-*
# decision_context: bodhi_update_push_testing
# rules:
# - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
# --- !Policy
# product_versions:
# - fedora-*
# decision_context: bodhi_update_push_stable
# rules:
# - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier0.functional}

View File

@ -1,7 +1,7 @@
%global maj_ver 14
%global min_ver 0
%global patch_ver 6
#%%global rc_ver 2
#global rc_ver 0
%global baserelease 1
Summary: Package that installs llvm-toolset
@ -23,26 +23,43 @@ This is the main package for llvm-toolset.
%files
%changelog
* Tue Jun 28 2022 Tom Stellard <tstellar@redhat.com> - 14.0.6-1
- 14.0.6 Release
* Wed Jul 20 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.6-1
- Update to 14.0.6
* Thu Apr 07 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
* Wed Jun 22 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-1
- Update to 14.0.5
* Wed Apr 13 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
- Update to 14.0.0
* Thu Feb 03 2022 Tom Stellard <tstellar@redhat.com> - 13.0.1-1
* Fri Feb 04 2022 Tom Stellard <tstellar@redhat.com> - 13.0.1-1
- 13.0.1 Release
* Fri Oct 22 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-2
- Drop Requres: lldb
* Wed Oct 13 2021 Timm Bäder <tbaeder@redhat.com> - 13.0.0-1
- Release 13.0.0
- Remove lld dependency. rhbz#2011107
* Fri Oct 15 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
- 13.0.0 Release
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 12.0.1-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Jul 16 2021 sguelton@redhat.com - 12.0.1-1
- 12.0.1 release
* Wed Jul 14 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-1
- 12.0.1 Release
* Thu May 6 2021 sguelton@redhat.com - 12.0.0-1
- 12.0.0 release
* Tue May 04 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-2
- Fix release string
* Mon May 3 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-1
- 12.0.0 Release
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 11.1.0-0.2.rc2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Feb 15 2021 Serge Guelton - 11.1.0-0.1.rc2
- 11.1.0 release
* Tue Jan 12 2021 sguelton@redhat.com - 11.0.1-1
- 11.0.1 release
* Wed Nov 11 2020 sguelton@redhat.com - 11.0.0-1
- 11.0.0 release

View File

@ -0,0 +1,36 @@
#
# Build/PR gating tests for *LLVM 13*
#
# Imports and runs tests provided by Fedora LLVM git for the matching LLVM version.
#
# NOTE: *always* keep this file in sync with upstream, i.e. Fedora. Since we cannot "discover" a plan,
# we must duplicate at least some part of upstream plan setup, like `adjust` or `provision`. Not necessarily
# all steps, but if we do need some of them here, let's focus on making changes in upstream first, to preserve
# one source of truth. Once TMT learns to include whole plans, we could drop the copied content from here.
#
summary: LLD tests for build/PR gating, testing alternatives and spoiling the installation
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
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
environment+:
WITH_SCL: "scl enable llvm-toolset-13.0"
when: "collection == llvm-toolset-13.0"
discover:
- name: lld-upstream
how: fmf
url: https://src.fedoraproject.org/rpms/lld.git
ref: rawhide
test: ld-alternative
execute:
how: tmt
provision:
hardware:
memory: ">= 4 GiB"

82
tests/build-gating.fmf Normal file
View File

@ -0,0 +1,82 @@
#
# Build/PR gating tests for *LLVM 13*
#
# Imports and runs tests provided by Fedora LLVM git for the matching LLVM version.
#
summary: LLVM tests 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
# Unfortunately, TMT does not support more declarative approach, we need to run commands on our own.
- because: "On RHEL, CRB must be enabled to provide rarer packages"
prepare+:
- name: Enable CRB
how: shell
script: dnf config-manager --set-enabled rhel-CRB
when: >-
distro == rhel-9
or distro == rhel-8
- because: "On CentOS, CRB must be enabled to provide rarer packages"
prepare+:
- name: Enable CRB
how: shell
script: dnf config-manager --set-enabled crb
when: >-
distro == centos
discover:
- name: llvm-upstream
how: fmf
url: https://src.fedoraproject.org/tests/llvm.git
ref: main
filter: "tag:-spoils-installation & tag:-not-in-default"
- name: clang-upstream
how: fmf
url: https://src.fedoraproject.org/tests/clang.git
ref: main
filter: "tag:-spoils-installation & tag:-not-in-default"
- name: python-lit-upstream
how: fmf
url: https://src.fedoraproject.org/tests/python-lit.git
ref: main
filter: "tag:-spoils-installation & tag:-not-in-default"
- name: lldb-upstream
how: fmf
url: https://src.fedoraproject.org/tests/lldb.git
ref: main
filter: "tag:-spoils-installation & tag:-not-in-default"
- name: lld-upstream
how: fmf
url: https://src.fedoraproject.org/tests/lld.git
ref: main
filter: "tag:-spoils-installation & tag:-not-in-default"
- name: libomp-upstream
how: fmf
url: https://src.fedoraproject.org/tests/libomp.git
ref: main
filter: "tag:-spoils-installation & tag:-not-in-default"
- name: compiler-rt-upstream
how: fmf
url: https://src.fedoraproject.org/tests/compiler-rt.git
ref: main
filter: "tag:-spoils-installation & tag:-not-in-default"
execute:
how: tmt
provision:
hardware:
memory: ">= 4 GiB"