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 2015/05/27 16:39:20 UTC

[19/22] incubator-singa git commit: add zookeeper

http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/5e111c3c/examples/cifar10/Makefile
----------------------------------------------------------------------
diff --git a/examples/cifar10/Makefile b/examples/cifar10/Makefile
index 16c329f..2a8b67a 100644
--- a/examples/cifar10/Makefile
+++ b/examples/cifar10/Makefile
@@ -5,11 +5,11 @@ libs :=singa glog protobuf
 download: cifar-10-binary-bin
 
 cifar-10-binary-bin:
-	#wget http://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz
+	wget http://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz
 	tar xf cifar-10-binary.tar.gz
 
 create:
-	$(CXX) create_shard.cc -std=c++11 -lsinga -lglog -lprotobuf -I../../include \
+	$(CXX) create_shard.cc -std=c++11 -lsingashard -lprotobuf -lglog -I../../include \
 		-L../../.libs/ -Wl,-unresolved-symbols=ignore-in-shared-libs -Wl,-rpath=../../.libs/ \
 		-o create_shard.bin
 	mkdir cifar10_train_shard

http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/5e111c3c/thirdparty/install.sh
----------------------------------------------------------------------
diff --git a/thirdparty/install.sh b/thirdparty/install.sh
index 4dcd506..1bb85a1 100755
--- a/thirdparty/install.sh
+++ b/thirdparty/install.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 function install_cmake()
 {
@@ -700,7 +700,20 @@ do
 		fi
 		;;
 	*)
-		echo "INVALID ARGUMENTS";
+		echo "USAGE: ./install.sh [MISSING_LIBRARY_NAME1] [YOUR_INSTALL_PATH1] [MISSING_LIBRARY_NAME2] [YOUR_INSTALL_PATH2] ...";
+		echo " MISSING_LIBRARY_NAME can be:	"
+		echo "	cmake"
+		echo "	czmq"
+		echo "	gflags"
+		echo "	glog"
+		echo "	lmdb"
+		echo "	OpenBLAS"
+		echo "	opencv"
+		echo "	protobuf"
+		echo "	zeromq"
+		echo "	zookeeper"
+		echo " To install all dependencies, you can run:	"
+		echo "	./install.sh all"
 		exit;
 	esac	
 done