Skip to content

Allow building WAMR without an internet connection #4932

@alexreinking

Description

@alexreinking

Is your feature request related to a problem? Please describe.
Currently, WAMR fetches simde as a dependency via FetchContent unconditionally.

Describe the solution you'd like
Upstream simde provides a find_package compatible package layout. This should be tried first. Older versions don't provide a find_package module, but a custom Find module could be written or even a simple find_path suffices.

Describe alternatives you've considered
The alternative is to maintain patches to the WAMR build system or write a complicated Dependency Provider in CMake that intercepts the FetchContent call.

Additional context
A number of package managers (including Homebrew, vcpkg, Debian, and others) disable FetchContent to ensure a consistent set of packages exists in the index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions