зеркало из https://github.com/microsoft/caffe.git
cmake from binaries
This commit is contained in:
Родитель
a2a4d636c9
Коммит
68ae1ab7f2
|
@ -18,8 +18,13 @@ before_install:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# CMake 2.8.12
|
# 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
|
- 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
|
- 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
|
- 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 -
|
- cd /tmp/glog-0.3.3 && ./configure && make -j4 && sudo make install -j4 && cd -
|
||||||
|
|
|
@ -3,6 +3,7 @@ project( Caffe )
|
||||||
|
|
||||||
### Build Options ##########################################################################
|
### Build Options ##########################################################################
|
||||||
|
|
||||||
|
option(CPU_ONLY "Build Caffe without GPU support" OFF)
|
||||||
option(BUILD_PYTHON "Build Python wrapper" OFF)
|
option(BUILD_PYTHON "Build Python wrapper" OFF)
|
||||||
option(BUILD_MATLAB "Build Matlab wrapper" OFF)
|
option(BUILD_MATLAB "Build Matlab wrapper" OFF)
|
||||||
option(BUILD_EXAMPLES "Build examples" ON)
|
option(BUILD_EXAMPLES "Build examples" ON)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче