Skip to content

Commit 02ae1ad

Browse files
committed
Tweak existing armv7l wheels to be presented with armv7l & armv6l tags (built on RPi, toolchains target armv6l by default)
1 parent 0d742b5 commit 02ae1ad

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,18 @@ jobs:
156156
run: python3 -m pip wheel . -w ./wheelhouse/ --verbose
157157
- name: Auditing wheel
158158
run: for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat linux_armv7l -w wheelhouse/audited/; done
159+
- name: Install tweaked auditwheel and add armv6l tag
160+
run: |
161+
python3 -m venv newauditvenv
162+
source newauditvenv/bin/activate
163+
python3 -m pip install git+https://github.com/luxonis/auditwheel@main
164+
for whl in wheelhouse/*.whl; do python3 -m auditwheel addtag -t linux_armv7l linux_armv6l -w wheelhouse/postaudited/ "$whl"; done
165+
deactivate
159166
- name: Archive wheel artifacts
160167
uses: actions/upload-artifact@v3
161168
with:
162169
name: audited-wheels
163-
path: wheelhouse/audited/
170+
path: wheelhouse/postaudited/
164171
- name: Deploy wheels to artifactory (if not a release)
165172
if: startsWith(github.ref, 'refs/tags/v') != true
166173
run: bash ./ci/upload-artifactory.sh

0 commit comments

Comments
 (0)