Skip to content

Offline Build Support #706

Open
Open
@cranst0n

Description

@cranst0n

Is there an existing issue?

Use case

I'm trying to build an app using object box on an air gapped Linux machine.

Proposed solution

Add configuration/documentation on how to manually download the required native libraries so the build process doesn't fail on unreachable network.

Describe alternatives you've considered

Vendoring the entire plugin and modifying the flutter_libs/linux/CMakeLists.txt to find required deps locally.

Additional context

[1/9] Performing download step (download, verify and extract) for 'objectbox-download-populate'
-- Downloading...
   dst='/home/brandy/fmc_gui/build/linux/x64/release/_deps/objectbox-download-subbuild/objectbox-download-populate-prefix/src/objectbox-linux-x64.tar.gz'
   timeout='none'
   inactivity timeout='none'
-- Using src='https://github.com/objectbox/objectbox-c/releases/download/v4.0.2/objectbox-linux-x64.tar.gz'
-- Retrying...
...
-- Retry after 60 seconds (attempt #5) ...
-- Using src='https://github.com/objectbox/objectbox-c/releases/download/v4.0.2/objectbox-linux-x64.tar.gz'
CMake Error at objectbox-download-subbuild/objectbox-download-populate-prefix/src/objectbox-download-populate-stamp/download-objectbox-download-populate.cmake:170 (message):
  Each download failed!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions