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

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

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

Visibility: public

Requested revision: ea70a983ba54efe1d73b85d393596dcb98e19c02

Requested commit: ea70a983ba54efe1d73b85d393596dcb98e19c02

Commit: ea70a983ba54efe1d73b85d393596dcb98e19c02

Tree: 425c5a97c39b42decdad4edae498f978835a531d

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

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

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