diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 1014861a7..9a4296093 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -90,9 +90,13 @@ jobs: with: path: ~/work/hummingbird/tvm key: ${{ matrix.os }}-${{ env.CACHE_NUMBER }}-${{ matrix.python-version }}-tvm-0.10 - # Getting TVM requires: 1) fetching TVM from github, 2) cmake, 3) make, 4) install python dependency. - # 1 to 3 will be retrieved from the cache. + # Getting TVM requires: 1) Install LLVM 2) fetching TVM from github, 3) cmake, 4) make, 5) install python dependency. + # 2 to 4 will be retrieved from the cache. # The pipeline only works for Unix systems. For windows we will have to compile LLVM from source which is a no go. + - name: Install LLVM if Mac + if: ${{ startsWith(matrix.os, 'macos') }} + run: | + brew install llvm@14 - name: Fetch and prepare TVM for compilation if Mac if: ${{ steps.cache.outputs.cache-hit != 'true' && startsWith(matrix.os, 'macos') }} run: |