Skip to content

Commit ca0a244

Browse files
authored
Correct the cxx11_abi condition (#8357)
1 parent 57cce80 commit ca0a244

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
loop:
126126
- { dir: "{{ (src_root, 'pytorch/dist') | path_join }}", prefix: "torch" }
127127
- { dir: "{{ (src_root, 'pytorch/xla/dist') | path_join }}", prefix: "torch_xla" }
128-
when: cxx11_abi
128+
when: cxx11_abi | int > 0
129129

130130
- name: Copy wheels to /dist
131131
ansible.builtin.shell: "cp {{ item }}/*.whl /dist"
@@ -173,7 +173,7 @@
173173
args:
174174
executable: /bin/bash
175175
chdir: "/dist"
176-
when: cxx11_abi
176+
when: cxx11_abi | int > 0
177177

178178
- name: Find Torchvision *.whl files in /dist
179179
ansible.builtin.find:

0 commit comments

Comments
 (0)