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

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 15 14:05:45 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-solaris11-sparcv9` running on `solaris11-sparcv9` while building `clang,llvm` at step 5 "ninja check 1".

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

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

```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang :: Driver/sycl-offload-jit.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 6: /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/clang -ccc-print-phases --target=x86_64-unknown-linux-gnu    -fsycl /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/Driver/sycl-offload-jit.cpp 2>&1  | /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/FileCheck -check-prefixes=CHK-PHASES /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/Driver/sycl-offload-jit.cpp
+ /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/clang -ccc-print-phases --target=x86_64-unknown-linux-gnu -fsycl /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/Driver/sycl-offload-jit.cpp
+ /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/FileCheck -check-prefixes=CHK-PHASES /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/Driver/sycl-offload-jit.cpp
RUN: at line 9: /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/clang --driver-mode=cl -ccc-print-phases --target=x86_64-pc-windows-msvc -fsycl    /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/Driver/sycl-offload-jit.cpp 2>&1  | /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/FileCheck -check-prefixes=CHK-PHASES /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/Driver/sycl-offload-jit.cpp
+ /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/clang --driver-mode=cl -ccc-print-phases --target=x86_64-pc-windows-msvc -fsycl /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/Driver/sycl-offload-jit.cpp
+ /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/FileCheck -check-prefixes=CHK-PHASES /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/Driver/sycl-offload-jit.cpp
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/Driver/sycl-offload-jit.cpp:12: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: error: no input files
^
<stdin>:1:15: note: possible intended match here
clang: error: no input files
              ^

Input file: <stdin>
Check file: /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/Driver/sycl-offload-jit.cpp

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

Input was:
<<<<<<
            1: clang: error: no input files 
check:12'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:12'1                   ?               possible intended match
>>>>>>

--

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


```

</details>

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


More information about the cfe-commits mailing list