[flang-commits] [flang] [flang][cuda][openacc] Emit an error when CUDA symbols are imported with CUDA disabled (PR #205207)
via flang-commits
flang-commits at lists.llvm.org
Mon Jun 22 15:55:51 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 4402 tests passed
* 206 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Flang
<details>
<summary>Flang.Semantics/modfile84.f90</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/modfile84.f90 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Semantics/Output/modfile84.f90.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/modfile84.f90 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Semantics/Output/modfile84.f90.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fintrinsic-modules-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/finclude/flang/x86_64-unknown-linux-gnu -fsyntax-only -x cuda -module-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Semantics/Output/modfile84.f90.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Semantics/Output/modfile84.f90.tmp/m.cuf
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fintrinsic-modules-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/finclude/flang/x86_64-unknown-linux-gnu -fsyntax-only -x cuda -module-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Semantics/Output/modfile84.f90.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Semantics/Output/modfile84.f90.tmp/m.cuf
# note: command had no output on stdout or stderr
# RUN: at line 3
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fintrinsic-modules-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/finclude/flang/x86_64-unknown-linux-gnu -fsyntax-only -fopenacc -module-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Semantics/Output/modfile84.f90.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Semantics/Output/modfile84.f90.tmp/use.f90 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/modfile84.f90
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fintrinsic-modules-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/finclude/flang/x86_64-unknown-linux-gnu -fsyntax-only -fopenacc -module-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Semantics/Output/modfile84.f90.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Semantics/Output/modfile84.f90.tmp/use.f90
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/modfile84.f90
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/modfile84.f90
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/205207
More information about the flang-commits
mailing list