[ovs-dev] [PATCH] travis: Drop -MD related workaround for sparse.

Ilya Maximets i.maximets at ovn.org
Thu Sep 26 09:34:12 UTC 2019

The issue was fixed in upstream sparse by the following commit:
d90c0838c101 ("cgcc: fix wrong processing of -MD & -MMD")

This patch is required to fix our travis build.

Signed-off-by: Ilya Maximets <i.maximets at ovn.org>

This should be applied to master and backported to 2.12.

 .travis/linux-prepare.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index 65348c9f9..70fd98f71 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -9,11 +9,6 @@ set -ev
 # linking against it fails.
 git clone git://git.kernel.org/pub/scm/devel/sparse/sparse.git
 cd sparse
-# Commit bb1bf748580d ("cgcc: gendeps for -MM, -MD & -MMD too") makes
-# sparse ignore almost all source files, because 'make' uses '-MD' to
-# generate dependencies as a side effect within compilation commands.
-git revert bb1bf748580d --no-commit
-git diff HEAD
 make -j4 HAVE_LLVM= install
 cd ..

More information about the dev mailing list