[clang] [clang][test][OpenMP] Fix test assumptions of libomp and clang paths (PR #125891)
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 5 09:58:43 PST 2025
================
@@ -1,49 +1,49 @@
// REQUIRES: x86-registered-target, amdgpu-registered-target
// Fail on invalid ROCm Path.
-// RUN: not %clang -### --target=x86_64-unknown-linux-gnu -fopenmp --offload-arch=gfx908:xnack+ -fsanitize=address -fgpu-sanitize -nogpuinc --rocm-path=%S/Inputs/rocm-invalid %s 2>&1 \
+// RUN: not %clang -no-canonical-prefixes -### --target=x86_64-unknown-linux-gnu -fopenmp=libomp --offload-arch=gfx908:xnack+ -fsanitize=address -fgpu-sanitize -nogpuinc --rocm-path=%S/Inputs/rocm-invalid %s 2>&1 \
----------------
shiltian wrote:
hmm, I wonder if you compile clang/llvm with special setup? I could not reproduce this issue locally.
https://github.com/llvm/llvm-project/pull/125891
More information about the cfe-commits
mailing list