summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorYangqing Jia <jiayq@google.com>2014-07-24 18:05:58 (GMT)
committerYangqing Jia <jiayq@google.com>2014-07-24 18:05:58 (GMT)
commite8dc0ee5f76876caf7993a476aecf1f91c6fd1fc (patch)
tree5949f3e714ede3fca6dcde94b3c9ec6b69a5d272 /.travis.yml
parentca7d992c30d0284e7bbba3c4823baca1b9ed979c (diff)
downloadcaffeonacl-e8dc0ee5f76876caf7993a476aecf1f91c6fd1fc.zip
caffeonacl-e8dc0ee5f76876caf7993a476aecf1f91c6fd1fc.tar.gz
caffeonacl-e8dc0ee5f76876caf7993a476aecf1f91c6fd1fc.tar.bz2
travis: gflags still needs -fPIC, otherwise it makes caffe cry.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index d2c850b..72291e4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,7 @@ before_install:
install:
- 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 && sudo make install && cd -
- - 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://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 && export CXXFLAGS="-fPIC" && cmake .. && make VERBOSE=1 && sudo make install && popd
- 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
- curl https://gitorious.org/mdb/mdb/archive/7f038d0f15bec57b4c07aa3f31cd5564c88a1897.tar.gz -o /tmp/mdb.tar.gz && tar -C /tmp -xzvf /tmp/mdb.tar.gz && rm /tmp/mdb.tar.gz