Meinersbur wrote:

> One problem with enabling flang-rt on the GPU is that it has a dependency on 
> libc / libc++ on the GPU as well. Maybe there's a way to make it work there 
> just to build the module files?

This is what FLANG_RT_ENABLE_STATIC=OFF FLANG_RT_ENABLE_SHARED=OFF does (which 
this PR makes the default on nvptx/amdgpu targets). It should only build the 
.f90 files which have no dependency of libc or libc++, and only builds object 
libraries, so there is no linking step.

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

Reply via email to