Skip to content

Commit

Permalink
Merge pull request #267 from lrineau/test
Browse files Browse the repository at this point in the history
fix for macOS
  • Loading branch information
lrineau authored Mar 29, 2024
2 parents b311d4d + 2bf9473 commit 211c77e
Showing 1 changed file with 5 additions and 1 deletion.
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

0 comments on commit 211c77e

Please sign in to comment.