From: Adam Kosiorek Date: Thu, 24 Jul 2014 11:44:05 +0000 (+0200) Subject: cmake from binaries X-Git-Tag: submit/tizen/20180823.020014~620^2~106^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68ae1ab7f2f486d82c9d683d9e1db21ecd329505;p=platform%2Fupstream%2Fcaffeonacl.git cmake from binaries --- diff --git a/.travis.yml b/.travis.yml index e596976..f6b2113 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,8 +18,13 @@ before_install: install: # CMake 2.8.12 +<<<<<<< HEAD - wget http://www.cmake.org/files/v2.8/cmake-2.8.12.tar.gz -O /tmp/cmake.tar.gz && tar -C /tmp -xvf /tmp/cmake.tar.gz && rm /tmp/cmake.tar.gz - cd /tmp/cmake-2.8.12 && ./bootstrap --prefix=/usr && make -j4 && sudo make install -j4 && cd - #&& rm -r /tmp/cmake-2.8.12 +======= + - wget http://www.cmake.org/files/v2.8/cmake-2.8.12.2-Linux-i386.tar.gz -O /tmp/cmake.tar.gz && tar -C /tmp -xvf /tmp/cmake.tar.gz && rm /tmp/cmake.tar.gz + - cd /tmp/cmake-2.8.12.2-Linux-i386 && sudo cp * /usr/ -r && cd - && rm -r /tmp/cmake-2.8.12.2-Linux-i386 +>>>>>>> cmake from binaries # - wget https://google-glog.googlecode.com/files/glog-0.3.3.tar.gz -O /tmp/glog-0.3.3.tar.gz && tar -C /tmp -xzvf /tmp/glog-0.3.3.tar.gz && rm /tmp/glog-0.3.3.tar.gz - cd /tmp/glog-0.3.3 && ./configure && make -j4 && sudo make install -j4 && cd - diff --git a/CMakeLists.txt b/CMakeLists.txt index f65046d..b7db2c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,7 @@ project( Caffe ) ### Build Options ########################################################################## +option(CPU_ONLY "Build Caffe without GPU support" OFF) option(BUILD_PYTHON "Build Python wrapper" OFF) option(BUILD_MATLAB "Build Matlab wrapper" OFF) option(BUILD_EXAMPLES "Build examples" ON)