summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleochanj105 <leochanj@live.unc.edu>2021-10-19 21:31:21 -0400
committerleochanj105 <leochanj@live.unc.edu>2021-10-19 21:31:21 -0400
commit3d93f4751ea2d40babcff71c74effe12792abf4a (patch)
tree61b299ece80adf148092a3c6a3878ef0a9612b0b
parent034d6209b6d27a8cf13784a62fd36814e98cadf6 (diff)
fix some problems
-rw-r--r--SD-VBS/common/makefiles/Makefile.common2
-rw-r--r--baseline/Makefile2
-rwxr-xr-xdis/Makefile2
-rw-r--r--extra.h4
4 files changed, 5 insertions, 5 deletions
diff --git a/SD-VBS/common/makefiles/Makefile.common b/SD-VBS/common/makefiles/Makefile.common
index ab3a6b4..15f4f56 100644
--- a/SD-VBS/common/makefiles/Makefile.common
+++ b/SD-VBS/common/makefiles/Makefile.common
@@ -29,7 +29,7 @@ PRELOAD_TIMES_DIR := $(TOP_DIR)/preload-times/$(BMARK)
29MTIMING_DIR := $(TOP_DIR)/cycles/$(BMARK) 29MTIMING_DIR := $(TOP_DIR)/cycles/$(BMARK)
30BMARK_DIR := $(TOP_DIR)/benchmarks/$(BMARK) 30BMARK_DIR := $(TOP_DIR)/benchmarks/$(BMARK)
31TOOL_DIR := $(TOP_DIR)/tools 31TOOL_DIR := $(TOP_DIR)/tools
32LIBLITMUS ?= /playpen/mc2/liblitmus 32LIBLITMUS ?= /home/ae/liblitmus
33ifneq ($(shell grep "define LITMUS 1" ${TOP_DIR}/../extra.h),) 33ifneq ($(shell grep "define LITMUS 1" ${TOP_DIR}/../extra.h),)
34 override CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include 34 override CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include
35 override LDFLAGS += -L${LIBLITMUS} -llitmus 35 override LDFLAGS += -L${LIBLITMUS} -llitmus
diff --git a/baseline/Makefile b/baseline/Makefile
index dad45a0..37b59ed 100644
--- a/baseline/Makefile
+++ b/baseline/Makefile
@@ -1,4 +1,4 @@
1LIBLITMUS ?= /playpen/mc2/liblitmus 1LIBLITMUS ?= /home/ae/liblitmus
2CC ?= gcc 2CC ?= gcc
3override CFLAGS = -pthread -O2 -I.. 3override CFLAGS = -pthread -O2 -I..
4LDFLAGS = -lrt 4LDFLAGS = -lrt
diff --git a/dis/Makefile b/dis/Makefile
index d18761b..68f19e7 100755
--- a/dis/Makefile
+++ b/dis/Makefile
@@ -2,7 +2,7 @@
2# Build the DIS benchmarks with all-pairs or unpaired instrumentation 2# Build the DIS benchmarks with all-pairs or unpaired instrumentation
3# (I know that this Makefile is mildly evil and breaks so many rules 3# (I know that this Makefile is mildly evil and breaks so many rules
4# that a good Makefile should follow. Sorry - at least I have one.) 4# that a good Makefile should follow. Sorry - at least I have one.)
5LIBLITMUS ?= /playpen/mc2/liblitmus 5LIBLITMUS ?= /home/ae/liblitmus
6CC ?= gcc 6CC ?= gcc
7override CFLAGS += -pthread -O2 -I.. 7override CFLAGS += -pthread -O2 -I..
8LDFLAGS = -lrt -lm 8LDFLAGS = -lrt -lm
diff --git a/extra.h b/extra.h
index 1297038..5abb0c7 100644
--- a/extra.h
+++ b/extra.h
@@ -30,7 +30,7 @@ extern int sched_getcpu();
30#endif 30#endif
31 31
32// This is a proxy for "case study mode" now 32// This is a proxy for "case study mode" now
33#define LITMUS 1 33#define LITMUS 0
34#define MMDC_PROF 0 34#define MMDC_PROF 0
35 35
36#if LITMUS 36#if LITMUS
@@ -88,7 +88,7 @@ static void _rt_load_params_itrl(int argc, char **argv) {
88 if (argc != (9 + LITMUS*2) && argc != (10 + LITMUS*2)) { 88 if (argc != (9 + LITMUS*2) && argc != (10 + LITMUS*2)) {
89 fprintf(stderr, "Usage: %s <name> <loops> <my core> <other core> <other name> <runID> <save results?> <pairID>\n", argv[0]); 89 fprintf(stderr, "Usage: %s <name> <loops> <my core> <other core> <other name> <runID> <save results?> <pairID>\n", argv[0]);
90#else 90#else
91 if (argc != (6 + LITMUS*2)) { 91 if (argc != (7 + LITMUS*2)) {
92 fprintf(stderr, "Usage: %s <name> <loops> <my core> <runID> <save results?>\n", argv[0]); 92 fprintf(stderr, "Usage: %s <name> <loops> <my core> <runID> <save results?>\n", argv[0]);
93#endif /* PAIRED */ 93#endif /* PAIRED */
94 fprintf(stderr, " <name> string for logging. Name of this task.\n"); 94 fprintf(stderr, " <name> string for logging. Name of this task.\n");