Skip to content

Commit 6a5a4b9

Browse files
committed
Use clang-cl as Windows AdaptiveCpp CPU compiler
1 parent ca3819c commit 6a5a4b9

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/actions/setup-sycl-toolchain/action.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,10 @@ runs:
132132
}
133133
$clangClShortPath = Get-ShortPath $clangClPath
134134
$clangBin = Split-Path $clangClPath -Parent
135-
$clangCxxPath = Join-Path $clangBin 'clang++.exe'
136-
if (-not (Test-Path $clangCxxPath)) {
137-
throw "clang++.exe was not found next to $clangClPath. Install the Visual Studio LLVM/Clang toolset on the Windows runner."
138-
}
139-
$clangCxxShortPath = Get-ShortPath $clangCxxPath
140135
141136
"ITLABAI_CC=$clangClShortPath" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
142137
"ITLABAI_CXX=$clangClShortPath" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
143-
"ITLABAI_ACPP_CPU_CXX=$clangCxxShortPath" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
138+
"ITLABAI_ACPP_CPU_CXX=$clangClShortPath" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
144139
"$clangBin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
145140
146141
- name: Configure Windows toolchain environment

0 commit comments

Comments
 (0)