From: David Marchand Date: Fri, 8 Nov 2019 18:21:14 +0000 (+0100) Subject: ci: remove LTO job X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=20d3f48be1d1d1d84da2881e72769aed430b3c44 ci: remove LTO job The LTO job using gcc-7 has two issues at the moment: - warnings about implicit fallthroughs trigger build errors: In file included from ...common/include/rte_memory.h:22:0, from ...linux/eal/eal_hugepage_info.c:24: ...common/include/rte_common.h: In function ‘rte_str_to_size’: ...common/include/rte_common.h:744:27: error: this statement may fall through [-Werror=implicit-fallthrough=] case 'G': case 'g': size *= 1024; /* fall-through */ ~~~~~^~~~~~~ - if we disable this warning, linking the binaries takes too much time and the job is terminated by Travis because it reaches the maximum time limit Fixes: 098cc0fea3be ("build: add option to enable LTO") Signed-off-by: David Marchand Acked-by: Thomas Monjalon --- diff --git a/.travis.yml b/.travis.yml index a1c31d407e..3d6ef2959c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -105,15 +105,6 @@ matrix: apt: packages: - *extra_packages - - env: DEF_LIB="static" OPTS="-Db_lto=true" EXTRA_PACKAGES=1 CC=gcc-7 - compiler: gcc - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - *extra_packages - - gcc-7 script: ./.ci/${TRAVIS_OS_NAME}-build.sh