mirror of
https://github.com/tensorflow/tensorflow.git
synced 2024-11-21 21:05:19 +00:00
316bbe87c6
PiperOrigin-RevId: 421941454 Change-Id: Ia374f1e5d169d1f28989ae8a2d336b41cc7cac9d
37 lines
920 B
Plaintext
37 lines
920 B
Plaintext
load("@rules_cc//cc:defs.bzl", "cc_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
# Internal data structure for efficiently detecting mutex dependency cycles
|
|
cc_library(
|
|
name = "graphcycles_internal",
|
|
linkopts = ["-labsl_graphcycles_internal"],
|
|
visibility = [
|
|
"//absl:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//absl/base",
|
|
"//absl/base:malloc_internal",
|
|
"//absl/base:raw_logging_internal",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "synchronization",
|
|
linkopts = [
|
|
"-labsl_synchronization",
|
|
"-pthread",
|
|
],
|
|
deps = [
|
|
":graphcycles_internal",
|
|
"//absl/base",
|
|
"//absl/base:atomic_hook",
|
|
"//absl/base:dynamic_annotations",
|
|
"//absl/base:malloc_internal",
|
|
"//absl/base:raw_logging_internal",
|
|
"//absl/debugging:stacktrace",
|
|
"//absl/debugging:symbolize",
|
|
"//absl/time",
|
|
],
|
|
)
|