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 /SD-VBS/common | |
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 'SD-VBS/common')
-rw-r--r-- | SD-VBS/common/makefiles/Makefile.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SD-VBS/common/makefiles/Makefile.common b/SD-VBS/common/makefiles/Makefile.common index 9c28cfc..964ece6 100644 --- a/SD-VBS/common/makefiles/Makefile.common +++ b/SD-VBS/common/makefiles/Makefile.common | |||
@@ -30,8 +30,8 @@ BMARK_DIR := $(TOP_DIR)/benchmarks/$(BMARK) | |||
30 | TOOL_DIR := $(TOP_DIR)/tools | 30 | TOOL_DIR := $(TOP_DIR)/tools |
31 | LIBLITMUS ?= /home/litmus/liblitmus | 31 | LIBLITMUS ?= /home/litmus/liblitmus |
32 | ifneq ($(shell grep "define LITMUS 1" ../../../../../extra.h),) | 32 | ifneq ($(shell grep "define LITMUS 1" ../../../../../extra.h),) |
33 | CFLAGS += -I${LIBLITMUS}/include | 33 | override CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include |
34 | LDFLAGS += -L${LIBLITMUS} -llitmus | 34 | override LDFLAGS += -L${LIBLITMUS} -llitmus |
35 | endif | 35 | endif |
36 | #The options set below and specific to each benchmark. Disparity takes 2 input images, whereas Tracking can take any >1 input images =. | 36 | #The options set below and specific to each benchmark. Disparity takes 2 input images, whereas Tracking can take any >1 input images =. |
37 | 37 | ||