From 03dc6f195c9160b33a95e50b23939fb1b8d88859 Mon Sep 17 00:00:00 2001 From: Karuboniru Date: Sat, 5 Oct 2024 18:30:45 +0800 Subject: [PATCH] Ensure clang from copr is used --- karuboniru-packages.yaml | 3 ++- llvm-snapshot.repo | 18 +++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/karuboniru-packages.yaml b/karuboniru-packages.yaml index fd49f61..80b2fc2 100644 --- a/karuboniru-packages.yaml +++ b/karuboniru-packages.yaml @@ -51,7 +51,7 @@ packages: - gcc-c++ - gcc-gfortran - llvm - - clang + - "'clang >= 20'" - clang-analyzer - lld - lldb @@ -135,6 +135,7 @@ repos: - fedora-41-updates-testing - vscode - llvm-snapshot + - llvm-snapshot-rundep postprocess: - | diff --git a/llvm-snapshot.repo b/llvm-snapshot.repo index 6e225a9..406b9b9 100644 --- a/llvm-snapshot.repo +++ b/llvm-snapshot.repo @@ -10,12 +10,12 @@ enabled=1 enabled_metadata=1 module_hotfixes=1 -# [llvm-snapshot-rundep] -# name=Copr copr.fedorainfracloud.org/@fedora-llvm-team/llvm-snapshots external runtime dependency #1 - https_download_copr_fedorainfracloud_org_results_40fedora_llvm_team_llvm_compat_packages_distname_releasever_basearch -# baseurl=https://download.copr.fedorainfracloud.org/results/%40fedora-llvm-team/llvm-compat-packages/fedora-$releasever-$basearch -# type=rpm-md -# skip_if_unavailable=True -# repo_gpgcheck=0 -# gpgcheck=0 -# enabled=1 -# enabled_metadata=1 +[llvm-snapshot-rundep] +name=Copr copr.fedorainfracloud.org/@fedora-llvm-team/llvm-snapshots external runtime dependency #1 - https_download_copr_fedorainfracloud_org_results_40fedora_llvm_team_llvm_compat_packages_distname_releasever_basearch +baseurl=https://download.copr.fedorainfracloud.org/results/%40fedora-llvm-team/llvm-compat-packages/fedora-41-$basearch +type=rpm-md +skip_if_unavailable=True +repo_gpgcheck=0 +gpgcheck=0 +enabled=1 +enabled_metadata=1