[CI] Use preinstalled LLVM on Windows runners #1260
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I accidentally discovered that the Windows runners come with a version of LLVM 16 that successfully compiles AdaptiveCpp itself as well as the tests 😮 . It was only necessary to add quotes around the
CMAKE_CXX_COMPILER
variable when constructing thesyclcc_launcher
line inadaptivecpp-config.cmake.in
due to the space in Windows'sProgram Files
.Running the tests still fails, no idea why. I'll see if I can figure out what's failing exactly but if that turns out to be more difficult, I think it might make sense to disable that temporarily and at least have a Github action that compiles AdaptiveCpp and the tests.