Skip to content

Commit

Permalink
Added --features=compiler_param_file as a windows build default to .b…
Browse files Browse the repository at this point in the history
…azelrc.

This should help with huge command lines.

See: bazelbuild/bazel#5163
PiperOrigin-RevId: 392945854
Change-Id: I86d775afa1dfecb603871fd6b39e1fc4a68f1668
  • Loading branch information
itaiz-google authored and tensorflower-gardener committed Aug 25, 2021
1 parent ead4ca8 commit 3899a80
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 @@ -347,6 +347,10 @@ build:windows --host_linkopt=/OPT:ICF
# Verbose failure logs when something goes wrong
build:windows --verbose_failures

# Work around potential issues with large command lines on windows.
# See: https://github.com/bazelbuild/bazel/issues/5163
build:windows --features=compiler_param_file

# On windows, we never cross compile
build:windows --distinct_host_configuration=false
# On linux, don't cross compile by default
Expand Down

0 comments on commit 3899a80

Please sign in to comment.