Fix the BUILD rule for platform_port, after changing the NominalCPUFrequency
implementation. We were missing the implementation of one dependency. PiperOrigin-RevId: 324309158 Change-Id: Ic7ad8ede507f0dc8896544bcdb52ba2a40b50d5b
This commit is contained in:
parent
29b576a718
commit
40626d2c54
@ -1899,6 +1899,7 @@ cc_library(
|
||||
"//tensorflow/core/platform:platform_port",
|
||||
"//tensorflow/core/platform:platform_strings",
|
||||
"//tensorflow/core/platform:prefetch",
|
||||
"//tensorflow/core/platform:profile_utils_cpu_utils",
|
||||
"//tensorflow/core/platform:protobuf_internal",
|
||||
"//tensorflow/core/platform:regexp",
|
||||
"//tensorflow/core/platform:resource",
|
||||
|
@ -85,6 +85,8 @@ exports_files(
|
||||
"mutex.h",
|
||||
"net.h",
|
||||
"numa.h",
|
||||
"profile_utils/android_armv7a_cpu_utils_helper.h",
|
||||
"profile_utils/cpu_utils.cc",
|
||||
"profile_utils/cpu_utils.h",
|
||||
"profile_utils/i_cpu_utils_helper.h",
|
||||
"ram_file_system.h",
|
||||
@ -960,6 +962,26 @@ cc_library(
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "profile_utils_cpu_utils",
|
||||
srcs = [
|
||||
"profile_utils/android_armv7a_cpu_utils_helper.h",
|
||||
"profile_utils/cpu_utils.cc",
|
||||
"profile_utils/i_cpu_utils_helper.h",
|
||||
],
|
||||
hdrs = [
|
||||
"profile_utils/cpu_utils.h",
|
||||
],
|
||||
copts = tf_copts(),
|
||||
deps = [
|
||||
":logging",
|
||||
":macros",
|
||||
":types",
|
||||
"@com_google_absl//absl/base",
|
||||
],
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "tf32_hdr",
|
||||
srcs = ["tf32_utils.h"],
|
||||
@ -1642,7 +1664,6 @@ filegroup(
|
||||
srcs = [
|
||||
"profile_utils/android_armv7a_cpu_utils_helper.cc",
|
||||
"profile_utils/clock_cycle_profiler.cc",
|
||||
"profile_utils/cpu_utils.cc",
|
||||
],
|
||||
visibility = ["//tensorflow/core:__pkg__"],
|
||||
)
|
||||
|
@ -269,7 +269,6 @@ cc_library(
|
||||
"//tensorflow/core/platform:mem.h",
|
||||
"//tensorflow/core/platform:numa.h",
|
||||
"//tensorflow/core/platform:profile_utils/cpu_utils.h",
|
||||
"//tensorflow/core/platform:profile_utils/i_cpu_utils_helper.h",
|
||||
"//tensorflow/core/platform:snappy.h",
|
||||
],
|
||||
copts = tf_copts(),
|
||||
@ -289,6 +288,7 @@ cc_library(
|
||||
"//tensorflow/core/platform:dynamic_annotations",
|
||||
"//tensorflow/core/platform:logging",
|
||||
"//tensorflow/core/platform:macros",
|
||||
"//tensorflow/core/platform:profile_utils_cpu_utils",
|
||||
"//tensorflow/core/platform:types",
|
||||
"//tensorflow/core/platform",
|
||||
"@snappy",
|
||||
|
Loading…
x
Reference in New Issue
Block a user