Skip to content

Commit e1fa80a

Browse files
committed
using dnf instead of yum
1 parent 62029e8 commit e1fa80a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

backend/cuda/cibuildwheel.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ repair-wheel-command = ""
77

88
[tool.cibuildwheel.linux]
99
before-all = [
10-
"yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel9/x86_64/cuda-rhel9.repo",
11-
"yum search cuda-toolkit*",
12-
"yum install -y cuda-toolkit-12-6"
10+
"dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel9/x86_64/cuda-rhel9.repo",
11+
"dnf search cuda-toolkit*",
12+
"dnf install -y cuda-toolkit-12-6"
1313
]
1414
environment = { CMAKE_CUDA_COMPILER = "/usr/local/cuda-12.6/bin/nvcc" }
1515

backend/mkl/cibuildwheel.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ before-build = "rm -rf {package}/osqp_sources/build"
66

77
[tool.cibuildwheel.linux]
88
before-all = [
9-
"yum-config-manager --add-repo https://yum.repos.intel.com/oneapi",
9+
"dnf config-manager --add-repo https://yum.repos.intel.com/oneapi",
1010
"rpm --import https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB",
11-
"yum --nogpgcheck install -y intel-oneapi-mkl-devel"
11+
"dnf --nogpgcheck install -y intel-oneapi-mkl-devel-2023.0.0"
1212
]
1313
environment = { MKL_ROOT = "/opt/intel/oneapi/mkl/latest" }
1414
repair-wheel-command = ""

0 commit comments

Comments
 (0)