summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJeff Donahue <jeff.donahue@gmail.com>2014-07-28 02:02:58 (GMT)
committerJeff Donahue <jeff.donahue@gmail.com>2014-07-28 03:30:13 (GMT)
commit19e87d946829cb91e74a03463cda166f79cfe7ae (patch)
treeacb8e5b7f14a4ebfe9d198282a058bbcc5cceb24 /.travis.yml
parenta84ba3db3035a8fa98497d805c55b9b0ff4a7366 (diff)
downloadcaffeonacl-19e87d946829cb91e74a03463cda166f79cfe7ae.zip
caffeonacl-19e87d946829cb91e74a03463cda166f79cfe7ae.tar.gz
caffeonacl-19e87d946829cb91e74a03463cda166f79cfe7ae.tar.bz2
Only install the minimal CUDA subpackages necessary for building.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index db11517..7721de1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,7 +21,14 @@ install:
- 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 && 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
+ - sudo apt-get -y update
+ # Install the minimal CUDA subpackages required to test Caffe build.
+ # For a full CUDA installation, add 'cuda' to the list of packages.
+ - sudo apt-get -y install cuda-core-6-0 cuda-extra-libs-6-0
+ # Create CUDA symlink at /usr/local/cuda
+ # (This would normally be created by the CUDA installer, but we create it
+ # manually since we did a partial installation.)
+ - sudo ln -s /usr/local/cuda-6.0 /usr/local/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
- cd /tmp/mdb-mdb/libraries/liblmdb/ && make && sudo make install && cd -