Skip to content

Commit 647cadb

Browse files
committed
explicitly specify the -fopenmp lib in spirv-openmp-toolchain.c test
Don't rely on the default `CLANG_DEFAULT_OPENMP_RUNTIME` env variable which is `libomp` by default. This was missed in 119fc72
1 parent 63d4e0f commit 647cadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/spirv-openmp-toolchain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fopenmp -fopenmp-targets=spirv64-intel \
1+
// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fopenmp=libomp -fopenmp-targets=spirv64-intel \
22
// RUN: --libomptarget-spirv-bc-path=%t/ -nogpulib %s 2>&1 \
33
// RUN: | FileCheck %s
44

0 commit comments

Comments
 (0)