Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flang][runtime] Build ISO_FORTRAN_ENV to export kind arrays as linkable symbols #95388

Merged
merged 11 commits into from
Jul 19, 2024

Commits on Jul 15, 2024

  1. Fixes llvm#89403

    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.
    mjklemm committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    48b29b4 View commit details
    Browse the repository at this point in the history
  2. Remove obsolete comment

    mjklemm committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    933135e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a80ca5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    01179b1 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Update iso_fortran_env_impl.f90

    Co-authored-by: Valentin Clement (バレンタイン クレメン) <clementval@gmail.com>
    mjklemm and clementval authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    6f02773 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Update flang/tools/f18/CMakeLists.txt

    Co-authored-by: Michael Kruse <github@meinersbur.de>
    mjklemm and Meinersbur authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    95beb28 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Update flang/tools/f18/CMakeLists.txt

    Co-authored-by: Michael Kruse <github@meinersbur.de>
    mjklemm and Meinersbur authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    bcaf836 View commit details
    Browse the repository at this point in the history
  2. Add newline

    mjklemm committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    9d30f41 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    268aca4 View commit details
    Browse the repository at this point in the history
  4. Add test

    The test compiles and links a short program that uses the three kind
    arrays.  It is supposed to fail and link time if the symbols are not
    provided in the runtime.
    mjklemm committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    04f52d6 View commit details
    Browse the repository at this point in the history
  5. Revert "Add test"

    This reverts commit 04f52d6.
    mjklemm committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    077568a View commit details
    Browse the repository at this point in the history