Skip to content

Commit 010d61a

Browse files
ddunltensorflow-copybara
authored andcommitted
Silence warnings from external code
This should cut the log size from around 250mb to around 5mb. PiperOrigin-RevId: 662298407
1 parent 967e746 commit 010d61a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.bazelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,8 @@ build --define use_absl_anyinvocable=1
9999
# TensorFlow Decision Forests does not use Absl concurrency primitives on MacOs.
100100
# Reason: TensorFlow/ABSL ODR violation (b/214189609) # copybara:strip
101101
build:macos --define std_synchronization_primitives=1
102+
103+
# Taken from https://github.com/openxla/xla/blob/99559d7a4f7c55490f46385ad29a3cbf9c3911af/warnings.bazelrc#L6
104+
# We silence warnings for code in `external`.
105+
build --per_file_copt=external/.*@-w
106+
build --host_per_file_copt=external/.*@-w

0 commit comments

Comments
 (0)