Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-108316

[QE Task]: Rebase LLVM Toolset to LLVM 21 [rhel-10]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • llvm
    • None
    • rhel-jotnar
    • 5
    • False
    • Hide

      None

      Show
      None
    • None

      Do scratch rebuilds of the following packages:

      $ python3 clang-br-query.py 10.2

      ['annobin', 'bpftool', 'dotnet8.0', 'dotnet9.0', 'fips-provider-next', 'firefox', 'golang', 'keylime-agent-rust', 'llvm', 'pcp', 'qemu-kvm', 'stalld', 'stratisd', 'thunderbird', 'udev-hid-bpf', 'v4l-utils', 'xdp-tools', 'device-mapper-persistent-data', 'kernel', 'libkcapi', 'systemd']

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

      ```

              jotnar-project Jötnar Project
              tstellar@redhat.com Thomas Stellard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: