From 93750a54a9df528c9692380b80b4ed4755f4f05a Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Wed, 8 Aug 2018 10:22:19 -0700 Subject: [PATCH 1/3] try to improve some travis test speed --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ea71818e..a3b514c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,10 +12,11 @@ matrix: # Ubuntu 14.04 - env: Cmd='make test' - - env: Cmd='make gcc6install && CC=gcc-6 make -j all - && make clean && CC=gcc-6 make clean uasan-test-zstd Date: Wed, 8 Aug 2018 10:26:54 -0700 Subject: [PATCH 2/3] =?UTF-8?q?try=20adding=20gcc-8=C2=A0compilation=20tes?= =?UTF-8?q?ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 1 + Makefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index a3b514c8..257de66e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,7 @@ matrix: - env: Cmd='make gcc6install libc6install && make clean && CC=gcc-6 make -j uasan-test-zstd32' - env: Cmd='make gcc7install && make clean && CC=gcc-7 make -j uasan-test-zstd' + - env: Cmd='make gcc8install && CC=gcc-8 CFLAGS=-Werror make -j all' - env: Cmd='make clang38install && CC=clang-3.8 make clean msan-test-zstd' - env: Cmd='make gcc6install && CC=gcc-6 make clean uasan-fuzztest' diff --git a/Makefile b/Makefile index 98c35a34..f6779127 100644 --- a/Makefile +++ b/Makefile @@ -287,6 +287,9 @@ gcc6install: apt-add-repo gcc7install: apt-add-repo APT_PACKAGES="libc6-dev-i386 gcc-multilib gcc-7 gcc-7-multilib" $(MAKE) apt-install +gcc8install: apt-add-repo + APT_PACKAGES="libc6-dev-i386 gcc-multilib gcc-8 gcc-8-multilib" $(MAKE) apt-install + gpp6install: apt-add-repo APT_PACKAGES="libc6-dev-i386 g++-multilib gcc-6 g++-6 g++-6-multilib" $(MAKE) apt-install From d1afd48e44404200e3ec1ee003b0e9bfcc8d7ee8 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Wed, 8 Aug 2018 12:37:08 -0700 Subject: [PATCH 3/3] some errors may only happen when optimizations are enabled --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 257de66e..36df6705 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ matrix: - env: Cmd='make gcc6install libc6install && make clean && CC=gcc-6 make -j uasan-test-zstd32' - env: Cmd='make gcc7install && make clean && CC=gcc-7 make -j uasan-test-zstd' - - env: Cmd='make gcc8install && CC=gcc-8 CFLAGS=-Werror make -j all' + - env: Cmd='make gcc8install && CC=gcc-8 CFLAGS="-Werror -O3" make -j all' - env: Cmd='make clang38install && CC=clang-3.8 make clean msan-test-zstd' - env: Cmd='make gcc6install && CC=gcc-6 make clean uasan-fuzztest'