Skip to content

Commit

Permalink
fix error on TVM installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mshr-h committed Dec 27, 2022
1 parent b239747 commit 7b46591
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
if: ${{ startsWith(matrix.os, 'macos')}}
id: cache
env:
CACHE_NUMBER: 7
CACHE_NUMBER: 8
with:
path: ~/work/hummingbird/tvm
key: ${{ matrix.os }}-${{ env.CACHE_NUMBER }}-${{ matrix.python-version }}-tvm-0.10
Expand All @@ -105,7 +105,7 @@ jobs:
if: ${{ steps.cache.outputs.cache-hit != 'true' && startsWith(matrix.os, 'macos') }}
working-directory: ../tvm/build
run: >-
cmake
MACOSX_DEPLOYMENT_TARGET=10.13 cmake
"-DUSE_RPC=ON"
"-DUSE_GRAPH_RUNTIME=ON"
"-DUSE_LLVM=$(brew --prefix llvm@14)/bin/llvm-config --link-static"
Expand All @@ -119,7 +119,10 @@ jobs:
if: ${{ startsWith(matrix.os, 'macos') }}
working-directory: ../tvm/python
run: |
python setup.py install
python -m pip install -U wheel packaging
python setup.py bdist_wheel
python -m pip install dist/tvm-*.whl
# We don't run pytest for Linux py3.8 since we do coverage for that case.
- name: Test with pytest
if: ${{ matrix.python-version != '3.8' || startsWith(matrix.os, 'ubuntu') != true }}
Expand Down

0 comments on commit 7b46591

Please sign in to comment.