You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][UR] Add Windows debug libs to install target (#17512)
1. Add install target for Windows debug libs called
`install-unified-runtime-libraries` which installs only the runtime
library subset of targets. This can be used to provide `ur_loaderd.dll`
and `ur_adatper_<name>d.dll` which link against the multithreaded debug
DLL C runtime by using the `DEBUG_POSTFIX` target property to append `d`
to the library names.
2. Add `UR_USE_DEBUG_POSTFIX` option to enable adding the `d` suffix to
library names.
3. Remove setting redundant `OUTPUT_NAME`s as combining
`DEBUG_POSTFIX=d` and then setting
`LIBRARY_OUTPUT_NAME`/`RUNTIME_OUTPUT_NAME` exposes a bug in CMake where
the `DEBUG_POSTFIX` is ignored for the `ur_loader.dll`. Removing these
redundant property setters fixed the previous issue.
4. Add debug UR subbuild on Windows `ExternalProject` compiled in debug
mode and with the `UR_USE_DEBUG_POSTFIX` option enabled.
* The resulting libraries are then copied to the
`<build>/bin`/`<build>/lib` directories so they can be used in testing
(not yet implemented).
* Additionally, they are also included in the `deploy-sycl-toolchain`
install target alongside the normally named runtime libraries.
5. Update `ur_proxy_loaderd.dll` to use Windows debug libs
0 commit comments