Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for macOS #267

Merged
merged 3 commits into from
Mar 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ jobs:
- name: Install LASTools
shell: bash -l {0}
run: |
MACOSX_DEPLOYMENT_TARGET=10.13
export MACOSX_DEPLOYMENT_TARGET
set -xe
pushd $HOME
git clone --depth 1 https://github.com/CGAL/LAStools.git
Expand Down Expand Up @@ -169,15 +171,17 @@ jobs:
cp wheelhouse/*.whl .
;;
macOS)
MACOSX_DEPLOYMENT_TARGET=10.13
LDFLAGS="-rpath ${CONDA_ENV_DIR}/lib -rpath $HOME/.local/lib"
DYLD_LIBRARY_PATH=${CONDA_ENV_DIR}/lib:/Users/runner/.local/lib
export MACOSX_DEPLOYMENT_TARGET
export LDFLAGS
export DYLD_LIBRARY_PATH
CXXFLAGS=-faligned-allocation
export CXXFLAGS
CGAL_DIR=$HOME/.local python -m pip wheel -v .
delocate-listdeps --all cgal-*.whl
delocate-wheel -w fixed_wheel cgal-*.whl
delocate-wheel -v -w fixed_wheel cgal-*.whl
delocate-listdeps --all fixed_wheel/*.whl
rm cgal-*.whl
cp fixed_wheel/*.whl .
Expand Down
Loading