# Added global-cache argument to build system \+ removed extra args\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/26399b5249cbc8774e50856fed6d2336e396cb69)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 26399b5249cbc8774e50856fed6d2336e396cb69

Requested commit: 26399b5249cbc8774e50856fed6d2336e396cb69

Commit: 26399b5249cbc8774e50856fed6d2336e396cb69

Tree: 4cca369b95eed856058c34ce4963c91955251aa0

Author: antlilja

Committer: Andrew Kelley

## Message

```
Added global-cache argument to build system + removed extra args.

* Field global_cache_root was added to Builder struct along with
mandatory argument for build_runner.zig. Logic for using the custom
global cache was also added.

* The arguments --cache-dir and --global-cache-dir are no longer passed
directly through to build_runner.zig and are instead only passed through the
mandatory cache_root and global_cache_root arguments.

```

## Parents

- [a3de27ef3bbc5212b2129ed75bab3503da09b9cf](https://git.cafe/gitcafe/zig/commit/a3de27ef3bbc5212b2129ed75bab3503da09b9cf?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/26399b5249cbc8774e50856fed6d2336e396cb69?format=markdown)
