kkwli0 added a comment.

So an alternative is to:

- patch `openmp/runtime/cmake/LibompCheckLinkerFlag.cmake` to make the 
`libomp_check_linker_flag` function to ignore the "Unknown CUDA version" 
warning,  AND
- ask users to build with `-DCMAKE_CXX_FLAGS=-Wno-unknown-cuda-version 
-DCMAKE_C_FLAGS=-Wno-unknown-cuda-version` to get around the `C_SUPPORTS_FPIC` 
test in `cmake/modules/HandleLLVMOptions.cmake` if the system has CUDA10.2 
installed.




CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74571/new/

https://reviews.llvm.org/D74571



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to