Skip to content

Commit

Permalink
ci: Remove -Wno-cast-align from CI.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Eelco Chaudron <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
elibritstein authored and igsilya committed Jan 4, 2022
1 parent d652fc6 commit 0b6d2fa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .ci/linux-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion utilities/ovs-dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b6d2fa

Please sign in to comment.