On 9/26/2019 10:34 AM, Ilya Maximets wrote:
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 <[email protected]>
---

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 ..

Good catch Ilya, tested on my own repo and boards:

https://travis-ci.org/istokes/ovs/builds/589865325

LGTM, ACKED.

Ian
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to