[clang] [Driver][SYCL][Windows] Add SYCL windows runtime library linking support for SYCL JIT compilations (PR #194744)
Nick Sarnie via cfe-commits
cfe-commits at lists.llvm.org
Thu May 7 07:11:46 PDT 2026
================
@@ -4911,6 +4911,35 @@ static void ProcessVSRuntimeLibrary(const ToolChain &TC, const ArgList &Args,
CmdArgs.push_back("--dependent-lib=oldnames");
}
+ // SYCL: Add SYCL runtime library dependency
+ // SYCL runtime is a required dependency similar to CRT, so we use
+ // --dependent-lib to embed it in the object file metadata
+ if (Args.hasFlag(options::OPT_fsycl, options::OPT_fno_sycl, false) &&
----------------
sarnex wrote:
Thanks, I am not qualified to suggest any other solutions either
https://github.com/llvm/llvm-project/pull/194744
More information about the cfe-commits
mailing list