More cleanup
This commit is contained in:
parent
1dc5772b08
commit
36032a2dfd
@ -734,7 +734,10 @@ cc_library(
|
||||
"util/reporter.h",
|
||||
],
|
||||
copts = tf_copts(),
|
||||
linkopts = ["-lm"],
|
||||
linkopts = select({
|
||||
"//tensorflow:windows": [],
|
||||
"//conditions:default": ["-lm"],
|
||||
}),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":lib",
|
||||
@ -3116,7 +3119,10 @@ cc_library(
|
||||
testonly = 1,
|
||||
srcs = ["platform/test_main.cc"],
|
||||
copts = tf_copts(),
|
||||
linkopts = ["-lm"],
|
||||
linkopts = select({
|
||||
"//tensorflow:windows": [],
|
||||
"//conditions:default": ["-lm"],
|
||||
}),
|
||||
visibility = ["//tensorflow:internal"],
|
||||
deps = [
|
||||
":lib",
|
||||
|
@ -2501,6 +2501,7 @@ tf_kernel_library(
|
||||
# allow multiple definitions when linking this.
|
||||
linkopts = select({
|
||||
"//tensorflow:darwin": [],
|
||||
"//tensorflow:windows": [],
|
||||
"//conditions:default": ["-Wl,-z,muldefs"],
|
||||
}),
|
||||
visibility = [":friends"],
|
||||
|
@ -86,7 +86,10 @@ tf_cc_binary(
|
||||
"src/gen/cc/op_gen_main.cc",
|
||||
],
|
||||
copts = tf_copts(),
|
||||
linkopts = ["-lm"],
|
||||
linkopts = select({
|
||||
"//tensorflow:windows": [],
|
||||
"//conditions:default": ["-lm"],
|
||||
}),
|
||||
linkstatic = 1,
|
||||
deps = [
|
||||
":java_op_gen_lib",
|
||||
|
@ -30,6 +30,7 @@ cc_library(
|
||||
hdrs = STREAM_EXECUTOR_HEADERS,
|
||||
linkopts = select({
|
||||
"//tensorflow:freebsd": [],
|
||||
"//tensorflow:windows": [],
|
||||
"//conditions:default": ["-ldl"],
|
||||
}),
|
||||
visibility = ["//visibility:public"],
|
||||
@ -79,6 +80,7 @@ cc_library(
|
||||
}),
|
||||
linkopts = select({
|
||||
"//tensorflow:freebsd": [],
|
||||
"//tensorflow:windows": [],
|
||||
"//conditions:default": ["-ldl"],
|
||||
}),
|
||||
visibility = ["//visibility:public"],
|
||||
|
Loading…
Reference in New Issue
Block a user