File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ cc_library(
5252 hdrs = ["compression_parameter.h" ],
5353 data = glob (["compression_parameters/**" ]),
5454 deps = [
55+ "//fleetbench/common" ,
5556 "@com_google_absl//absl/container:flat_hash_map" ,
5657 "@com_google_absl//absl/log:check" ,
5758 "@com_google_absl//absl/strings" ,
@@ -119,7 +120,6 @@ cc_test(
119120 "//fleetbench:benchmark_main" ,
120121 "//fleetbench:dynamic_registrar" ,
121122 "//fleetbench/common" ,
122- "@bazel_tools//tools/cpp/runfiles" ,
123123 "@com_google_absl//absl/log" ,
124124 "@com_google_absl//absl/log:check" ,
125125 "@com_google_absl//absl/strings" ,
Original file line number Diff line number Diff line change 2424#include " absl/log/check.h"
2525#include " absl/strings/numbers.h"
2626#include " absl/strings/str_split.h"
27+ #include " fleetbench/common/common.h"
2728
2829namespace fleetbench {
2930namespace compression {
@@ -34,9 +35,8 @@ GetCompressionLevelsMap() {
3435 absl::flat_hash_map<std::string, std::vector<int64_t > > >
3536 compression_levels_map;
3637
37- std::string path =
38- " fleetbench/compression/compression_parameters/"
39- " compression_level_external.csv" ;
38+ std::string path = GetFleetbenchRuntimePath (
39+ " compression/compression_parameters/compression_level_external.csv" );
4040
4141 std::string line;
4242 std::fstream file (path, std::ios_base::in);
You can’t perform that action at this time.
0 commit comments