Skip to content

Commit 086d53e

Browse files
committed
Clean up eigen download code (and bump to 3.3.4)
This changes the travis-ci eigen download code to extract the tar on the fly (rather than saving to a file first), and extracts into an `eigen` directory rather than using upstream's `eigen-eigen-xxxxx` directory. This also bumps the travis-ci eigen release to 3.3.4, in an attempt to see if it fixed the -Wdeprecated warnings (it did not); the build setup cleanup seems worth committing anyway.
1 parent ba33b2f commit 086d53e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,10 @@ install:
193193
${PYPY:+--extra-index-url https://imaginary.ca/trusty-pypi}
194194
echo "done."
195195
196-
wget -q -O eigen.tar.gz https://bitbucket.org/eigen/eigen/get/3.3.3.tar.gz
197-
tar xzf eigen.tar.gz
198-
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH:+$CMAKE_INCLUDE_PATH:}$PWD/eigen-eigen-67e894c6cd8f"
196+
mkdir eigen
197+
curl -fsSL https://bitbucket.org/eigen/eigen/get/3.3.4.tar.bz2 | \
198+
tar --extract -j --directory=eigen --strip-components=1
199+
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH:+$CMAKE_INCLUDE_PATH:}$PWD/eigen"
199200
fi
200201
set +e
201202
script:

0 commit comments

Comments
 (0)