From ba450d2a5bb83fae6536dcb78bffb533779787be Mon Sep 17 00:00:00 2001 From: David Gidwani Date: Sun, 19 Nov 2023 00:43:51 -0500 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8E=A1=20pass=20required=20env=20va?= =?UTF-8?q?rs=20for=20building=20macOS=20wheels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build_tools/macos/build_hyperscan.sh | 2 ++ build_tools/wheels/build_wheels.sh | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build_tools/macos/build_hyperscan.sh b/build_tools/macos/build_hyperscan.sh index c431012..212b256 100755 --- a/build_tools/macos/build_hyperscan.sh +++ b/build_tools/macos/build_hyperscan.sh @@ -1,6 +1,8 @@ #!/bin/bash set -euxo pipefail +HYPERSCAN_VERSION=${HYPERSCAN_VERSION:-v5.4.2} +HYPERSCAN_BUILD_TYPE=${HYPERSCAN_BUILD_TYPE:-Release} PCRE_VERSION=${PCRE_VERSION:-8.45} if pkg-config --validate libhs; then diff --git a/build_tools/wheels/build_wheels.sh b/build_tools/wheels/build_wheels.sh index 9a7ec76..e3946a3 100644 --- a/build_tools/wheels/build_wheels.sh +++ b/build_tools/wheels/build_wheels.sh @@ -2,9 +2,9 @@ set -euxo pipefail # Only applicable to macOS builds -HYPERSCAN_VERSION=${HYPERSCAN_VERSION:-v5.4.2} -HYPERSCAN_BUILD_TYPE=${HYPERSCAN_BUILD_TYPE:-Release} -PCRE_VERSION="${PCRE_VERSION:-8.45}" +export HYPERSCAN_VERSION=${HYPERSCAN_VERSION:-v5.4.2} +export HYPERSCAN_BUILD_TYPE=${HYPERSCAN_BUILD_TYPE:-Release} +export PCRE_VERSION="${PCRE_VERSION:-8.45}" if [[ $(uname) == "Darwin" ]]; then export MACOSX_DEPLOYMENT_TARGET="10.14"