Commit 1b0bc8c6 authored by Xin Wang's avatar Xin Wang
Browse files

fix make error for buiding without conceputual

parent d89cde45
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <codes/codes.h> #include <codes/codes.h>
#include <codes/codes-conc-addon.h> #include <codes/codes-conc-addon.h>
#ifdef USE_CONC
/* list of available benchmarks begin */ /* list of available benchmarks begin */
extern struct codes_conceptual_bench bisect_bench; extern struct codes_conceptual_bench bisect_bench;
extern struct codes_conceptual_bench cosmoflow_bench; extern struct codes_conceptual_bench cosmoflow_bench;
...@@ -16,9 +16,11 @@ extern struct codes_conceptual_bench hotpotato_bench; ...@@ -16,9 +16,11 @@ extern struct codes_conceptual_bench hotpotato_bench;
extern struct codes_conceptual_bench latencyall_bench; extern struct codes_conceptual_bench latencyall_bench;
extern struct codes_conceptual_bench latency_bench; extern struct codes_conceptual_bench latency_bench;
/* list of available benchmarks end */ /* list of available benchmarks end */
#endif
static struct codes_conceptual_bench const * bench_array_default[] = static struct codes_conceptual_bench const * bench_array_default[] =
{ {
#ifdef USE_CONC
/* default benchmarks begin */ /* default benchmarks begin */
&bisect_bench, &bisect_bench,
&cosmoflow_bench, &cosmoflow_bench,
...@@ -26,6 +28,7 @@ static struct codes_conceptual_bench const * bench_array_default[] = ...@@ -26,6 +28,7 @@ static struct codes_conceptual_bench const * bench_array_default[] =
&latencyall_bench, &latencyall_bench,
&latency_bench, &latency_bench,
/* default benchmarks end */ /* default benchmarks end */
#endif
NULL NULL
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment