[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 11:01:21 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:

thanks for pointing that out. this looks like indeed more common in the driver test.

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


More information about the cfe-commits mailing list