The OSX CI lane was removed due to frequent failures, remove
the rest of OSX helper scripts and add a note about removal
of OSX "support" into NEWS file.

Signed-off-by: Ales Musil <[email protected]>
---
 .ci/osx-build.sh      | 42 ------------------------------------------
 .ci/osx-prepare.sh    |  4 ----
 Makefile.am           |  2 --
 NEWS                  |  1 +
 controller/neighbor.h |  2 +-
 5 files changed, 2 insertions(+), 49 deletions(-)
 delete mode 100755 .ci/osx-build.sh
 delete mode 100755 .ci/osx-prepare.sh

diff --git a/.ci/osx-build.sh b/.ci/osx-build.sh
deleted file mode 100755
index 3fcc801e7..000000000
--- a/.ci/osx-build.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-set -o errexit
-
-CFLAGS="-Werror $CFLAGS"
-EXTRA_OPTS=""
-
-function configure_ovs()
-{
-    pushd ovs
-    ./boot.sh && ./configure $*
-    make -j4 || { cat config.log; exit 1; }
-    popd
-}
-
-function configure_ovn()
-{
-    configure_ovs $*
-    ./boot.sh && ./configure $*
-}
-
-configure_ovn $EXTRA_OPTS $OPTS $*
-
-if [ "$CC" = "clang" ]; then
-    set make CFLAGS="$CFLAGS -Wno-error=unused-command-line-argument"
-else
-    set make CFLAGS="$CFLAGS $BUILD_ENV"
-fi
-if ! "$@"; then
-    cat config.log
-    exit 1
-fi
-if [ "$TESTSUITE" ] && [ "$CC" != "clang" ]; then
-    export DISTCHECK_CONFIGURE_FLAGS="$EXTRA_OPTS"
-    if ! make distcheck RECHECK=yes; then
-        # testsuite.log is necessary for debugging.
-        cat */_build/sub/tests/testsuite.log
-        exit 1
-    fi
-fi
-
-exit 0
diff --git a/.ci/osx-prepare.sh b/.ci/osx-prepare.sh
deleted file mode 100755
index 78d5bb579..000000000
--- a/.ci/osx-prepare.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-set -ev
-pip3 install --user six
-pip3 install --user --upgrade docutils
diff --git a/Makefile.am b/Makefile.am
index 1b5800659..2db0e50ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -75,8 +75,6 @@ EXTRA_DIST = \
        .ci/linux-util.sh \
        .ci/ovn_upgrade_test.py \
        .ci/ovn_upgrade_utils.py \
-       .ci/osx-build.sh \
-       .ci/osx-prepare.sh \
        .ci/ovn-kubernetes/prepare.sh \
        .ci/ovn-kubernetes/custom.patch \
        .github/workflows/containers.yml \
diff --git a/NEWS b/NEWS
index b2416f98b..66032fe4e 100644
--- a/NEWS
+++ b/NEWS
@@ -77,6 +77,7 @@ Post v26.09.0
      the replies from the backends of its load balancers.  The CMS must make
      sure that the replies re-enter the router on the chassis that load
      balanced the request.  See ovn-nb(5).
+   - Drop OSX support, there will be no further testing of OVN build on OSX.
 
 OVN v26.09.0 - xxx xx xxxx
 --------------------------
diff --git a/controller/neighbor.h b/controller/neighbor.h
index 6243a9e31..402801244 100644
--- a/controller/neighbor.h
+++ b/controller/neighbor.h
@@ -27,7 +27,7 @@
 
 #include "vec.h"
 
-/* XXX: AF_BRIDGE doesn't seem to be defined on some systems, e.g., OSX. */
+/* XXX: AF_BRIDGE doesn't seem to be defined on some systems. */
 #ifndef AF_BRIDGE
 #define AF_BRIDGE AF_UNSPEC
 #endif
-- 
2.56.0

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

Reply via email to