Meinersbur wrote:

> The library is present under
> 
> ```
> $PREFIX/flang-rt/lib/x86_64-unknown-linux-gnu/libflang_rt.a
> ```
> 
> (where it got installed through the changes in this PR, without any specific 
> overrides).

If `$PREFIX` is `CMAKE_INSTALL_DIR`, it is the wrong location. it should be in 
`$PREFIX/lib/clang/20/lib/x86_64-unknown-linux-gnu/libflang_rt.a`. I don't see 
how the `flang_rt` dir could get in there. Can you try with the latest update?

If `$PREFIX` is CMake's build directory, are you using a runtimes-standalone 
(non-bootstrap) build and running flang from there? Then `$PREFIX` for flang an 
flang-rt are different. `flang` looks into its own buildir only. You will have 
to `-L` to that directory or install them into the same `CMAKE_INSTALL_DIR`.

https://github.com/llvm/llvm-project/pull/110217
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to