Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/CI/configure_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ if [[ $WITH_DEBUG == true ]] ; then
ARGS="$ARGS -DCMAKE_BUILD_TYPE=Debug"
fi

if [[ $CI_OS_NAME == "osx" ]] ; then
ARGS="$ARGS -DUSE_LEVELDB=OFF";
fi

echo "ARGS = ${ARGS}."

cmake .. $ARGS
Expand Down
6 changes: 5 additions & 1 deletion scripts/osx/install_deps.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
#!/bin/bash
brew_packages="openblas snappy leveldb gflags glog szip lmdb hdf5 opencv protobuf boost cmake viennacl"
brew_packages="openblas snappy leveldb gflags glog libaec lmdb hdf5 opencv protobuf boost cmake viennacl"
for pkg in $brew_packages
do
echo "brew install $pkg || brew upgrade $pkg"
brew install "$pkg" || brew upgrade "$pkg"
done

# fix for caffe
brew uninstall --force caffe
brew install --build-from-source caffe

# with Python pycaffe needs dependencies built from source
#brew install --build-from-source --with-python -vd protobuf
#brew install --build-from-source -vd boost boost-python
Expand Down
Loading