[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 04:59:10 PST 2024
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/9546
<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.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -### -fsycl -c /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl.c 2>&1 | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl.c --check-prefix=ENABLED
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -### -fsycl -c /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl.c
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl.c --check-prefix=ENABLED
[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl.c:18:13: [0m[0;1;31merror: [0m[1mENABLED: expected string not found in input
[0m// ENABLED: "-cc1"{{.*}} "-fsycl-is-device"
[0;1;32m ^
[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0mclang version 20.0.0git (https://github.com/llvm/llvm-project.git 0b0d61101fa0648a09ebc1dc7a26ee9a89e91be8)
[0;1;32m^
[0m[1m<stdin>:9:80: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m0. Program arguments: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -### -fsycl -c /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl.c
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46mclang version 20.0.0git (https://github.com/llvm/llvm-project.git 0b0d61101fa0648a09ebc1dc7a26ee9a89e91be8) [0m
[0;1;31mcheck:18'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
[0m[0;1;30m 2: [0m[1m[0;1;46mTarget: arm64-apple-darwin23.6.0 [0m
[0;1;31mcheck:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 3: [0m[1m[0;1;46mThread model: posix [0m
[0;1;31mcheck:18'0 ~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 4: [0m[1m[0;1;46mInstalledDir: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin [0m
[0;1;31mcheck:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 5: [0m[1m[0;1;46mBuild config: +assertions [0m
[0;1;31mcheck:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 6: [0m[1m[0;1;46mAssertion failed: (TargetInitialized && "Target not initialized!"), function isTargetWatchOSBased, file Darwin.h, line 458. [0m
[0;1;31mcheck:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 7: [0m[1m[0;1;46mPLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. [0m
[0;1;31mcheck:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 8: [0m[1m[0;1;46mStack dump: [0m
[0;1;31mcheck:18'0 ~~~~~~~~~~~~
[0m[0;1;30m 9: [0m[1m[0;1;46m0. Program arguments: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -### -fsycl -c /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/sycl.c [0m
[0;1;31mcheck:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;35mcheck:18'1 ? possible intended match
[0m[0;1;30m 10: [0m[1m[0;1;46m1. Compilation construction [0m
[0;1;31mcheck:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 11: [0m[1m[0;1;46m2. Building compilation jobs [0m
[0;1;31mcheck:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 12: [0m[1m[0;1;46m3. Building compilation jobs [0m
[0;1;31mcheck:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/107493
More information about the cfe-commits
mailing list