Skip to content

Commit

Permalink
Merge pull request #3 from firedrakeproject/dont_assume_linux
Browse files Browse the repository at this point in the history
delocate Mac wheels
  • Loading branch information
JDBetteridge authored Nov 16, 2022
2 parents 9ec45c7 + 0b50969 commit 598883b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build_vtk_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ fi

# Use auditwheel to produce manylinux wheel
# For some reason auditwheel can't find libvtksys-9.2.so
if [ $(uname) == "linux" ]; then
OS=$(uname)
if [ $OS == "linux" ]; then
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/vtk_build/build/lib.linux-x86_64-3.11/vtkmodules
auditwheel repair dist/*.whl
elif [ $OS == "Darwin" ]; then
python -m pip install delocate
delocate-wheel -v dist/*.whl
fi

0 comments on commit 598883b

Please sign in to comment.