From 79e6ba71093cb26bd0a0e86c2863a0ea8aafad10 Mon Sep 17 00:00:00 2001 From: Simon Pinches Date: Wed, 7 Oct 2026 14:52:54 +0200 Subject: [PATCH] CI: fix macOS wheel builds with Homebrew OpenSSL 4.0 UDA 2.9.3 is built with -Werror and calls X509_cmp_time, deprecated in OpenSSL 4.0, which Homebrew's openssl formula now provides. Build UDA with -Wno-error=deprecated-declarations until UDA_REF includes the upstream fix. --- .github/workflows/wheels.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 66239df4..c890fc64 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -414,6 +414,9 @@ jobs: cmake.define.${{ matrix.AL_BACKEND_UDA }} # Dependency installation into /tmp/imas-core-install + # UDA builds with -Werror and uses X509_cmp_time, deprecated in + # Homebrew's OpenSSL 4.0: don't turn deprecation warnings into errors + # (can be dropped once UDA_REF includes the upstream fix) CIBW_BEFORE_ALL_MACOS: > brew update >&2; brew install cmake pkg-config boost hdf5 libomp ninja fmt spdlog libxml2 openssl libmemcached >&2; @@ -430,6 +433,7 @@ jobs: -DCLIENT_ONLY=ON \ -DENABLE_CAPNP=ON \ -DMACOSX_DEPLOYMENT_TARGET=14.0 \ + -DCMAKE_CXX_FLAGS=-Wno-error=deprecated-declarations \ -DCMAKE_INSTALL_PREFIX=/tmp/imas-core-install >&2 && cmake --build build --target install -j >&2;