Skip to content

[CI] Add experimental Windows build in GitHub Actions nightly #5560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Feb 14, 2022

Conversation

alexbatashev
Copy link
Contributor

@alexbatashev alexbatashev commented Feb 12, 2022

Add experimental Windows SYCL toolchain with CUDA builds on GitHub Actions infrastructure. Tests are currently unsupported.
Dependencies are installed with chocolatey.

@alexbatashev alexbatashev changed the title test windows [CI] Add experimental Windows build in GitHub Actions nightly Feb 13, 2022
@alexbatashev
Copy link
Contributor Author

Currently identified problems:

  1. Level Zero can't be built with clang. See Error building with clang-cl on Windows oneapi-src/level-zero#83
  2. sccache is not properly supported by SYCL CMake:
sccache C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1430~1.307\bin\Hostx64\x64\cl.exe  /nologo /TP -DCL_TARGET_OPENCL_VERSION=220 -DSYCL2020_DISABLE_DEPRECATION_WARNINGS -DUNICODE -DXPTI_ENABLE_INSTRUMENTATION -DXPTI_STATIC_LIBRARY -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SYCL_BUILD_SYCL_DLL -D__SYCL_INTERNAL_API -ID:\a\llvm\llvm\build\tools\sycl\source -ID:\a\llvm\llvm\src\sycl\source -ID:\a\llvm\llvm\build\include -ID:\a\llvm\llvm\src\llvm\include -ID:\a\llvm\llvm\src\xpti\include -ID:\a\llvm\llvm\src\sycl\include -external:ID:\a\llvm\llvm\build\_deps\ocl-headers-src -external:W0 /WX /W4 /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Zc:strictStrings /Oi /Zc:rvalueCast /bigobj /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238 /Gw /EHsc /FS /Zi  /O2 /Ob2   -wd4[99](https://github.com/intel/llvm/runs/5172608217?check_suite_focus=true#step:7:99)6 -UNDEBUG /MD -std:c++17 /showIncludes /Fotools\sycl\source\CMakeFiles\sycl_object.dir\backend\level_zero.cpp.obj /Fdtools\sycl\source\CMakeFiles\sycl_object.dir\ /FS -c D:\a\llvm\llvm\src\sycl\source\backend\level_zero.cpp
D:\a\llvm\llvm\src\sycl\source\backend\level_zero.cpp: fatal error C1041: cannot open program database 'D:\a\llvm\llvm\build\tools\sycl\source\CMakeFiles\sycl_object.dir\vc140.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS

@alexbatashev alexbatashev marked this pull request as ready for review February 13, 2022 10:41
@alexbatashev alexbatashev requested a review from bader as a code owner February 13, 2022 10:41
@alexbatashev alexbatashev requested a review from bader February 13, 2022 18:27
@bader bader merged commit 7dc214a into intel:sycl Feb 14, 2022
alexbatashev added a commit to alexbatashev/llvm that referenced this pull request Feb 23, 2022
…/llvm into refactor_existing_workflows

* 'refactor_existing_workflows' of github.com:alexbatashev/llvm: (2051 commits)
  [SYCL][L0] Honor property::queue::enable_profiling (intel#5543)
  [SYCL][CI] Enable sccache on Windows (intel#5589)
  [SYCL][Doc] Move internal design docs (intel#5556)
  [sycl-post-link] Initialize the integer Value variable (intel#5585)
  [CI] Fix nightly builds (intel#5584)
  [SYCL][L0] Fix use of copy-engines in L0 interop queue (intel#5579)
  Update OpenCL headers tag to dcd5bed (intel#5575)
  [SYCL] Fix warning for InOrderQueueSyncCheck unit test build (intel#5577)
  [SYCL][HIP] Remove arch requirement for running lit tests (intel#5253)
  [SYCL][L0] Fix timestamp calculation (in ns) (intel#5555)
  [SYCL] Fix sync of host task vs kernel for in-order queue (intel#5551)
  [sycl-post-link] Add a check for device globals with device_image_scope (intel#5517)
  [SYCL] Fix SYCL Kernel Body Check (intel#5546)
  [SYCL] Add support for SYCL 2020 in class group (intel#5447)
  Fix tests after 1c729d7 Use align attribute for kernel pointer arg alignment
  Fix tests after 18834dc Mark pointer-typed kernel arguments as ABI aligned
  [CI] Add experimental Windows build to GitHub Actions nightly (intel#5560)
  [sycl-post-link][NFC] Address clang-tidy concerns in the sycl-post-link (intel#5552)
  Fix lit test after changes in Clang
  Improve backward compatibility for DISubRange
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants