File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -237,12 +237,17 @@ jobs:
237237 $HIP_PWSH = "$(Resolve-Path 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' | split-path | split-path)"
238238 "HIP_PATH=$($HIP_PWSH.Replace('\', '/'))" | Out-File -FilePath $env:GITHUB_ENV -Append
239239 "CMAKE_PREFIX_PATH=$($HIP_PWSH.Replace('\', '/'))" | Out-File -FilePath $env:GITHUB_ENV -Append
240+ "HIP_PLATFORM=amd" | Out-File -FilePath $env:GITHUB_ENV -Append
241+ # Ensure hip-config.cmake can find hipconfig
242+ "PATH=$env:PATH;$($HIP_PWSH.Replace('\', '/'))/bin" | Out-File -FilePath $env:GITHUB_ENV -Append
240243 shell : pwsh
241244
242245 - name : windows build sqlite-ai
243246 if : matrix.os == 'windows-latest'
244247 run : make extension ${{ matrix.make && matrix.make || ''}}
245248 shell : msys2 {0}
249+ env :
250+ HIP_PLATFORM : amd
246251
247252 - name : build sqlite-ai
248253 if : matrix.os != 'windows-latest'
You can’t perform that action at this time.
0 commit comments