template <typename T>
testing::AssertionResult matchesWithOpenMP(const std::string &Code,
const T &AMatcher) {
- return matchesConditionally(Code, AMatcher, true, "-fopenmp");
+ return matchesConditionally(Code, AMatcher, true, "-fopenmp=libomp");
}
template <typename T>
testing::AssertionResult notMatchesWithOpenMP(const std::string &Code,
const T &AMatcher) {
- return matchesConditionally(Code, AMatcher, false, "-fopenmp");
+ return matchesConditionally(Code, AMatcher, false, "-fopenmp=libomp");
}
template <typename T>