summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorbhack <s.fabri@email.it>2014-07-29 18:25:50 (GMT)
committerJeff Donahue <jeff.donahue@gmail.com>2014-08-17 08:07:17 (GMT)
commitfca1e623023b4b8396e5de44c9bd115f6fc0f307 (patch)
treec5f4f914e57954bf73ac042a01b9bcdd04c3b133 /.travis.yml
parent9f9b013813dc02c0ab86043e0b7a385c69e1b4f7 (diff)
downloadcaffeonacl-fca1e623023b4b8396e5de44c9bd115f6fc0f307.zip
caffeonacl-fca1e623023b4b8396e5de44c9bd115f6fc0f307.tar.gz
caffeonacl-fca1e623023b4b8396e5de44c9bd115f6fc0f307.tar.bz2
Add ppa for CMake for fix 32bit precompiled cmake on 64bit
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index fd82c99..37864c1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,17 +10,15 @@ compiler:
# building on Linux.)
# - clang
+
before_install:
- echo $LANG
- echo $LC_ALL
+ - sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y
- sudo apt-get -y update
- - sudo apt-get -y install wget git curl python-dev python-numpy libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev protobuf-compiler libatlas-dev libatlas-base-dev bc
+ - sudo apt-get -y install wget git curl python-dev python-numpy libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev protobuf-compiler libatlas-dev libatlas-base-dev bc cmake
install:
- # 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
- #
- 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 -
- 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