Skip to content

Commit fda8a5f

Browse files
amirafzalifacebook-github-bot
authored andcommitted
manylinux support for nightly wheel
Differential Revision: D77689672
1 parent 8bd15fc commit fda8a5f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/wheels.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@ jobs:
4343
4444
python setup.py bdist_wheel
4545
46-
# hacky until the right distribution wheel can be made...
47-
find dist -name "*linux_x86_64.whl" -type f -exec bash -c 'mv "$1" "${1/linux_x86_64.whl/manylinux2014_x86_64.whl}"' _ {} \;
46+
# Repair wheel (distribution support)
47+
pip install auditwheel
48+
auditwheel -v repair dist/* --exclude libtorch_python.so --exclude libc10.so --exclude libtorch.so --exclude libtorch_cpu.so
49+
rm -rf dist/*
50+
mv wheelhouse/* dist/
4851
ls -la dist/
4952
5053
# Run tests

0 commit comments

Comments
 (0)