mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
[XLA:CPU] Remove unnecessary include of absl/log/check.h.
This resolves naming conflicts with tsl and absl. PiperOrigin-RevId: 634883049
This commit is contained in:
parent
d928140cd7
commit
da07e34ae4
2
third_party/xla/xla/service/cpu/BUILD
vendored
2
third_party/xla/xla/service/cpu/BUILD
vendored
|
|
@ -1193,7 +1193,6 @@ cc_library(
|
|||
"@com_google_absl//absl/algorithm:container",
|
||||
"@com_google_absl//absl/base:core_headers",
|
||||
"@com_google_absl//absl/base:dynamic_annotations",
|
||||
"@com_google_absl//absl/log",
|
||||
"@com_google_absl//absl/status",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@com_google_absl//absl/types:span",
|
||||
|
|
@ -1652,7 +1651,6 @@ cc_library(
|
|||
"//xla:executable_run_options",
|
||||
"@com_google_absl//absl/base:core_headers",
|
||||
"@com_google_absl//absl/base:dynamic_annotations",
|
||||
"@com_google_absl//absl/log:check",
|
||||
"@eigen_archive//:eigen3",
|
||||
"@local_tsl//tsl/platform:blocking_counter",
|
||||
"@local_tsl//tsl/platform:env",
|
||||
|
|
|
|||
|
|
@ -20,16 +20,6 @@ limitations under the License.
|
|||
#include <initializer_list>
|
||||
#include <vector>
|
||||
|
||||
// Both "absl/log/check.h" and "third_party/tsl/platform/logging.h"
|
||||
// are transitively included in bazel. Both of them define similar CHECK macros.
|
||||
// Explicitly including the Abseil header first because the TSL version has
|
||||
// undefs.
|
||||
|
||||
// Otherwise, we would get redefinition error.
|
||||
// clang-format off
|
||||
#include "absl/log/check.h"
|
||||
// clang-format on
|
||||
|
||||
#include "dnnl.hpp"
|
||||
#include "absl/base/dynamic_annotations.h"
|
||||
#include "xla/executable_run_options.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user