Skip to content

Commit d683507

Browse files
NicolasHugfacebook-github-bot
authored andcommitted
[fbsync] [Manylinux_2_28] Modify relocate script for linux builds: fix wheel_name (#9024)
Reviewed By: AntoineSimoulin Differential Revision: D79175048 fbshipit-source-id: 05de7a88fbee5a6e70a0a53e89dd310f0bb69dea
1 parent 528e890 commit d683507

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packaging/wheel/relocate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ def patch_linux():
337337
if osp.exists(osp.join(output_library, binary)):
338338
relocate_elf_library(patchelf, output_dir, output_library, binary)
339339

340+
# make sure wheel name is compatible with manylinux_2_28
341+
wheel_name = wheel_name.replace("linux_", "manylinux_2_28_")
340342
compress_wheel(output_dir, wheel, wheel_dir, wheel_name)
341343

342344

0 commit comments

Comments
 (0)