[clang] [llvm] [libsycl][Driver] Move and rename the SYCL shared library (PR #188770)

Alexey Bader via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 17 10:07:01 PDT 2026


================
@@ -19,15 +19,30 @@ SYCLInstallationDetector::SYCLInstallationDetector(
     const Driver &D, const llvm::Triple &HostTriple,
     const llvm::opt::ArgList &Args)
     : D(D) {
-  // Detect the presence of the SYCL runtime library (libsycl.so) in the
+  // Detect the presence of the SYCL runtime library in the
   // filesystem. This is used to determine whether a usable SYCL installation
   // is available for the current driver invocation.
----------------
bader wrote:

```suggestion
 // When -fsycl is active, locate the SYCL runtime library and record its
 // directory in SYCLRTLibPath for use by the linker.
```
Now detection happens only if `-fsycl` is set.

https://github.com/llvm/llvm-project/pull/188770


More information about the cfe-commits mailing list