updata Makefile
authorguohuijiang1234 <huijiangguo@openailab.com>
Fri, 24 Nov 2017 08:34:44 +0000 (16:34 +0800)
committerguohuijiang1234 <huijiangguo@openailab.com>
Fri, 24 Nov 2017 08:34:44 +0000 (16:34 +0800)
Makefile
Makefile.config.acl

index 2422f3b..2afeae3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,5 @@
 PROJECT := caffe
 
-AIDDIR=/usr/local/AID
-export PKG_CONFIG_PATH=${AIDDIR}/opencv3.3.0/lib/pkgconfig
-
 CONFIG_FILE := Makefile.config.acl
 # Explicitly check for the config file, otherwise make -k will proceed anyway.
 ifeq ($(wildcard $(CONFIG_FILE)),)
index 6dcc7cd..f20326f 100644 (file)
@@ -1,6 +1,9 @@
 ## Refer to http://caffe.berkeleyvision.org/installation.html
 # Contributions simplifying and improving our build system are welcome!
 
+AIDDIR=/usr/local/AID
+export PKG_CONFIG_PATH=${AIDDIR}/opencv3.3.0/lib/pkgconfig
+
 # cuDNN acceleration switch (uncomment to build with cuDNN).
 # USE_CUDNN := 1