Skip to content

Commit 22638cd

Browse files
atalmanvkuzo
authored andcommitted
Exclude libcuda.so from auditwheel replair (#2927)
* Exclude libcuda.so from auditwheel replair * Update build_wheels_linux.yml * Update post_build_script.sh
1 parent e318546 commit 22638cd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build_wheels_linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
pull_request:
66
paths:
77
- build/packaging/**
8+
- packaging/**
89
- .github/workflows/build_wheels_linux.yml
910
- setup.py
1011
push:

packaging/post_build_script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ if [[ "$CU_VERSION" == cu* ]]; then
2121
--exclude libtorch_cpu.so \
2222
--exclude libc10.so \
2323
--exclude libc10_cuda.so \
24-
--exclude libcudart.so.12 \
25-
--exclude libcudart.so.11.0 \
24+
--exclude libcuda.so.* \
25+
--exclude libcudart.so.* \
2626
"${WHEEL_NAME}"
2727

2828
ls -lah .

0 commit comments

Comments
 (0)