Skip to content

Commit 5a44e19

Browse files
bhavya01ysiraichi
authored andcommitted
Support manylinux build for r2.9. (#9674)
Using the `manylinux_2_28_x86_64` tag guarantees that the built wheel works for any linux distribution with glibc version >= 2.28 If this is not used, then the built wheel is not guaranteed to work on linux distributions other than what the build infra uses. See [manylinux](https://github.com/pypa/manylinux?tab=readme-ov-file) for more details Co-authored-by: Yukio Siraichi <[email protected]>
1 parent ab39b06 commit 5a44e19

File tree

1 file changed

+1
-1
lines changed
  • infra/ansible/roles/build_srcs/tasks

1 file changed

+1
-1
lines changed

infra/ansible/roles/build_srcs/tasks/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
- name: Build PyTorch/XLA
4545
ansible.builtin.command:
46-
cmd: python setup.py bdist_wheel
46+
cmd: python setup.py bdist_wheel -p manylinux_2_28_x86_64
4747
chdir: "{{ (src_root, 'pytorch/xla') | path_join }}"
4848
environment: "{{ env_vars }}"
4949

0 commit comments

Comments
 (0)