summaryrefslogtreecommitdiff
path: root/homebrew/caffe/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/caffe/.make.sh-auto')
-rw-r--r--homebrew/caffe/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/caffe/.make.sh-auto b/homebrew/caffe/.make.sh-auto
new file mode 100644
index 000000000..dcdd36101
--- /dev/null
+++ b/homebrew/caffe/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+ENV.cxx11
+args = std_cmake_args + %w[-DALLOW_LMDB_NOLOCK=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_docs=OFF -DBUILD_matlab=OFF -DBUILD_python=OFF -DBUILD_python_layer=OFF -DCPU_ONLY=ON -DUSE_LEVELDB=ON -DUSE_LMDB=ON -DUSE_NCCL=OFF -DUSE_OPENCV=ON -DUSE_OPENMP=OFF ]
+cmake . *args
+make DESTDIR=${PKG_DEST} install
+pkgshare.install "models"