summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorYangqing Jia <jiayq@google.com>2014-07-24 17:28:06 (GMT)
committerYangqing Jia <jiayq@google.com>2014-07-24 17:28:06 (GMT)
commit6136f5dcb7b840e00eb1efcda5640f992fe10cf7 (patch)
treef1024936eb0d00c283b4f49092f136498a9ea922 /.travis.yml
parent5fbf4af1387bf31b194ba61175c905ea92a80adb (diff)
downloadcaffeonacl-6136f5dcb7b840e00eb1efcda5640f992fe10cf7.zip
caffeonacl-6136f5dcb7b840e00eb1efcda5640f992fe10cf7.tar.gz
caffeonacl-6136f5dcb7b840e00eb1efcda5640f992fe10cf7.tar.bz2
travis - does adding cflags help? want to keep minimal invasion into gflags installation.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index a61e508..5d8beb1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,8 @@ 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