Skip to content

Commit

Permalink
Shorten output root for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinh Tran committed Oct 27, 2023
1 parent 1d39942 commit b7ee2a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ common --enable_platform_specific_config
startup --windows_enable_symlinks
build:windows --enable_runfiles

# Shorten output root to avoid maximum path length limitation
# https://bazel.build/configure/windows#long-path-issues
startup:windows --output_user_root=C:/tmp

# Enable the only currently supported report type
# https://bazel.build/reference/command-line-reference#flag--combined_report
coverage --combined_report=lcov
Expand Down

0 comments on commit b7ee2a4

Please sign in to comment.