[clang] Reapply "[CUDA] Fix a couple of driver tests that really weren't bein… (PR #94000)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 07:51:55 PDT 2024


erichkeane wrote:

I've been having this fail in my local build for a few days now:
```
******************** TEST 'Clang :: Driver/offloading-interoperability.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: /local/home/ekeane/llvm-project/build/bin/clang -### -x cuda --target=powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -nocudainc -nocudalib -fopenmp=libomp /local/home/ekeane/llvm-project/clang/test/Driver/offloading-interoperability.c 2>&1    | /local/home/ekeane/llvm-project/build/bin/FileCheck /local/home/ekeane/llvm-project/clang/test/Driver/offloading-interoperability.c --check-prefix NO-OPENM
P-FLAGS-FOR-CUDA-DEVICE
+ /local/home/ekeane/llvm-project/build/bin/clang -### -x cuda --target=powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -nocudainc -nocudalib -fopenmp=libomp /local/home/ekeane/llvm-project/clang/test/Driver/offloading-interoperability.c
+ /local/home/ekeane/llvm-project/build/bin/FileCheck /local/home/ekeane/llvm-project/clang/test/Driver/offloading-interoperability.c --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE

--

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

```
I've got an AMD epyc machine, so I don't think it is a machine problem, but also the output doesn't really tell me anything? 

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


More information about the cfe-commits mailing list