Skip to content

Commit b052893

Browse files
committed
Support manylinux build
1 parent ad76b20 commit b052893

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
@@ -25,7 +25,7 @@
2525

2626
- name: Build PyTorch
2727
ansible.builtin.command:
28-
cmd: python setup.py bdist_wheel
28+
cmd: python setup.py bdist_wheel -p manylinux_2_28_x86_64
2929
chdir: "{{ (src_root, 'pytorch') | path_join }}"
3030
creates: "{{ (src_root, 'pytorch/dist/*.whl') | path_join }}"
3131
# Set `USE_CUDA=0` as PyTorch cannot be used with GPU in eager and XLA mode.

0 commit comments

Comments
 (0)