[OpenMP] Fix a test that fails when 'libgomp' is the default library
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 12 Jan 2023 08:24:55 +0000 (09:24 +0100)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 12 Jan 2023 08:54:42 +0000 (09:54 +0100)
commit0a11a1b1868dd2ab183c4313ccbfbe126e91ca08
treeac273f361d67bf0e5815f86377017dc190a7d1f0
parent2dc7c7095153822ecd1a8f43aa4c185f9e80cc00
[OpenMP] Fix a test that fails when 'libgomp' is the default library

We can't do offloading with libgomp, thus the test fails. This change
explicitly chooses an OpenMP runtime library that is capable of
offloading.

This change is similar to
https://github.com/llvm/llvm-project/commit/a5098e5f27badc3ba16533418accd2e17641e4e4.
clang/test/Driver/openmp-system-arch.c