-
Notifications
You must be signed in to change notification settings - Fork 769
[UR][L0] Fix runtime library linkage failure #17347
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
Conversation
@@ -63,6 +63,22 @@ if (NOT DEFINED LEVEL_ZERO_LIBRARY OR NOT DEFINED LEVEL_ZERO_INCLUDE_DIR) | |||
FetchContent_MakeAvailable(level-zero-loader) | |||
FetchContent_GetProperties(level-zero-loader) | |||
|
|||
if(WIN32 AND level-zero-loader_SOURCE_DIR) | |||
# apply runtime library patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this probably should be under if(MSVC)
. Also, instead of patching the cmakes, isn't it possible to replace the CXX_FLAGS variables?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, works locally
55777ab
to
00e27fe
Compare
Fix failure of mismatching runtime library types when linking ur_adapter_level_zero.dll with ze_loader.lib.
00e27fe
to
06b0c41
Compare
Failure in SYCL Pre Commit on Linux job not related with changes from this PR which affect Windows only. |
Closing in favor of #17366 |
This is a joined cherry-pick of #17347 and #17105 made to align disabled tests between `sycl` and `sycl-rel-6_1_0` branches to make the pre-commit more stable on the latter. Descriptions of cherry-picked commits: --- [SYCL][Graph][E2E] Disable all Graph E2E testing on Windows Battlemage (#17348) We currently only disable the RecordReplay variant of E2E testing on battlemage, however we have many other tests and the likihood is that if the RecordReplay tests are failing then other tests will start failing too. Disable all Graphs tests until Graph support on Windows battlemage can be investigated more thoroughly. See #17165 Patch-By: Ewan Crawford <[email protected]> --- [CI] Add Windows BMG testing in precommit (#17105) We got a Windows BMG machine, so add Windows BMG testing. There are two categories of failures here: consistent failures/timeouts and really slow tests causing CI to take 30min extra. I disabled both of these and made two GH issues: [one](#17165), [two](#17255). Patch-by: Sarnie, Nick <[email protected]> ---
Fix failure of mismatching runtime library types when linking ur_adapter_level_zero.dll with ze_loader.lib.