[clang] [llvm] [Driver][SYCL] Add initial SYCL offload compilation support (PR #117268)
Paul Kirth via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 6 10:35:23 PST 2025
ilovepi wrote:
We're seeing SYCL tests fail on Linux builders after this patch https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-host-linux-x64/b8726474372098645345/overview
```
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /b/s/w/ir/x/w/llvm_build/bin/clang -### -fsycl -c /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/sycl.c 2>&1 | /b/s/w/ir/x/w/llvm_build/bin/FileCheck /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/sycl.c --check-prefix=ENABLED
+ /b/s/w/ir/x/w/llvm_build/bin/clang -### -fsycl -c /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/sycl.c
+ /b/s/w/ir/x/w/llvm_build/bin/FileCheck /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/sycl.c --check-prefix=ENABLED
/b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/sycl.c:18:13: error: ENABLED: expected string not found in input
// ENABLED: "-cc1"{{.*}} "-fsycl-is-device"
^
<stdin>:1:1: note: scanning from here
Fuchsia clang version 20.0.0git (https://llvm.googlesource.com/llvm-project d00f65c6acd9f0e1ddae83391f55eb9d232d2f9e)
^
<stdin>:2:14: note: possible intended match here
Target: x86_64-unknown-linux-gnu
^
Input file: <stdin>
Check file: /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/sycl.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: Fuchsia clang version 20.0.0git (https://llvm.googlesource.com/llvm-project d00f65c6acd9f0e1ddae83391f55eb9d232d2f9e)
check:18'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
2: Target: x86_64-unknown-linux-gnu
check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:18'1 ? possible intended match
3: Thread model: posix
check:18'0 ~~~~~~~~~~~~~~~~~~~~
4: InstalledDir: /b/s/w/ir/x/w/llvm_build/bin
check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>
```
Can you take a look, and revert if the fix will take a while?
https://github.com/llvm/llvm-project/pull/117268
More information about the llvm-commits
mailing list