Update Makefile and config.mk
Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
parent
df09c2861e
commit
72730bc27b
6
Makefile
6
Makefile
@ -1,7 +1,7 @@
|
|||||||
#CONFIGURE BUILD SYSTEM
|
#CONFIGURE BUILD SYSTEM
|
||||||
TARGET = MDBench-$(TAG)
|
TARGET = MDBench-$(TAG)-$(OPT_SCHEME)
|
||||||
BUILD_DIR = ./$(TAG)
|
BUILD_DIR = ./$(TAG)
|
||||||
SRC_DIR = ./src
|
SRC_DIR = ./$(OPT_SCHEME)
|
||||||
ASM_DIR = ./asm
|
ASM_DIR = ./asm
|
||||||
MAKE_DIR = ./
|
MAKE_DIR = ./
|
||||||
Q ?= @
|
Q ?= @
|
||||||
@ -10,7 +10,7 @@ Q ?= @
|
|||||||
include $(MAKE_DIR)/config.mk
|
include $(MAKE_DIR)/config.mk
|
||||||
include $(MAKE_DIR)/include_$(TAG).mk
|
include $(MAKE_DIR)/include_$(TAG).mk
|
||||||
include $(MAKE_DIR)/include_LIKWID.mk
|
include $(MAKE_DIR)/include_LIKWID.mk
|
||||||
INCLUDES += -I./src/includes
|
INCLUDES += -I./$(SRC_DIR)/includes
|
||||||
|
|
||||||
ifeq ($(strip $(DATA_LAYOUT)),AOS)
|
ifeq ($(strip $(DATA_LAYOUT)),AOS)
|
||||||
DEFINES += -DAOS
|
DEFINES += -DAOS
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# Compiler tag (GCC/CLANG/ICC)
|
# 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 (true or false)
|
||||||
ENABLE_LIKWID ?= false
|
ENABLE_LIKWID ?= false
|
||||||
# SP or DP
|
# SP or DP
|
||||||
|
Loading…
Reference in New Issue
Block a user