Skip to content

Commit 4dd1bf4

Browse files
committed
Update repair-wheel-command to include urdfdom library path and fix script installation
1 parent f8bde33 commit 4dd1bf4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/scripts/cibw_before_all_macos.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ brew install cmake wget git boost
2424
# Install SDFormat via Homebrew
2525
brew tap osrf/simulation
2626
brew install sdformat15
27+
brew --prefix urdfdom
2728

2829
# Clone GTSAM (don't build yet, depends on Python)
2930
# GTDynamics requires gtsam-develop (not the 4.2 release tag)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ PYTHON_EXECUTABLE = "$(which python)"
101101
[tool.cibuildwheel.macos]
102102
before-all = "bash {project}/.github/scripts/cibw_before_all_macos.sh"
103103
before-build = "bash {project}/.github/scripts/cibw_before_build_macos.sh {project}"
104-
repair-wheel-command = "DYLD_LIBRARY_PATH=$HOME/opt/gtdynamics-deps/gtd_current/lib:$HOME/opt/gtdynamics-deps/gtsam_current/lib:/opt/homebrew/lib:$DYLD_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
104+
repair-wheel-command = "DYLD_LIBRARY_PATH=$HOME/opt/gtdynamics-deps/gtd_current/lib:$HOME/opt/gtdynamics-deps/gtsam_current/lib:/opt/homebrew/lib:/opt/homebrew/opt/urdfdom/lib:$DYLD_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
105105

106106
[tool.cibuildwheel.macos.environment]
107107
MACOSX_DEPLOYMENT_TARGET = "$MACOSX_DEPLOYMENT_TARGET"

0 commit comments

Comments
 (0)