You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2016/01/02 16:20:08 UTC

[7/7] incubator-singa git commit: SINGA-97 Add HDFS Store

SINGA-97 Add HDFS Store

minor change in makefile to make compile without hdfs correct


Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/4cfe8137
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/4cfe8137
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/4cfe8137

Branch: refs/heads/master
Commit: 4cfe81373f25b4e4e6f76daf8983ebac3995388a
Parents: 9fbc8ee
Author: WANG Sheng <wa...@gmail.com>
Authored: Fri Jan 1 13:42:12 2016 +0800
Committer: WANG Sheng <wa...@gmail.com>
Committed: Sat Jan 2 19:58:14 2016 +0800

----------------------------------------------------------------------
 Makefile.am     | 2 --
 src/io/store.cc | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/4cfe8137/Makefile.am
----------------------------------------------------------------------
diff --git a/Makefile.am b/Makefile.am
index a4315c8..3c282e3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -149,8 +149,6 @@ SINGA_HDRS := include/singa.h \
               include/singa/io/kvfile_store.h \
               include/singa/io/textfile_store.h \
               include/mshadow/cxxnet_op.h \
-              include/singa/io/hdfsfile.h \
-              include/singa/io/hdfsfile_store.h \
               include/mshadow/tensor_expr.h \
               include/mshadow/tensor_container.h \
               include/mshadow/tensor_expr_ext.h \

http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/4cfe8137/src/io/store.cc
----------------------------------------------------------------------
diff --git a/src/io/store.cc b/src/io/store.cc
index 1e5a17f..f2a4404 100644
--- a/src/io/store.cc
+++ b/src/io/store.cc
@@ -22,9 +22,9 @@
 #include "singa/io/store.h"
 #include "singa/io/kvfile_store.h"
 #include "singa/io/textfile_store.h"
+#ifdef USE_HDFS
 #include "singa/io/hdfs_store.h"
-
-#define USE_HDFS 1
+#endif
 
 namespace singa { namespace io {