summaryrefslogtreecommitdiffstats
path: root/dis/Makefile
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 22:46:39 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 22:51:29 -0400
commita7c3210215bd1181ae93b23c313941dfb44519fb (patch)
tree0bb4bf1b40612ec04f677e5163e4ba1f3c500af6 /dis/Makefile
parent4f0a2f94f90c1d0cd5f3408a55e68b68a8c74693 (diff)
Transform LITMUS-RT support in libextra to imply case-study mode
Adds <period> and <criticality level> parameters to benchmarks and disables cache flushing when compiled with LITMUS. Also fixes build with LITMUS enabled on yamaha.cs.unc.edu. Also allows output to be disabled, automatically infers _rt_lock_id, and allows for a specific pair ID for paired tasks. (The pair ID is added to all the semaphore and shared memory names, allowing multiple pairs to run in the system at a time.)
Diffstat (limited to 'dis/Makefile')
-rwxr-xr-xdis/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/dis/Makefile b/dis/Makefile
index 88fa7c2..d18761b 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 ?= /media/speedy/litmus/liblitmus 5LIBLITMUS ?= /playpen/mc2/liblitmus
6CC ?= gcc 6CC ?= gcc
7override CFLAGS += -pthread -O2 -I.. 7override CFLAGS += -pthread -O2 -I..
8LDFLAGS = -lrt -lm 8LDFLAGS = -lrt -lm
@@ -15,8 +15,8 @@ endif
15 15
16# Include all the LITMUS^RT headers if we're using it 16# Include all the LITMUS^RT headers if we're using it
17ifneq ($(shell grep "define LITMUS 1" ../extra.h),) 17ifneq ($(shell grep "define LITMUS 1" ../extra.h),)
18 CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include 18 override CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include
19 LDFLAGS += -L${LIBLITMUS} -llitmus 19 override LDFLAGS += -L${LIBLITMUS} -llitmus
20endif 20endif
21 21
22all: baseline 22all: baseline