Commit 66583ec8 authored by Evan Shelhamer's avatar Evan Shelhamer
Browse files

[travis] install lmdb through git mirror

switch to github mirror of latest tag as tarball to fix stale url.
parent 3cc9baca
......@@ -47,12 +47,12 @@ if $WITH_CUDA; then
fi
# Install LMDB
LMDB_URL=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.39.tgz
LMDB_FILE=/tmp/openldap.tgz
LMDB_URL=https://github.com/LMDB/lmdb/archive/LMDB_0.9.14.tar.gz
LMDB_FILE=/tmp/lmdb.tar.gz
pushd .
curl $LMDB_URL -o $LMDB_FILE
wget $LMDB_URL -O $LMDB_FILE
tar -C /tmp -xzvf $LMDB_FILE
cd /tmp/openldap*/libraries/liblmdb/
cd /tmp/lmdb*/libraries/liblmdb/
$MAKE
$MAKE install
popd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment