This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/BVLC/caffe.git | |
mkdir caffe/build | |
cd caffe/build | |
# these two hacks are required | |
export LC_ALL=es_ES.UTF-8 # this locale variable is unset | |
sed -i '29iset(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORCE_INLINES")' ../CMakeLists.txt | |
cmake -DBUILD_matlab=ON .. # matlab is disabled by default | |
make all # this takes a while | |
make runtest # all green | |
cd - |