[clang] [llvm] [Driver][SYCL] Add initial SYCL offload compilation support (PR #117268)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 09:38:55 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/12282

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Driver/sycl-offload-jit.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -ccc-print-phases --target=x86_64-unknown-linux-gnu -fsycl /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp 2>&1    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefixes=CHK-PHASES /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -ccc-print-phases --target=x86_64-unknown-linux-gnu -fsycl /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefixes=CHK-PHASES /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp
RUN: at line 6: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang --driver-mode=cl -ccc-print-phases --target=x86_64-pc-windows-msvc -fsycl /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp 2>&1    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefixes=CHK-PHASES /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -check-prefixes=CHK-PHASES /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang --driver-mode=cl -ccc-print-phases --target=x86_64-pc-windows-msvc -fsycl /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp:8:16: error: CHK-PHASES: expected string not found in input
// CHK-PHASES: 0: input, "[[INPUT:.+\.cpp]]", c++, (host-sycl)
               ^
<stdin>:1:1: note: scanning from here
clang: warning: '/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp' treated as the '/U' option [-Wslash-u-filename]
^
<stdin>:3:15: note: possible intended match here
clang: error: no input files
              ^

Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: clang: warning: '/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl-offload-jit.cpp' treated as the '/U' option [-Wslash-u-filename] 
check:8'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           2: clang: note: use '--' to treat subsequent arguments as filenames 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           3: clang: error: no input files 
check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:8'1                   ?               possible intended match
>>>>>>

--

********************


```

</details>

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


More information about the llvm-commits mailing list