diff options
author | Andres Gomez <agomez@igalia.com> | 2017-04-07 15:16:21 +0300 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2017-04-29 13:34:53 +0100 |
commit | 29322daef2b77c4d869d2945fa1226e6b433c687 (patch) | |
tree | 96c364d37bbbbb0a8b8d041b5db5abac9d5dfc51 /.travis.yml | |
parent | 7819d265c79ceb1bfcadb7b5e9c1586de5b6aac8 (diff) | |
download | mesa-29322daef2b77c4d869d2945fa1226e6b433c687.tar.gz mesa-29322daef2b77c4d869d2945fa1226e6b433c687.tar.bz2 mesa-29322daef2b77c4d869d2945fa1226e6b433c687.zip |
travis: add the possibility of using the txc-dxtn library
The txc-dxtn library implements the patented S3 Texture Compression
algorithm.
By default it won't be used but we add the possibility of setting the
USE_TXC_DXTN variable to yes in the travis web UI so it will be
installed and used for the scons tests.
Cc: Eric Anholt <eric@anholt.net>
Cc: Rhys Kidd <rhyskidd@gmail.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
[Emil Velikov: keep the LIB prefix, drop the LD_LIBRARY_PATH, fold URL]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index efb8f286c87..e317a027233 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,7 @@ env: - XCBPROTO_VERSION=xcb-proto-1.11 - LIBXCB_VERSION=libxcb-1.11 - LIBXSHMFENCE_VERSION=libxshmfence-1.2 + - LIBTXC_DXTN_VERSION=libtxc_dxtn-1.0.1 - LLVM_VERSION=3.9 - LLVM_CONFIG="llvm-config-${LLVM_VERSION}" - PKG_CONFIG_PATH=$HOME/prefix/lib/pkgconfig @@ -93,6 +94,19 @@ install: - tar -jxvf $LIBXSHMFENCE_VERSION.tar.bz2 - (cd $LIBXSHMFENCE_VERSION && ./configure --prefix=$HOME/prefix && make install) + # libtxc-dxtn uses the patented S3 Texture Compression + # algorithm. Therefore, we don't want to use this library but it is + # still possible through setting the USE_TXC_DXTN variable to yes in + # the travis web UI. + # + # According to Wikipedia, the patent expires on October 2, 2017: + # https://en.wikipedia.org/wiki/S3_Texture_Compression#Patent + - if test "x$USE_TXC_DXTN" = xyes; then + wget https://people.freedesktop.org/~cbrill/libtxc_dxtn/$LIBTXC_DXTN_VERSION.tar.bz2; + tar -jxvf $LIBTXC_DXTN_VERSION.tar.bz2; + (cd $LIBTXC_DXTN_VERSION && ./configure --prefix=$HOME/prefix && make install); + fi + script: - if test "x$BUILD" = xmake; then ./autogen.sh --enable-debug |