Skip to content

Commit

Permalink
try -DMACOSX_DEPLOYMENT_TARGET=10.15
Browse files Browse the repository at this point in the history
  • Loading branch information
mshr-h committed Dec 21, 2022
1 parent d99b177 commit 0573033
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,22 @@ jobs:
"-DUSE_RPC=ON"
"-DUSE_GRAPH_RUNTIME=ON"
"-DUSE_LLVM=$(brew --prefix llvm@14)/bin/llvm-config --link-static"
"-DMACOSX_DEPLOYMENT_TARGET=10.15"
..
- name: Build TVM if Mac
if: ${{ steps.cache.outputs.cache-hit != 'true' && startsWith(matrix.os, 'macos') }}
working-directory: ../tvm/build
run: |
make -j3
- name: Install python TVM if Mac
- name: Build TVM wheel if Mac
if: ${{ startsWith(matrix.os, 'macos') }}
working-directory: ../tvm/python
run: |
python setup.py bdist_wheel
python -m pip install `readlink -f dist/tvm-*.whl`
- name: Install python TVM if Mac
if: ${{ startsWith(matrix.os, 'macos') }}
working-directory: ../tvm/python
run: |
# 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 0573033

Please sign in to comment.