Skip to content

Commit

Permalink
i#6354 test: Fixed build when HAS_ZIP is not defined
Browse files Browse the repository at this point in the history
Issue: #6354
  • Loading branch information
prasun3 committed Oct 10, 2023
1 parent 2416231 commit 439e491
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clients/drcachesim/tests/scheduler_launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ simulate_core(int ordinal, scheduler_t::stream_t *stream, const scheduler_t &sch
} else if (record.marker.type == dynamorio::drmemtrace::TRACE_TYPE_MARKER) {
if (record.marker.marker_type ==
dynamorio::drmemtrace::TRACE_MARKER_TYPE_CPU_ID) {
#ifdef HAS_ZIP
if (!op_cpu_schedule_file.get_value().empty()) {
int cpu = (int)record.marker.marker_value;
int output_cpuid = stream->get_output_cpuid();
Expand All @@ -243,6 +244,7 @@ simulate_core(int ordinal, scheduler_t::stream_t *stream, const scheduler_t &sch
cpu, output_cpuid);
}
}
#endif
}
}
}
Expand Down

0 comments on commit 439e491

Please sign in to comment.