Compare commits
No commits in common. "stream-llvm-toolset-rhel8-rhel-8.10.0" and "c8-stream-rhel8" have entirely different histories.
stream-llv
...
c8-stream-
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
0
.llvm-toolset.metadata
Normal file
0
.llvm-toolset.metadata
Normal file
10
README.md
10
README.md
@ -1,10 +0,0 @@
|
|||||||
# Testing
|
|
||||||
|
|
||||||
Each time before we build this module, we need to do a test build of the
|
|
||||||
kernel in order to check that the changes we are making won't break
|
|
||||||
the kernel build. This can be can be done using the kernel-testing.yaml
|
|
||||||
modulemd file:
|
|
||||||
|
|
||||||
rhpkg module-scratch-build --file kernel-testing.yaml -w
|
|
||||||
|
|
||||||
|
|
@ -10,6 +10,7 @@ data:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- buildrequires:
|
- buildrequires:
|
||||||
platform: [el8]
|
platform: [el8]
|
||||||
|
swig: [4.0]
|
||||||
requires:
|
requires:
|
||||||
platform: [el8]
|
platform: [el8]
|
||||||
profiles:
|
profiles:
|
||||||
@ -35,39 +36,40 @@ data:
|
|||||||
rpms:
|
rpms:
|
||||||
python-lit:
|
python-lit:
|
||||||
rationale: Lit test runner for LLVM
|
rationale: Lit test runner for LLVM
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
ref: stream-llvm-toolset-rhel-next-rhel-8.10.0
|
||||||
|
buildorder: 0
|
||||||
|
llvm-compat:
|
||||||
|
rationale: LLVM compatibility libraries
|
||||||
|
multilib: [x86_64]
|
||||||
|
ref: stream-llvm-toolset-rhel-next-rhel-8.10.0
|
||||||
buildorder: 0
|
buildorder: 0
|
||||||
llvm:
|
llvm:
|
||||||
rationale: LLVM tools and libraries
|
rationale: LLVM tools and libraries
|
||||||
multilib: [x86_64]
|
multilib: [x86_64]
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
ref: stream-llvm-toolset-rhel-next-rhel-8.10.0
|
||||||
buildorder: 0
|
buildorder: 0
|
||||||
lld:
|
|
||||||
rationale: LLVM linker
|
|
||||||
multilib: [x86_64]
|
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
|
||||||
buildorder: 1
|
|
||||||
clang:
|
clang:
|
||||||
rationale: clang tools and libraries
|
rationale: clang tools and libraries
|
||||||
multilib: [x86_64]
|
multilib: [x86_64]
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
ref: stream-llvm-toolset-rhel-next-rhel-8.10.0
|
||||||
buildorder: 1
|
buildorder: 1
|
||||||
|
lld:
|
||||||
|
rationale: LLVM linker
|
||||||
|
multilib: [x86_64]
|
||||||
|
ref: stream-llvm-toolset-rhel-next-rhel-8.10.0
|
||||||
|
buildorder: 2
|
||||||
compiler-rt:
|
compiler-rt:
|
||||||
rationale: LLVM compiler intrinsic and sanitizer libraries
|
rationale: LLVM compiler intrinsic and sanitizer libraries
|
||||||
multilib: [x86_64]
|
multilib: [x86_64]
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
ref: stream-llvm-toolset-rhel-next-rhel-8.10.0
|
||||||
buildorder: 2
|
buildorder: 2
|
||||||
libomp:
|
libomp:
|
||||||
rationale: LLVM OpenMP runtime
|
rationale: LLVM OpenMP runtime
|
||||||
multilib: [x86_64]
|
multilib: [x86_64]
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
ref: stream-llvm-toolset-rhel-next-rhel-8.10.0
|
||||||
buildorder: 2
|
buildorder: 2
|
||||||
lldb:
|
lldb:
|
||||||
rationale: lldb debugger
|
rationale: lldb debugger
|
||||||
multilib: [x86_64]
|
multilib: [x86_64]
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
ref: stream-llvm-toolset-rhel-next-rhel-8.10.0
|
||||||
buildorder: 2
|
buildorder: 2
|
||||||
kernel:
|
|
||||||
ref: rhel-8-main
|
|
||||||
buildorder: 3
|
|
||||||
buildonly: true
|
|
@ -1,8 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-8
|
|
||||||
decision_context: osci_compose_gate_modules
|
|
||||||
subject_type: redhat-module
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier1.functional}
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.redhat-module.rebuild.validation}
|
|
@ -1,69 +0,0 @@
|
|||||||
document: modulemd
|
|
||||||
version: 2
|
|
||||||
data:
|
|
||||||
name: llvm-toolset
|
|
||||||
stream: rhel8
|
|
||||||
summary: LLVM
|
|
||||||
description: LLVM Tools and libraries
|
|
||||||
license:
|
|
||||||
module: [MIT]
|
|
||||||
dependencies:
|
|
||||||
- buildrequires:
|
|
||||||
platform: [el8]
|
|
||||||
requires:
|
|
||||||
platform: [el8]
|
|
||||||
profiles:
|
|
||||||
common:
|
|
||||||
rpms:
|
|
||||||
- llvm-toolset
|
|
||||||
api:
|
|
||||||
rpms:
|
|
||||||
- clang
|
|
||||||
- clang-analyzer
|
|
||||||
- clang-libs
|
|
||||||
- clang-devel
|
|
||||||
- clang-tools-extra
|
|
||||||
- git-clang-format
|
|
||||||
- lldb
|
|
||||||
- lldb-devel
|
|
||||||
- llvm
|
|
||||||
- llvm-devel
|
|
||||||
- llvm-libs
|
|
||||||
- lld
|
|
||||||
- lld-libs
|
|
||||||
components:
|
|
||||||
rpms:
|
|
||||||
python-lit:
|
|
||||||
rationale: Lit test runner for LLVM
|
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
|
||||||
buildorder: 0
|
|
||||||
llvm:
|
|
||||||
rationale: LLVM tools and libraries
|
|
||||||
multilib: [x86_64]
|
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
|
||||||
buildorder: 0
|
|
||||||
lld:
|
|
||||||
rationale: LLVM linker
|
|
||||||
multilib: [x86_64]
|
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
|
||||||
buildorder: 1
|
|
||||||
clang:
|
|
||||||
rationale: clang tools and libraries
|
|
||||||
multilib: [x86_64]
|
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
|
||||||
buildorder: 1
|
|
||||||
compiler-rt:
|
|
||||||
rationale: LLVM compiler intrinsic and sanitizer libraries
|
|
||||||
multilib: [x86_64]
|
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
|
||||||
buildorder: 2
|
|
||||||
libomp:
|
|
||||||
rationale: LLVM OpenMP runtime
|
|
||||||
multilib: [x86_64]
|
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
|
||||||
buildorder: 2
|
|
||||||
lldb:
|
|
||||||
rationale: lldb debugger
|
|
||||||
multilib: [x86_64]
|
|
||||||
ref: stream-llvm-toolset-rhel8-rhel-8.10.0
|
|
||||||
buildorder: 2
|
|
@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
badfuncs:
|
|
||||||
# For compiler-rt, we allow the following forbidden functions:
|
|
||||||
# - gethostbyname
|
|
||||||
# - gethostbyname2
|
|
||||||
# - gethostbyaddr
|
|
||||||
# - inet_aton
|
|
||||||
# These are never actually used, and are installed just as interceptors.
|
|
||||||
allowed:
|
|
||||||
/usr/lib*/clang/*/lib/*/libclang_rt.?san.so:
|
|
||||||
- gethostbyaddr
|
|
||||||
- gethostbyname
|
|
||||||
- gethostbyname2
|
|
||||||
- inet_aton
|
|
||||||
/usr/lib*/clang/*/lib/*/libclang_rt.memprof.so:
|
|
||||||
- gethostbyaddr
|
|
||||||
- gethostbyname
|
|
||||||
- gethostbyname2
|
|
||||||
- inet_aton
|
|
||||||
|
|
@ -1,75 +0,0 @@
|
|||||||
#
|
|
||||||
# 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 *-CRB
|
|
||||||
when: >-
|
|
||||||
distro == rhel-9
|
|
||||||
or distro == rhel-8
|
|
||||||
|
|
||||||
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"
|
|
Loading…
Reference in New Issue
Block a user