Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rewrite github action file for windows - Use windows-2019 image - Use prebuilt LLVM 15 - Build boost in CI * Add full path to clang In the Github runner, another LLVM is installed in C:\Program Files, we want to use the prebuilt one * Remove continue-on-error * Prepend path to prebuilt LLVM to PATH * Comment out code that does not compile with LLVM13+ TODO: Check if this is still necessary and how to make it work with LLVM13+ * Link against LLVMSupport on Windows Required for symbols from LLVM CommandLine library * Build in Release mode to match build type of LLVM * Add step to build CPU tests * Add missing cd command * Use correct path to hipsycl-config.cmake * Add missing quotes * Run CPU tests * Fix path * Fix typo * Use cmd instead of powershell * Add path to install_dir/bin to PATH to make dlls findable * Add missing backslash * Add steps to install CUDA * Fix typo in CUDA version * Add step to build tests with CUDA backend * Build CUDA tests in own directory * Use different gencode for CUDA tests * Fix typo in CUDA gencode * Remove 10.2 from tested CUDA versions * Only test CUDA 11.0 for now * Use correct version when caching CUDA * Switch to Windows Server 2022 as OS When compiling the tests with the CUDA backend, we're getting errors that have been fixed in for Visual Studio 2022 here: microsoft/STL#2075 * Use different CUDA gencode again * Switch from hipSYCL_DIR and HIPSYCL_TARGETS to OpenSYCL_DIR and OPENSYCL_TARGETS * Fix path to OpenSYCL.config * Add missing quotes * Remove step to build CUDA tests The prebuilt LLVM was not build with CUDA enabled * Add steps to build with prebuilt clang 11 * Enable calling `setDeviceMangleContext` for LLVM 11 and 12 In fact, this is not available in LLVM 11 (only when patched with https://reviews.llvm.org/D69322) but the prebuilt LLVM in CI is exactly a patched LLVM 11. * Remove clang11 from tested clang versions
- Loading branch information
1 parent
f342dfd
commit d382698
Showing
3 changed files
with
56 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters