Skip to content

Commit 3e0b31c

Browse files
committed
clean up readme
1 parent 49c1e9e commit 3e0b31c

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

README.md

+4-11
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,14 @@ And this to `.bazelrc` on a Unix-y systems:
6262

6363
```
6464
common --enable_platform_specific_config
65-
build:linux --sandbox_add_mount_pair=/tmp
66-
build:macos --sandbox_add_mount_pair=/var/tmp
67-
build:windows --sandbox_add_mount_pair=C:\Temp
6865
```
6966

70-
The directories can be narrowed down to `/tmp/zig-cache` (Linux),
71-
`/var/tmp/zig-cache` (MacOS) and `C:\Temp\zig-cache` respectively
72-
if it can be ensured they will be created before the invocation of `bazel
73-
build`. See [#83][pr-83] for more context. If a different place is preferred
74-
for zig cache, set:
67+
The default zig cache location is within `./zig-cache` in the workspace root. If
68+
a different path is preferred for zig cache, set it. (It is always resolved
69+
against the workspace root):
7570

7671
```
77-
build --repo_env=HERMETIC_CC_TOOLCHAIN_CACHE_PREFIX=/path/to/cache
78-
build --sandbox_add_mount_pair=/path/to/cache
72+
build --repo_env=HERMETIC_CC_TOOLCHAIN_CACHE_PREFIX=path/to/cache
7973
```
8074

8175
The snippets above will download the zig toolchain and make the bazel
@@ -441,6 +435,5 @@ On a more practical note:
441435
[subset]: https://en.wikipedia.org/wiki/Subset
442436
[universal-headers]: https://github.com/ziglang/universal-headers
443437
[go-monorepo]: https://www.uber.com/blog/go-monorepo-bazel/
444-
[pr-83]: https://github.com/uber/hermetic_cc_toolchain/issues/83
445438
[pr-10]: https://github.com/uber/hermetic_cc_toolchain/issues/10
446439
[examples]: https://github.com/uber/hermetic_cc_toolchain/tree/main/examples

0 commit comments

Comments
 (0)