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

Implement a pre-build configuration process and datatype #929

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 18, 2024

  1. Implement a pre-build configuration process and datatype

    This is intended to be an API-compatible refactor to
    make future extensibility and configuration of
    PackageCompiler.jl far simpler. The core idea is
    to implement a configuration process, and corresponding
    output datatype to be consumed by the build process.
    
    This conceptually splits the process of building sysimg/app/libs,
    from the high-level logic determining names, build tools, flags,
    etc. The benefit of this is that it immediately commonizes
    code that was duplicated amongst the three of: `create_sysimage`,
    `create_library`, and `create_app`. It will also
    make it far simpler to allow for configuration and propagation of flags
    like `ldflags` and `cflags` which are currently not
    easily exposed in the build process.
    
    This is a rough sketch of the idea, and so far the API seems
    to be preserved acceptably. Feedback and design
    input would be much appreciated. I suspect the `Conf`
    type may need some indication of `mode` since
    some terms are overloaded and may not make sense to
    define in all contexts.
    sjkelly committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    c670a96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15b3656 View commit details
    Browse the repository at this point in the history