File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 with :
2626 fetch-depth : 0
2727
28+ - name : Setup Python
29+ uses : actions/setup-python@v5
30+ with :
31+ python-version : ${{ matrix.python-version }}
32+
2833 - name : Download rknn-toolkit2
2934 shell : bash
3035 run : |
@@ -109,10 +114,28 @@ jobs:
109114 export SHERPA_ONNX_CMAKE_ARGS="-DSHERPA_ONNX_ENABLE_RKNN=ON"
110115 python3 setup.py bdist_wheel
111116
117+ mv dist wheelhouse
118+
112119 - name : Display results
113120 shell : bash
114121 run : |
115- ls -lh dist
122+ ls -lh wheelhouse
123+
124+ - name : Fix wheel name
125+ shell : bash
126+ run : |
127+ python3 -m pip install auditwheel
128+
129+ auditwheel show ./wheelhouse/*.whl
130+
131+ auditwheel repair --help
132+
133+ auditwheel --verbose repair --plat manylinux_2_27_aarch64 \
134+ --exclude librknnrt.so \
135+ --exclude libasound.so.2 \
136+ -w ./dist ./wheelhouse/*.whl
137+
138+ ls -lh dist/*.whl
116139
117140 - name : Show glibc versions
118141 shell : bash
You can’t perform that action at this time.
0 commit comments