[all-commits] [llvm/llvm-project] 2f8b64: [flang][runtime] Build ISO_FORTRAN_ENV to export k...

Michael Klemm via All-commits all-commits at lists.llvm.org
Fri Jul 19 10:37:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f8b64d327a27a73b57a54eb5d1f28c41e650aee
      https://github.com/llvm/llvm-project/commit/2f8b64d327a27a73b57a54eb5d1f28c41e650aee
  Author: Michael Klemm <michael.klemm at amd.com>
  Date:   2024-07-19 (Fri, 19 Jul 2024)

  Changed paths:
    M flang/CMakeLists.txt
    M flang/module/iso_fortran_env.f90
    A flang/module/iso_fortran_env_impl.f90
    M flang/runtime/CMakeLists.txt
    M flang/tools/f18/CMakeLists.txt
    M flang/tools/flang-driver/CMakeLists.txt

  Log Message:
  -----------
  [flang][runtime] Build ISO_FORTRAN_ENV to export kind arrays as linkable symbols (#95388)

Moves definitions of the kind arrays into a Fortran MODULE to not only
emit the MOD file, but also compile that MODULE file into an object
file. This file is then linked into libFortranRuntime.so.

Eventually this workaround PR shoud be redone and a proper runtime build
should be setup that will then also compile Fortran MODULE files.

Fixes #89403

---------

Co-authored-by: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Co-authored-by: Michael Kruse <github at meinersbur.de>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list