summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorYangqing Jia <jiayq@google.com>2014-07-24 17:48:04 (GMT)
committerYangqing Jia <jiayq@google.com>2014-07-24 17:48:04 (GMT)
commit781630d0e979192ce34c2485d49d40bb772b5349 (patch)
treeb8e48ce1a89ae7464f1f0791ef5344a51442e557 /.travis.yml
parent6136f5dcb7b840e00eb1efcda5640f992fe10cf7 (diff)
downloadcaffeonacl-781630d0e979192ce34c2485d49d40bb772b5349.zip
caffeonacl-781630d0e979192ce34c2485d49d40bb772b5349.tar.gz
caffeonacl-781630d0e979192ce34c2485d49d40bb772b5349.tar.bz2
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 5d8beb1..fd04ac2 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