We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bd6974 commit e16e267Copy full SHA for e16e267
openmp/runtime/cmake/LibompCheckLinkerFlag.cmake
@@ -38,7 +38,8 @@ function(libomp_check_linker_flag flag boolean)
38
39
if(try_compile_result)
40
foreach(regex IN LISTS failed_regexes)
41
- if("${OUTPUT}" MATCHES ${regex})
+ # Ignore the warning about the newer or unknown CUDA version.
42
+ if(("${OUTPUT}" MATCHES ${regex}) AND NOT ("${OUTPUT}" MATCHES "Unknown CUDA version"))
43
set(retval FALSE)
44
endif()
45
endforeach()
0 commit comments