Update Makefile and config.mk

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti 2022-01-17 14:16:39 +01:00
parent df09c2861e
commit 72730bc27b
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#CONFIGURE BUILD SYSTEM
TARGET = MDBench-$(TAG)
TARGET = MDBench-$(TAG)-$(OPT_SCHEME)
BUILD_DIR = ./$(TAG)
SRC_DIR = ./src
SRC_DIR = ./$(OPT_SCHEME)
ASM_DIR = ./asm
MAKE_DIR = ./
Q ?= @
@ -10,7 +10,7 @@ Q ?= @
include $(MAKE_DIR)/config.mk
include $(MAKE_DIR)/include_$(TAG).mk
include $(MAKE_DIR)/include_LIKWID.mk
INCLUDES += -I./src/includes
INCLUDES += -I./$(SRC_DIR)/includes
ifeq ($(strip $(DATA_LAYOUT)),AOS)
DEFINES += -DAOS

View File

@ -1,5 +1,7 @@
# Compiler tag (GCC/CLANG/ICC)
TAG ?= CLANG
TAG ?= ICC
# Optimization scheme (default/gromacs/clusters_per_bin)
OPT_SCHEME = default
# Enable likwid (true or false)
ENABLE_LIKWID ?= false
# SP or DP