Skip to content

package management: support downloading arbitrary archives ala git submodules #14488

Description

@david-vanderson

Extracted from #14282

Some people will want to use the zig package manager to download an archive (with arbitrary files) to a local directory that your code references directly. Unsure if or how that should be supported.

@leroycep says in #14282 (comment)

I personally would like to use something like b.packagePath("clap") to depend on a binary release. For example I depend on ZWO ASI's SDK, which only contains binary .a and .so files. While I could have some other system of getting the library files (like say, checking it into a git repository), it would also be nice to specify that in the build.zig.ini, and then add the include/library path using b.packagePath("asicamera").

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions