build: disable bazel-out symlink (#22375)
It causes headaches on MacOS High Sierra, see https://github.com/bazelbuild/bazel/issues/4603 PR Close #22375
This commit is contained in:
parent
b7544cccc6
commit
f194d00366
|
@ -14,9 +14,12 @@ test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test
|
||||||
# Filesystem interactions #
|
# Filesystem interactions #
|
||||||
###############################
|
###############################
|
||||||
|
|
||||||
# Put bazel's symlinks under dist, so results go to dist/bin
|
# Don't create symlinks like bazel-out in the project.
|
||||||
# There is still a `bazel-out` symlink created in the project root.
|
# These cause VSCode to traverse a massive tree, opening file handles and
|
||||||
build --symlink_prefix=dist/
|
# eventually a surprising failure with auto-discovery of the C++ toolchain in
|
||||||
|
# MacOS High Sierra.
|
||||||
|
# See https://github.com/bazelbuild/bazel/issues/4603
|
||||||
|
build --symlink_prefix=/
|
||||||
|
|
||||||
# Performance: avoid stat'ing input files
|
# Performance: avoid stat'ing input files
|
||||||
build --watchfs
|
build --watchfs
|
||||||
|
|
Loading…
Reference in New Issue