Skip to content

Commit

Permalink
ci: 🎡 pass required env vars for building macOS wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed Nov 19, 2023
1 parent 4245ec6 commit ba450d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions build_tools/macos/build_hyperscan.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions build_tools/wheels/build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ba450d2

Please sign in to comment.