Skip to content

Commit 4faf21f

Browse files
committed
[lib][rr_graph] add ifdef guard around route_verbosity
1 parent 974af1f commit 4faf21f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

libs/librrgraph/src/io/rr_graph_reader.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ void load_rr_file(RRGraphBuilder* rr_graph_builder,
7373
bool do_check_rr_graph,
7474
bool echo_enabled,
7575
const char* echo_file_name,
76+
#ifdef VTR_ENABLE_CAPNPROTO
7677
const int route_verbosity,
78+
#else
79+
bool /*route_verbosity*/,
80+
#endif
7781
bool is_flat) {
7882
vtr::ScopedStartFinishTimer timer("Loading routing resource graph");
7983

libs/librrgraph/src/io/rr_graph_writer.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ void write_rr_graph(RRGraphBuilder* rr_graph_builder,
3838
const char* file_name,
3939
bool echo_enabled,
4040
const char* echo_file_name,
41+
#ifdef VTR_ENABLE_CAPNPROTO
4142
const int route_verbosity,
43+
#else
44+
bool /*route_verbosity*/,
45+
#endif
4246
bool is_flat) {
4347

4448
// If Cap'n Proto is enabled, a unique ID is assigned to the schema used to serialize the RR graph.

0 commit comments

Comments
 (0)