solve the building issues "Undefined reference to symbol 'ceil@@GLIBC_2.2.5'" (#3097)
* solve the building issues This is to solve https://github.com/tensorflow/tensorflow/issues/3070, the solution is inspired from https://github.com/bazelbuild/bazel/issues/934 and https://github.com/tensorflow/tensorflow/issues/1171 * Update BUILD
This commit is contained in:
parent
125a96af8d
commit
09d2363845
@ -42,6 +42,13 @@ cc_library(
|
||||
name = "gen_proto_text_functions_lib",
|
||||
srcs = ["gen_proto_text_functions_lib.cc"],
|
||||
hdrs = ["gen_proto_text_functions_lib.h"],
|
||||
linkopts = [
|
||||
"-lm",
|
||||
"-lpthread",
|
||||
] + select({
|
||||
"//tensorflow:darwin": [],
|
||||
"//conditions:default": ["-lrt"]
|
||||
}),
|
||||
deps = [
|
||||
"//tensorflow/core:lib",
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user