[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:02 PDT 2026
================
@@ -29,13 +29,34 @@
// CHK-DEVICE-TRIPLE-SAME: "-O2"
// CHK-DEVICE-TRIPLE: llvm-offload-binary{{.*}} "--image=file={{.*}}.bc,triple=spirv64-unknown-unknown,arch=generic,kind=sycl"
-// Check if path to libsycl.so is passed to clang-linker-wrapper tool by default for SYCL compilation.
+// Check if path to the SYCL RT is passed to clang-linker-wrapper for SYCL compilation.
// The test also checks if SYCL header include paths are added to the SYCL host and device compilation.
-// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fsycl %s 2>&1 \
+// These tests require a fake install tree with a symlinked clang so that D.Dir points to a
+// controlled location, allowing us to place a dummy libLLVMSYCL.so where the driver expects it.
+// UNSUPPORTED: system-windows, system-cygwin
----------------
bader wrote:
Maybe move checks with this requirement to a separate test? I guess previous checks work fine on Windows/cygwin systems.
https://github.com/llvm/llvm-project/pull/188770
More information about the cfe-commits
mailing list