diff options
author | Ben Pfaff <blp@ovn.org> | 2018-10-16 13:57:10 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-10-16 15:12:16 -0700 |
commit | f7158faf655266e4ab2ac20c158a826df56d5011 (patch) | |
tree | d511ba47c1e9c33ee21c480a1b34c87d02e10e21 | |
parent | a598e6ae93f5a850d57c50d036db204dee9c6811 (diff) | |
download | openvswitch-f7158faf655266e4ab2ac20c158a826df56d5011.tar.gz |
travis: Remove sparse support.
"sparse" failed to build with this old branch, see e.g.
https://travis-ci.org/openvswitch/ovs/jobs/436851158
Signed-off-by: Ben Pfaff <blp@ovn.org>
-rwxr-xr-x | .travis/build.sh | 9 | ||||
-rwxr-xr-x | .travis/prepare.sh | 3 |
2 files changed, 2 insertions, 10 deletions
diff --git a/.travis/build.sh b/.travis/build.sh index 4df618ba0..62281dbba 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -4,7 +4,6 @@ set -o errexit KERNELSRC="" CFLAGS="-Werror" -SPARSE_FLAGS="" EXTRA_OPTS="" function install_kernel() @@ -77,9 +76,6 @@ if [ "$DPDK" ]; then CFLAGS="$CFLAGS -Wno-cast-align" fi EXTRA_OPTS="$EXTRA_OPTS --with-dpdk=./dpdk-$DPDK_VER/build" -elif [ "$CC" != "clang" ]; then - # DPDK headers currently trigger sparse errors - SPARSE_FLAGS="$SPARSE_FLAGS -Wsparse-error" fi configure_ovs $EXTRA_OPTS $* @@ -91,11 +87,8 @@ fi if [ "$CC" = "clang" ]; then make CFLAGS="$CFLAGS -Wno-error=unused-command-line-argument" -elif [[ $BUILD_ENV =~ "-m32" ]]; then - # Disable sparse for 32bit builds on 64bit machine - make CFLAGS="$CFLAGS $BUILD_ENV" else - make CFLAGS="$CFLAGS $BUILD_ENV $SPARSE_FLAGS" C=1 + make CFLAGS="$CFLAGS $BUILD_ENV" fi if [ "$TESTSUITE" ] && [ "$CC" != "clang" ]; then diff --git a/.travis/prepare.sh b/.travis/prepare.sh index cfc1b174f..7a693aac0 100755 --- a/.travis/prepare.sh +++ b/.travis/prepare.sh @@ -1,4 +1,3 @@ #!/bin/bash -git clone git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git -cd sparse && make && make install && cd .. + |