mirror of
https://github.com/tensorflow/tensorflow.git
synced 2024-11-21 21:05:19 +00:00
f5bd51558d
PiperOrigin-RevId: 631920259
58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
load("@rules_cc//cc:defs.bzl", "cc_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
cc_library(
|
|
name = "random",
|
|
deps = [
|
|
":distributions",
|
|
":seed_sequences",
|
|
"//absl/base:endian",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "distributions",
|
|
linkopts = ["-labsl_random_distributions"],
|
|
deps = [
|
|
"//absl/numeric:bits",
|
|
"//absl/numeric:int128",
|
|
"//absl/strings",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "seed_gen_exception",
|
|
linkopts = ["-labsl_random_seed_gen_exception"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "seed_sequences",
|
|
linkopts = [
|
|
"-labsl_random_internal_platform",
|
|
"-labsl_random_internal_pool_urbg",
|
|
"-labsl_random_internal_randen",
|
|
"-labsl_random_internal_randen_hwaes",
|
|
"-labsl_random_internal_randen_hwaes_impl",
|
|
"-labsl_random_internal_randen_slow",
|
|
"-labsl_random_internal_seed_material",
|
|
"-labsl_random_seed_sequences",
|
|
"-pthread",
|
|
],
|
|
deps = [
|
|
":seed_gen_exception",
|
|
"//absl/base",
|
|
"//absl/base:endian",
|
|
"//absl/base:raw_logging_internal",
|
|
"//absl/container:inlined_vector",
|
|
"//absl/numeric:int128",
|
|
"//absl/strings",
|
|
"//absl/types:optional",
|
|
"//absl/types:span",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "bit_gen_ref",
|
|
)
|