diff options
| author | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-01-16 08:31:11 +0100 |
|---|---|---|
| committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-01-16 08:31:27 +0100 |
| commit | 4330681ffcdee2d188fc987b70dad50df79bd018 (patch) | |
| tree | a967313c11e0f4780f1117a4109501bd10d6f096 /TRNS/baselines/cpu/Makefile | |
| parent | 892c2f3aed51835f1a6a22711d4d8bb2c58703aa (diff) | |
TRNS baseline: Add valgrind-ws support
Diffstat (limited to 'TRNS/baselines/cpu/Makefile')
| -rw-r--r-- | TRNS/baselines/cpu/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/TRNS/baselines/cpu/Makefile b/TRNS/baselines/cpu/Makefile index 438b9fb..2f28738 100644 --- a/TRNS/baselines/cpu/Makefile +++ b/TRNS/baselines/cpu/Makefile @@ -32,23 +32,30 @@ # THE SOFTWARE. # +benchmark ?= 1 +debug ?= 0 native ?= 1 +nop_sync ?= 0 numa ?= 0 numa_memcpy ?= 0 CFLAGS = LDFLAGS = +ifeq (${debug}, 1) + CFLAGS += -g +endif + ifeq (${native}, 1) CFLAGS += -march=native endif ifeq (${numa}, 1) - FLAGS += -lnuma + LDFLAGS += -lnuma endif CXX=g++ -CXX_FLAGS=-std=c++11 -Wall -Wextra -pedantic -DNUMA=${numa} -DNUMA_MEMCPY=${numa_memcpy} +CXX_FLAGS=-std=c++11 -Wall -Wextra -pedantic -DNUMA=${numa} -DNUMA_MEMCPY=${numa_memcpy} -DNOP_SYNC=${nop_sync} -DWITH_BENCHMARK=${benchmark} LIB=-L/usr/lib/ -lm -pthread |
