Skip to content

Commit c7cd225

Browse files
committed
* update workflow 2
1 parent 7c39203 commit c7cd225

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* &&
3232
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* &&
3333
yum install -y wget hwloc-devel
34+
CIBW_REPAIR_WHEEL_COMMAND_LINUX: >
35+
LD_LIBRARY_PATH=/project/extern/local/kahip/lib:/project/extern/local/mt-kahypar/lib64:$LD_LIBRARY_PATH
36+
auditwheel repair --lib-sdir . -w {dest_dir} {wheel}
3437
CIBW_BEFORE_BUILD: ./build.sh
3538
CIBW_BUILD_VERBOSITY: 1
3639

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ before-all = [
6161
"sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*",
6262
"yum install -y wget hwloc-devel"
6363
]
64+
repair-wheel-command = "LD_LIBRARY_PATH=/project/extern/local/kahip/lib:/project/extern/local/mt-kahypar/lib64:$LD_LIBRARY_PATH auditwheel repair --lib-sdir . -w {dest_dir} {wheel}"
6465

6566
[tool.cibuildwheel.macos]
6667
archs = ["x86_64", "arm64"]

0 commit comments

Comments
 (0)