Skip to content

Commit

Permalink
Correct the cxx11_abi condition (#8357)
Browse files Browse the repository at this point in the history
  • Loading branch information
tengyifei authored Nov 5, 2024
1 parent 57cce80 commit ca0a244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/ansible/roles/build_srcs/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
loop:
- { dir: "{{ (src_root, 'pytorch/dist') | path_join }}", prefix: "torch" }
- { dir: "{{ (src_root, 'pytorch/xla/dist') | path_join }}", prefix: "torch_xla" }
when: cxx11_abi
when: cxx11_abi | int > 0

- name: Copy wheels to /dist
ansible.builtin.shell: "cp {{ item }}/*.whl /dist"
Expand Down Expand Up @@ -173,7 +173,7 @@
args:
executable: /bin/bash
chdir: "/dist"
when: cxx11_abi
when: cxx11_abi | int > 0

- name: Find Torchvision *.whl files in /dist
ansible.builtin.find:
Expand Down

0 comments on commit ca0a244

Please sign in to comment.