summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorYangqing Jia <jiayq@google.com>2014-07-24 10:48:04 -0700
committerYangqing Jia <jiayq@google.com>2014-07-24 10:48:04 -0700
commit781630d0e979192ce34c2485d49d40bb772b5349 (patch)
treeb8e48ce1a89ae7464f1f0791ef5344a51442e557 /.travis.yml
parent6136f5dcb7b840e00eb1efcda5640f992fe10cf7 (diff)
downloadcaffe-781630d0e979192ce34c2485d49d40bb772b5349.tar.gz
caffe-781630d0e979192ce34c2485d49d40bb772b5349.tar.bz2
caffe-781630d0e979192ce34c2485d49d40bb772b5349.zip
turns out that glog does not compile with gflags 2.1 - compiling glog first and then gflags.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 5d8beb13..fd04ac24 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,12 +15,10 @@ before_install:
- echo $LC_ALL
- sudo apt-get -y update
- sudo apt-get -y install wget git curl python-dev libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev protobuf-compiler libatlas-dev libatlas-base-dev bc
- - export CFLAGS="-fPIC"
- - export CXXFLAGS="-fPIC"
install:
- - wget https://github.com/schuhschuh/gflags/archive/master.zip -O /tmp/gflags-master.zip && pushd /tmp/ && unzip gflags-master.zip && cd gflags-master && mkdir build && cd build && cmake .. && make && sudo make install && popd
- 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://github.com/schuhschuh/gflags/archive/master.zip -O /tmp/gflags-master.zip && pushd /tmp/ && unzip gflags-master.zip && cd gflags-master && mkdir build && cd build && cmake .. && make && sudo make install && popd
- cd /tmp/glog-0.3.3 && ./configure && make && sudo make install && cd -
- curl http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/cuda-repo-ubuntu1204_6.0-37_amd64.deb -o /tmp/cuda_install.deb && sudo dpkg -i /tmp/cuda_install.deb && rm /tmp/cuda_install.deb
- sudo apt-get -y update && sudo apt-get -y install cuda