Skip to content

Commit

Permalink
Bug Fix: fixing the python version
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjamenMeyer committed Dec 15, 2024
1 parent f996cda commit 8eba274
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion script/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ then

HOMEBREW_PREFIX="$(brew --prefix)"
HOMEBREW_BIN="${HOMEBREW_PREFIX}/bin"
HOMEBREW_PYTHON_BIN="$(brew --prefix python)/libexec/bin"
# $(brew --prefix python) links to the wrong version of Python for Boost so while:
# HOMEBREW_PYTHON_BIN="$(brew --prefix python)/libexec/bin"
# would be preferred we need to do the following instead:
HOMEBREW_PYTHON_BIN="${HOMEBREW_PREFIX}/opt/python@${BUILD_WITH_PYTHON_VERSION}/libexec/bin"

echo "Build With Python Version: ${BUILD_WITH_PYTHON_VERSION}"
echo " Homebrew Prefix: ${HOMEBREW_PREFIX}"
Expand Down

0 comments on commit 8eba274

Please sign in to comment.