mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 05:47:55 +00:00
ci: Remove -Wno-cast-align from CI.
Following [1]-[3] in DPDK, there are no more such warnings from DPDK. Remove ignoring them if they occur. GitHub actions: v1: https://github.com/elibritstein/OVS/actions/runs/1540651133 [1] a3f8d0587188 ("net: avoid cast-align warning in VLAN insert function") [2] da0333c8790b ("mbuf: avoid cast-align warning in data offset macro") [3] 6de430b7079e ("eal/x86: avoid cast-align warning in memcpy functions") Signed-off-by: Eli Britstein <elibr@nvidia.com> Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
parent
d652fc6a5a
commit
0b6d2faace
@ -223,10 +223,6 @@ if [ "$DPDK" ] || [ "$DPDK_SHARED" ]; then
|
|||||||
DPDK_VER="21.11"
|
DPDK_VER="21.11"
|
||||||
fi
|
fi
|
||||||
install_dpdk $DPDK_VER
|
install_dpdk $DPDK_VER
|
||||||
if [ "$CC" = "clang" ]; then
|
|
||||||
# Disregard cast alignment errors until DPDK is fixed
|
|
||||||
CFLAGS_FOR_OVS="${CFLAGS_FOR_OVS} -Wno-cast-align"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CC" = "clang" ]; then
|
if [ "$CC" = "clang" ]; then
|
||||||
|
@ -90,7 +90,6 @@ def conf():
|
|||||||
|
|
||||||
if options.with_dpdk:
|
if options.with_dpdk:
|
||||||
configure.append("--with-dpdk=" + options.with_dpdk)
|
configure.append("--with-dpdk=" + options.with_dpdk)
|
||||||
cflags += " -Wno-cast-align -Wno-bad-function-cast" # DPDK warnings.
|
|
||||||
|
|
||||||
if options.optimize is None:
|
if options.optimize is None:
|
||||||
options.optimize = 0
|
options.optimize = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user