shiltian wrote:

I don't think this should be fixed by us. The CMake test code was not written 
correctly. It is based on some assumptions that might not be true. Does OpenMP 
require that a compliant compiler needs to always define the macro?

Also, I'm also not sure what the CMake compiler setup is. If a compiler is by 
default a HIP compiler, is it right to tell CMake that this is the regular C ++ 
compiler and go ahead testing its OpenMP capabilities yourself?

https://github.com/llvm/llvm-project/pull/176791
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to