systemlibs: Unbundle double_conversion library
Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
parent
174e782ded
commit
36c568f1fd
@ -738,14 +738,16 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""):
|
|||||||
build_file = clean_dep("//third_party:arm_neon_2_x86_sse.BUILD"),
|
build_file = clean_dep("//third_party:arm_neon_2_x86_sse.BUILD"),
|
||||||
)
|
)
|
||||||
|
|
||||||
native.new_http_archive(
|
tf_http_archive(
|
||||||
name = "double_conversion",
|
name = "double_conversion",
|
||||||
urls = [
|
urls = [
|
||||||
|
"https://mirror.bazel.build/github.com/google/double-conversion/archive/3992066a95b823efc8ccc1baf82a1cfc73f6e9b8.zip",
|
||||||
"https://github.com/google/double-conversion/archive/3992066a95b823efc8ccc1baf82a1cfc73f6e9b8.zip",
|
"https://github.com/google/double-conversion/archive/3992066a95b823efc8ccc1baf82a1cfc73f6e9b8.zip",
|
||||||
],
|
],
|
||||||
sha256 = "2f7fbffac0d98d201ad0586f686034371a6d152ca67508ab611adc2386ad30de",
|
sha256 = "2f7fbffac0d98d201ad0586f686034371a6d152ca67508ab611adc2386ad30de",
|
||||||
strip_prefix = "double-conversion-3992066a95b823efc8ccc1baf82a1cfc73f6e9b8",
|
strip_prefix = "double-conversion-3992066a95b823efc8ccc1baf82a1cfc73f6e9b8",
|
||||||
build_file = clean_dep("//third_party:double_conversion.BUILD"),
|
build_file = clean_dep("//third_party:double_conversion.BUILD"),
|
||||||
|
system_build_file = clean_dep("//third_party/systemlibs:double_conversion.BUILD"),
|
||||||
)
|
)
|
||||||
|
|
||||||
tf_http_archive(
|
tf_http_archive(
|
||||||
|
12
third_party/systemlibs/double_conversion.BUILD
vendored
Normal file
12
third_party/systemlibs/double_conversion.BUILD
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
licenses(["notice"])
|
||||||
|
|
||||||
|
filegroup(
|
||||||
|
name = "LICENSE",
|
||||||
|
visibility = ["//visibility:public"],
|
||||||
|
)
|
||||||
|
|
||||||
|
cc_library(
|
||||||
|
name = "double-conversion",
|
||||||
|
linkopts = ["-ldouble-conversion"],
|
||||||
|
visibility = ["//visibility:public"],
|
||||||
|
)
|
1
third_party/systemlibs/syslibs_configure.bzl
vendored
1
third_party/systemlibs/syslibs_configure.bzl
vendored
@ -14,6 +14,7 @@ VALID_LIBS = [
|
|||||||
"com_googlesource_code_re2",
|
"com_googlesource_code_re2",
|
||||||
"curl",
|
"curl",
|
||||||
"cython",
|
"cython",
|
||||||
|
"double_conversion",
|
||||||
"flatbuffers",
|
"flatbuffers",
|
||||||
"gif_archive",
|
"gif_archive",
|
||||||
"grpc",
|
"grpc",
|
||||||
|
Loading…
Reference in New Issue
Block a user