Skip to content

Commit d218708

Browse files
committed
windows
1 parent 7ff4900 commit d218708

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)