kse-01/tensorflow/third_party/double_conversion.BUILD
github-classroom[bot] 1122cdd8b0
Initial commit
2023-10-09 11:37:31 +00:00

42 lines
1.1 KiB (Stored with Git LFS)
Text

# Bazel(http://bazel.io) BUILD file
licenses(["notice"])
exports_files(["LICENSE"])
config_setting(
name = "windows",
values = {"cpu": "x64_windows"},
)
cc_library(
name = "double-conversion",
srcs = [
"double-conversion/bignum.cc",
"double-conversion/bignum-dtoa.cc",
"double-conversion/cached-powers.cc",
"double-conversion/diy-fp.cc",
"double-conversion/double-conversion.cc",
"double-conversion/fast-dtoa.cc",
"double-conversion/fixed-dtoa.cc",
"double-conversion/strtod.cc",
"double-conversion/utils.h",
],
hdrs = [
"double-conversion/bignum.h",
"double-conversion/bignum-dtoa.h",
"double-conversion/cached-powers.h",
"double-conversion/diy-fp.h",
"double-conversion/double-conversion.h",
"double-conversion/fast-dtoa.h",
"double-conversion/fixed-dtoa.h",
"double-conversion/ieee.h",
"double-conversion/strtod.h",
],
includes = ["."],
linkopts = select({
":windows": [],
"//conditions:default": ["-lm"],
}),
visibility = ["//visibility:public"],
)