Skip to content

Commit

Permalink
Use symlinks on Windows (#9969)
Browse files Browse the repository at this point in the history
changelog_begin
changelog_end
  • Loading branch information
cocreature authored Jun 11, 2021
1 parent e4258e6 commit 997a7d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ build:darwin --protocopt=--include_source_info
# https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/compiler/command_line_interface.cc#L1363
#build:windows --protocopt=--include_source_info

# Use symlinks to avoid copying. We control the environments we build in and
# can therefore ensure symlinks are available
startup:windows --windows_enable_symlinks

# Some tools used in tests, like postgres CLI, require cmd.exe which can be located by them
# using ComSpec environment variable. By default it's not passed from Bazel client environment.
test:windows --test_env=ComSpec
Expand Down
4 changes: 4 additions & 0 deletions compatibility/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ build:darwin --protocopt=--include_source_info
# https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/compiler/command_line_interface.cc#L1363
#build:windows --protocopt=--include_source_info

# Use symlinks to avoid copying. We control the environments we build in and
# can therefore ensure symlinks are available
startup:windows --windows_enable_symlinks

# Some tools used in tests, like postgres CLI, require cmd.exe which can be located by them
# using ComSpec environment variable. By default it's not passed from Bazel client environment.
test:windows --test_env=ComSpec
Expand Down

0 comments on commit 997a7d4

Please sign in to comment.