File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 8585 if : ${{ startsWith(matrix.os, 'macos')}}
8686 id : cache
8787 env :
88- CACHE_NUMBER : 7
88+ CACHE_NUMBER : 8
8989 with :
9090 path : ~/work/hummingbird/tvm
9191 key : ${{ matrix.os }}-${{ env.CACHE_NUMBER }}-${{ matrix.python-version }}-tvm-0.10
@@ -105,7 +105,7 @@ jobs:
105105 if : ${{ steps.cache.outputs.cache-hit != 'true' && startsWith(matrix.os, 'macos') }}
106106 working-directory : ../tvm/build
107107 run : >-
108- cmake
108+ MACOSX_DEPLOYMENT_TARGET=10.13 cmake
109109 "-DUSE_RPC=ON"
110110 "-DUSE_GRAPH_RUNTIME=ON"
111111 "-DUSE_LLVM=$(brew --prefix llvm@14)/bin/llvm-config --link-static"
@@ -119,7 +119,10 @@ jobs:
119119 if : ${{ startsWith(matrix.os, 'macos') }}
120120 working-directory : ../tvm/python
121121 run : |
122- python setup.py install
122+ python -m pip install -U wheel packaging
123+ python setup.py bdist_wheel
124+ python -m pip install dist/tvm-*.whl
125+
123126 # We don't run pytest for Linux py3.8 since we do coverage for that case.
124127 - name : Test with pytest
125128 if : ${{ matrix.python-version != '3.8' || startsWith(matrix.os, 'ubuntu') != true }}
You can’t perform that action at this time.
0 commit comments