[ovs-git] [openvswitch/ovs] 346c65: acinclude: Add vector defines to sparse.

Ilya Maximets noreply at github.com
Thu Jun 6 17:06:14 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 346c653823d097a4a19fcf5298ec905e8bb5cacd
      https://github.com/openvswitch/ovs/commit/346c653823d097a4a19fcf5298ec905e8bb5cacd
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2019-06-06 (Thu, 06 Jun 2019)

  Changed paths:
    M acinclude.m4
    M include/sparse/automake.mk
    R include/sparse/bmi2intrin.h
    R include/sparse/emmintrin.h

  Log Message:
  -----------
  acinclude: Add vector defines to sparse.

By adding compiler default flags for vector instructions to
cgcc we'll be able to check the same sources that we're building.
Also, this will allow to avoid re-defining these flags and
types specifically for "sparse" includes.

"sparse" headers "bmi2intrin.h" and "emmintrin.h" dropped as
not needed anymore.

Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Ben Pfaff <blp at ovn.org>


  Commit: 50f48c27e282db4fabdeb737d715d5bbedd1877a
      https://github.com/openvswitch/ovs/commit/50f48c27e282db4fabdeb737d715d5bbedd1877a
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2019-06-06 (Thu, 06 Jun 2019)

  Changed paths:
    M .travis/linux-build.sh
    M include/sparse/automake.mk
    M include/sparse/rte_flow.h
    R include/sparse/rte_lcore.h
    R include/sparse/rte_vect.h

  Log Message:
  -----------
  sparse: Re-allow sparse builds with dpdk.

Few structures from rte_flow.h updated to the version from DPDK 18.11
to fix incorrect structure definitions.

rte_lcore.h and rte_vect.h "sparse" headers removed because not needed
and only produce type-mismatch issues.

Enabled -Werror for sparse builds with DPDK to prevent regressions.

Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Ben Pfaff <blp at ovn.org>


  Commit: dbd4831028ab3ed5bf866a754c3a9ea3725c4d6c
      https://github.com/openvswitch/ovs/commit/dbd4831028ab3ed5bf866a754c3a9ea3725c4d6c
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2019-06-06 (Thu, 06 Jun 2019)

  Changed paths:
    M .travis/linux-build.sh

  Log Message:
  -----------
  travis: Use enable-Werror knob.

Unlike manual injecting of "-Werror" to CFLAGS,  '--enable-Werror'
enables failure on "sparse" and flake8 warnings. At least we wasn't
notified about flake8 warnings previously.

Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/0da667e3452c...dbd4831028ab


More information about the git mailing list