-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
rhel-jotnar
-
5
-
False
-
-
None
Do scratch rebuilds of the following packages:
$ python3 clang-br-query.py 9.8
['annobin', 'bpftool', 'clang', 'dotnet6.0', 'dotnet7.0', 'dotnet8.0', 'dotnet9.0', 'fips-provider-next', 'firefox', 'gcc-toolset-12-annobin', 'gcc-toolset-13-annobin', 'gcc-toolset-14-annobin', 'golang', 'keylime-agent-rust', 'llvm', 'pcp', 'qemu-kvm', 'stalld', 'stratisd', 'thunderbird', 'v4l-utils', 'xdp-tools', 'device-mapper-persistent-data', 'kernel', 'libkcapi']
Here is the clang-br-query.py script. Run this before doing the rebuilds in
order to ensure that you are using an up-to-date list of packages.
import sys import hawkey import dnf def get_clang_br_pkgs(rhel_version : str) -> list[str]: rhel_major = rhel_version.split('.')[0] base = dnf.Base() conf = base.conf repos = base.repos.get_matching("*") repos.disable() for c in "AppStream", "BaseOS", "CRB": base.repos.add_new_repo( f" {c}-source", conf, baseurl=[ f"http://download.hosts.prod.upshift.rdu2.redhat.com/rhel-{rhel_major}/nightly/RHEL-{rhel_major}/latest-RHEL-{rhel_version}/compose/{c} /source/tree/" ], ) repos = base.repos.get_matching("{c} -source") repos.enable() base.fill_sack() q = base.sack.query(flags=hawkey.IGNORE_MODULAR_EXCLUDES) q = q.filter(requires=["clang"]) pkgs = [p.name for p in list(q)] return pkgs def main(): print(get_clang_br_pkgs(sys.argv[1])) if {}name{} == "{}main{}": main()
- split from
-
RHEL-100898 Rebase LLVM Toolset to LLVM 21 [rhel-9]
-
- In Progress
-