Skip to content

Commit

Permalink
fix building wheels for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Feb 26, 2024
1 parent ec3b4d4 commit 8f79795
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 148 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,13 @@ jobs:
cd ..
rm -rf huggingface
cp source/cpu.html build/html/
cp source/cuda.html build/html/
git clone https://huggingface.co/csukuangfj/sherpa huggingface
cd huggingface
./run.sh
cp cpu.html ../build/html
cp cuda.html ../build/html
cd ..
rm -rf huggingface
touch build/html/.nojekyll
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-cpu-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Build wheels
shell: bash
run:
pip install torch==${{ matrix.torch}} cmake numpy k2==1.24.4.dev20240223+cpu.torch${{ matrix.torch }} kaldifeat==1.25.4.dev20240223+cpu.torch${{ matrix.torch }} -f https://csukuangfj.github.io/kaldifeat/cpu.html -f https://k2-fsa.github.io/k2/cpu.html
pip install torch==${{ matrix.torch}} cmake numpy k2==1.24.4.dev20240223+cpu.torch${{ matrix.torch }} kaldifeat==1.25.4.dev20240223+cpu.torch${{ matrix.torch }} -f https://download.pytorch.org/whl/torch_stable.html -f https://csukuangfj.github.io/kaldifeat/cpu.html -f https://k2-fsa.github.io/k2/cpu.html

python3 setup.py bdist_wheel
mkdir wheelhouse
Expand Down
57 changes: 0 additions & 57 deletions docs/source/cpu.html

This file was deleted.

Loading

0 comments on commit 8f79795

Please sign in to comment.