Skip to content

Commit 66583ec

Browse files
committed
[travis] install lmdb through git mirror
switch to github mirror of latest tag as tarball to fix stale url.
1 parent 3cc9bac commit 66583ec

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/travis/travis_install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ if $WITH_CUDA; then
4747
fi
4848

4949
# Install LMDB
50-
LMDB_URL=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.39.tgz
51-
LMDB_FILE=/tmp/openldap.tgz
50+
LMDB_URL=https://github.com/LMDB/lmdb/archive/LMDB_0.9.14.tar.gz
51+
LMDB_FILE=/tmp/lmdb.tar.gz
5252
pushd .
53-
curl $LMDB_URL -o $LMDB_FILE
53+
wget $LMDB_URL -O $LMDB_FILE
5454
tar -C /tmp -xzvf $LMDB_FILE
55-
cd /tmp/openldap*/libraries/liblmdb/
55+
cd /tmp/lmdb*/libraries/liblmdb/
5656
$MAKE
5757
$MAKE install
5858
popd

0 commit comments

Comments
 (0)