tensorflow/third_party/absl/system.absl.random.BUILD
A. Unique TensorFlower f5bd51558d Add missing absl random bit_gen_ref target
PiperOrigin-RevId: 631920259
2024-05-08 14:39:41 -07:00

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",
)