Skip to content

Commit

Permalink
repair build on newer M1/2/3 macs
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmuhs committed Dec 22, 2023
1 parent 139fd86 commit 00545d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/build_macosx_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ do
echo "Installing pyenv-venv: ${PYENV_VENV}"
pyenv virtualenv -f "${PYTHON_VERSION}" "${PYENV_VENV}"
pyenv local "${PYENV_VENV}"
eval "$(pyenv init --path)"
python --version

echo "Installing keyvi python deps..."
Expand Down
1 change: 1 addition & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def patch_for_custom_zlib(zlib_root):
link_library_dirs = [
keyvi_build_dir,
'/usr/local/lib/', # as of 17/07/2022 Python 3.10 build on GH actions needs '/usr/local/lib/' link library dir
'/opt/homebrew/lib'
]

#########################
Expand Down

0 comments on commit 00545d7

Please sign in to comment.