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:
Alex Eagle 2018-02-22 09:47:09 -08:00 committed by Victor Berchet
parent b7544cccc6
commit f194d00366
1 changed files with 6 additions and 3 deletions

View File

@ -14,9 +14,12 @@ test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test
# Filesystem interactions #
###############################
# Put bazel's symlinks under dist, so results go to dist/bin
# There is still a `bazel-out` symlink created in the project root.
build --symlink_prefix=dist/
# Don't create symlinks like bazel-out in the project.
# These cause VSCode to traverse a massive tree, opening file handles and
# 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
build --watchfs