5 # Build and install sparse.
7 # Explicitly disable sparse support for llvm because some travis
8 # environments claim to have LLVM (llvm-config exists and works) but
9 # linking against it fails.
10 git clone git
://git.kernel.org
/pub
/scm
/devel
/sparse
/sparse.git
12 make -j4 HAVE_LLVM
= install
15 pip3
install --disable-pip-version-check --user six flake8 hacking
16 pip3
install --user --upgrade docutils
19 # Installing 32-bit libraries.
20 # 32-bit and 64-bit libunwind can not be installed at the same time.
21 # This will remove the 64-bit libunwind and install 32-bit version.
22 sudo apt-get
install -y \
23 libunwind-dev
:i386 libunbound-dev
:i386 gcc-multilib
26 # IPv6 is supported by kernel but disabled in TravisCI images:
27 # https://github.com/travis-ci/travis-ci/issues/8891
28 # Enable it to avoid skipping of IPv6 related tests.
29 sudo sysctl
-w net.ipv6.conf.all.disable_ipv6
=0