Skip to content

Unbundle deps/change dep behavior #1845

Open
@brosasaki

Description

Is your feature request related to a problem? Please describe.
The way that the use of bundled depencencies is "hardcoded" into the program right now makes flycast difficult to package--dependencies cannot get updated on their own, and space and cycles are wasted recompiling things.

Describe the solution you'd like
The build process would check, for every dep, if the host system has an appropriate copy of that package installed; only if it's missing (and perhaps a USE_BUNDLED_DEPS option is unset) will the packages in core/deps be compiled and used. This would be more scalable than a USE_HOST_X option for every dep, like what seems to be developing now; if packaging systems want more granular control over what deps they want to keep vendored, they can be trusted to control their build environment appropriately.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
I have been trying on my own to unbundle things, but I am in over my head, I'm afraid.
Sorry for making so much noise on this topic recently, and please let me know if this is unreasonable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions