aboutsummaryrefslogtreecommitdiff
path: root/ldcg-python-manylinux-tensorflow/ansible/roles/linaro/tasks/auditwheel-repair.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ldcg-python-manylinux-tensorflow/ansible/roles/linaro/tasks/auditwheel-repair.yml')
-rw-r--r--ldcg-python-manylinux-tensorflow/ansible/roles/linaro/tasks/auditwheel-repair.yml29
1 files changed, 8 insertions, 21 deletions
diff --git a/ldcg-python-manylinux-tensorflow/ansible/roles/linaro/tasks/auditwheel-repair.yml b/ldcg-python-manylinux-tensorflow/ansible/roles/linaro/tasks/auditwheel-repair.yml
index def8e2ec54..ddae2eaa9f 100644
--- a/ldcg-python-manylinux-tensorflow/ansible/roles/linaro/tasks/auditwheel-repair.yml
+++ b/ldcg-python-manylinux-tensorflow/ansible/roles/linaro/tasks/auditwheel-repair.yml
@@ -1,29 +1,16 @@
-- name: run auditwheel repair on wheels
- shell:
- cmd: "auditwheel repair {{ item }}"
+---
+- name: Run auditwheel repair on wheels # noqa no-changed-when
+ ansible.builtin.command:
+ cmd: "auditwheel repair -w {{ wheels_dir }} {{ item }}"
chdir: "{{ wheels_dir }}"
with_fileglob:
- - "{{ wheels_dir }}/tensorflow_cpu*.whl"
+ - "{{ wheels_dir }}/tensorflow*.whl"
- "{{ wheels_dir }}/h5py-3.2*.whl"
-- name: copy manylinux wheels into wheels
- copy:
- src: "{{ item }}"
- dest: "{{ wheels_dir }}"
- mode: 0666
- remote_src: true
- with_fileglob:
- - "{{ wheels_dir }}/wheelhouse/*.whl"
-
-- name: drop non-manylinux wheels
- file:
+- name: Drop non-manylinux wheels
+ ansible.builtin.file:
path: "{{ item }}"
state: absent
with_fileglob:
- - "{{ wheels_dir }}/tensorflow_cpu*linux_aarch64.whl"
+ - "{{ wheels_dir }}/tensorflow*linux_aarch64.whl"
- "{{ wheels_dir }}/h5py-3.2*linux_aarch64.whl"
-
-- name: drop wheelhouse dir
- file:
- path: "{{ wheels_dir }}/wheelhouse/"
- state: absent