Merge pull request #42365 from freedomtan:make_all_kernel_test_build
PiperOrigin-RevId: 332798019 Change-Id: Icc861bb228f1bfb1432723e44b217f329d3965cf
This commit is contained in:
commit
4d81db608e
@ -146,6 +146,10 @@ cc_library(
|
|||||||
"acceleration_test_util_internal.cc",
|
"acceleration_test_util_internal.cc",
|
||||||
],
|
],
|
||||||
hdrs = ["acceleration_test_util_internal.h"],
|
hdrs = ["acceleration_test_util_internal.h"],
|
||||||
|
linkopts = select({
|
||||||
|
"//tensorflow:windows": [],
|
||||||
|
"//conditions:default": ["-lm"],
|
||||||
|
}),
|
||||||
deps = [
|
deps = [
|
||||||
"//tensorflow/lite:minimal_logging",
|
"//tensorflow/lite:minimal_logging",
|
||||||
"@com_google_absl//absl/types:optional",
|
"@com_google_absl//absl/types:optional",
|
||||||
@ -272,6 +276,10 @@ cc_test(
|
|||||||
name = "eigen_support_test",
|
name = "eigen_support_test",
|
||||||
size = "small",
|
size = "small",
|
||||||
srcs = ["eigen_support_test.cc"],
|
srcs = ["eigen_support_test.cc"],
|
||||||
|
linkopts = select({
|
||||||
|
"//tensorflow:windows": [],
|
||||||
|
"//conditions:default": ["-lm"],
|
||||||
|
}),
|
||||||
deps = [
|
deps = [
|
||||||
":eigen_support",
|
":eigen_support",
|
||||||
"//tensorflow/lite/c:common",
|
"//tensorflow/lite/c:common",
|
||||||
@ -454,6 +462,10 @@ cc_test(
|
|||||||
name = "kernel_util_test",
|
name = "kernel_util_test",
|
||||||
size = "small",
|
size = "small",
|
||||||
srcs = ["kernel_util_test.cc"],
|
srcs = ["kernel_util_test.cc"],
|
||||||
|
linkopts = select({
|
||||||
|
"//tensorflow:windows": [],
|
||||||
|
"//conditions:default": ["-lm"],
|
||||||
|
}),
|
||||||
deps = [
|
deps = [
|
||||||
":kernel_util",
|
":kernel_util",
|
||||||
"//tensorflow/lite/c:common",
|
"//tensorflow/lite/c:common",
|
||||||
|
Loading…
Reference in New Issue
Block a user