diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-22 22:46:39 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-22 22:51:29 -0400 |
| commit | a7c3210215bd1181ae93b23c313941dfb44519fb (patch) | |
| tree | 0bb4bf1b40612ec04f677e5163e4ba1f3c500af6 /dis | |
| parent | 4f0a2f94f90c1d0cd5f3408a55e68b68a8c74693 (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')
| -rwxr-xr-x | dis/Makefile | 6 |
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.) |
| 5 | LIBLITMUS ?= /media/speedy/litmus/liblitmus | 5 | LIBLITMUS ?= /playpen/mc2/liblitmus |
| 6 | CC ?= gcc | 6 | CC ?= gcc |
| 7 | override CFLAGS += -pthread -O2 -I.. | 7 | override CFLAGS += -pthread -O2 -I.. |
| 8 | LDFLAGS = -lrt -lm | 8 | LDFLAGS = -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 |
| 17 | ifneq ($(shell grep "define LITMUS 1" ../extra.h),) | 17 | ifneq ($(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 |
| 20 | endif | 20 | endif |
| 21 | 21 | ||
| 22 | all: baseline | 22 | all: baseline |
