2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 01:51:26 +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:
Eli Britstein 2021-12-05 09:34:42 +02:00 committed by Ilya Maximets
parent d652fc6a5a
commit 0b6d2faace
2 changed files with 0 additions and 5 deletions

View File

@ -223,10 +223,6 @@ if [ "$DPDK" ] || [ "$DPDK_SHARED" ]; then
DPDK_VER="21.11"
fi
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
if [ "$CC" = "clang" ]; then

View File

@ -90,7 +90,6 @@ def conf():
if 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:
options.optimize = 0