File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,14 +126,14 @@ jobs:
126126 - name : Build and Install TVM (MacOS)
127127 if : matrix.os == 'macOS-latest'
128128 run : |
129- export CMAKE_ARGS="-G Ninja -DUSE_LLVM='/opt/homebrew/opt/ llvm/bin/llvm-config --link-static' -DBUILD_TESTING=OFF"
130- uv pip install --no-deps . --verbose
129+ export CMAKE_ARGS="-G Ninja; -DUSE_LLVM='$(brew --prefix llvm) /bin/llvm-config --link-static'; -DBUILD_TESTING=OFF"
130+ uv pip install --no-deps . --verbose --config-settings=cmake.args="$CMAKE_ARGS"
131131
132132 - name : Build and Install TVM (Windows)
133133 if : matrix.os == 'windows-latest'
134134 run : |
135135 $env:CMAKE_ARGS = "-DUSE_LLVM=$env:LLVM_CONFIG -DBUILD_TESTING=OFF"
136- uv pip install --no-deps . --verbose
136+ uv pip install --no-deps . --verbose --config-settings=cmake.args="$env:CMAKE_ARGS"
137137
138138 - name : Install test dependencies
139139 run : uv pip install --verbose psutil cloudpickle ml_dtypes numpy packaging scipy tornado typing_extensions pytest
You can’t perform that action at this time.
0 commit comments