]> granicus.if.org Git - libjpeg-turbo/commitdiff
Travis CI: Fixes to support AVX2 code
authorDRC <information@libjpeg-turbo.org>
Wed, 5 Oct 2016 19:42:35 +0000 (14:42 -0500)
committerDRC <information@libjpeg-turbo.org>
Wed, 5 Oct 2016 19:50:43 +0000 (14:50 -0500)
-- Use trusty for SIMD builds.  Ubuntu 12.04 is still using NASM 2.09.x,
   which isn't new enough to support AVX2.
-- Add a special test for the SSE2 code path, since it is no longer the
   default.

.travis.yml

index 3619da52bb6e8b62026145ea75ff7c266bdc4a9d..65ee5bb0111a8922d6b0929a88c2cf7d26ec492a 100644 (file)
@@ -11,6 +11,7 @@ matrix:
       env: BUILD_OFFICIAL=1
       osx_image: xcode7.2
     - os: linux
+      dist: trusty
       compiler: clang
       env:
         CFLAGS="-O1 -g -fsanitize=address -fno-omit-frame-pointer"
@@ -24,6 +25,7 @@ matrix:
       compiler: gcc
       env: CONFIGURE_FLAGS="--with-12bit"
     - os: linux
+      dist: trusty
       compiler: gcc
       env: CONFIGURE_FLAGS="--with-jpeg8"
       addons:
@@ -73,6 +75,7 @@ script:
         make test FLOATTEST=32bit;
       else
         make test FLOATTEST=sse &&
+        JSIMD_FORCESSE2=1 make test FLOATTEST=sse &&
         JSIMD_FORCENONE=1 make test FLOATTEST=32bit;
       fi &&
       popd;