summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAhmed El-Shafiey <[email protected]>2012-12-20 23:19:36 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:24 -0700
commite5516925760944519a674d0e5ac94d7dbd4d2788 (patch)
treeaa884a02cc2b731dd918bf0547b164ccf4ed85f0 /Makefile
parent9333cfbf261666ac2a3d40b712b6cbb3346d8c00 (diff)
1- it seems like using #ifdef within a class definition confuses valgrind, replaced this with defining an empty class if #GPGPUSIM_POWER_MODEL is not defined.
2- fixing the makefile to make it actually compiles if the #GPGPUSIM_POWER_MODEL is not defined. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14858]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 93709a7..aa80c9f 100644
--- a/Makefile
+++ b/Makefile
@@ -215,7 +215,7 @@ makedirs:
if [ ! -d $(SIM_OBJ_FILES_DIR)/libopencl ]; then mkdir -p $(SIM_OBJ_FILES_DIR)/libopencl; fi;
if [ ! -d $(SIM_OBJ_FILES_DIR)/intersim ]; then mkdir -p $(SIM_OBJ_FILES_DIR)/intersim; fi;
if [ ! -d $(SIM_OBJ_FILES_DIR)/cuobjdump_to_ptxplus ]; then mkdir -p $(SIM_OBJ_FILES_DIR)/cuobjdump_to_ptxplus; fi;
- if [ ! -d $(GPGPUSIM_POWER_MODEL)/obj_opt ] && [ -n $(GPGPUSIM_POWER_MODEL) ]; then mkdir -p $(GPGPUSIM_POWER_MODEL)/obj_opt; fi;
+ if [ ! -d $(GPGPUSIM_POWER_MODEL)/obj_opt ] && [ ! -n $(GPGPUSIM_POWER_MODEL) ]; then mkdir -p $(GPGPUSIM_POWER_MODEL)/obj_opt; fi;
all:
$(MAKE) gpgpusim