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

zig build: allow to choose "lazy mode" for fetching process #19975

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 3, 2024

  1. zig build: allow to choose "lazy mode" for fetching process

    `--fetch` flag now has additional optional parameter, which specifies
    how lazy dependencies should be fetched:
     * `lazy` — lazy dependencies are fetched only if they are required
       for current build configuration to work. Default and works same
       as old `--fetch` flag.
     * `all` — lazy dependencies are always fetched. If `--system` flag
       is used after that, it's guaranteed that **any** build configuration
       will not require additional download of dependencies during build.
       Helpful for distro packagers and CI systems:
       https://www.github.com/ziglang/zig/issues/14597#issuecomment-1426827495
    
    If none is passed, behaviour is same as if `lazy` was passed.
    
    Signed-off-by: Eric Joldasov <[email protected]>
    BratishkaErik committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    a1a68d0 View commit details
    Browse the repository at this point in the history