[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

Michael Kruse via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Feb 10 07:30:53 PST 2025


Meinersbur wrote:

> * build `../llvm` and install into `$PREFIX`
> * build `../runtimes` (using `-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind"`) and install into `$PREFIX`
> * build `../clang` (while reusing the bits from llvm/libcxx in `$PREFIX`) and install into `$PREFIX`
> * build `../compiler-rt` (while reusing the bits from clang in `$PREFIX`) and install into `$PREFIX`
> * build `../mlir` (while reusing the bits from llvm in `$PREFIX`) and install into `$PREFIX`
> * build `../flang` (while reusing all the other bits in `$PREFIX`) and install into `$PREFIX`
> * build `../flang-rt`

Flang-RT also needs to be installed into $PREFIX, and Flang invoked from `${PREFIX}/bin/flang`. Flang is not able to guess flang-rt's build.

> If you want I can work out a full script that does this, but this is why we might arrive in a different place, conceptually speaking.

Yes, that would be helpful.


https://github.com/llvm/llvm-project/pull/110217


More information about the llvm-branch-commits mailing list