Skip to content

Commit

Permalink
Use command parameter files when compiling on Windows (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgeiger authored Aug 10, 2023
1 parent 7d61347 commit 3beb3bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .tensorflow.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ build:windows --host_copt=/Zc:__cplusplus
build:windows --copt=/D_USE_MATH_DEFINES
build:windows --host_copt=/D_USE_MATH_DEFINES

# Windows has a relatively short command line limit, which TF has begun to hit.
# See https://docs.bazel.build/versions/main/windows.html
build:windows --features=compiler_param_file

# By default, build LCE in C++ 17 mode.
build:android --cxxopt=-std=c++17
build:android --host_cxxopt=-std=c++17
Expand Down

0 comments on commit 3beb3bf

Please sign in to comment.