Skip to content

Commit

Permalink
#3049 add custom wheel repair command for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Sep 28, 2023
1 parent cc07fc4 commit 1e164ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ jobs:
CIBW_BEFORE_BUILD_LINUX: >
python -m pip install cmake casadi numpy &&
scripts/fix_casadi_rpath_linux.sh
# override; point to casadi install path so that it can be found by the repair command
CIBW_REPAIR_WHEEL_COMMAND_LINUX: >
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$(python -c 'import casadi; print(casadi.__path__[0])')" auditwheel repair -w {dest_dir} {wheel}
CIBW_BEFORE_BUILD_MACOS: >
python -m pip
install cmake casadi numpy &&
Expand Down

0 comments on commit 1e164ae

Please sign in to comment.