This is an archive of the discontinued LLVM Phabricator instance.

[flang] Install runtime libs with LLVM_INSTALL_TOOLCHAIN_ONLY
ClosedPublic

Authored by rovka on Aug 11 2022, 5:15 AM.

Details

Summary

Make sure that FortranDecimal, FortranRuntime and Fortran_main are
installed/packaged even when LLVM_INSTALL_TOOLCHAIN_ONLY is enabled.
They are used by flang to link executables, so they should be provided
even with minimal installs.

Diff Detail

Event Timeline

rovka created this revision.Aug 11 2022, 5:15 AM
Herald added a project: Restricted Project. · View Herald Transcript
rovka requested review of this revision.Aug 11 2022, 5:15 AM
awarzynski accepted this revision.Aug 12 2022, 5:44 AM

Makes sense, thanks for submitting this!

flang/cmake/modules/AddFlang.cmake
68–69

Hm, I'm not aware of there being "libflang" 🤔 .

This revision is now accepted and ready to land.Aug 12 2022, 5:44 AM
This revision was automatically updated to reflect the committed changes.