Skip to content

Commit

Permalink
Revert to using Pytorch paths for delocate
Browse files Browse the repository at this point in the history
Remove the linking of libtorch/ paths in delocate for CI builds
  • Loading branch information
powderluv committed Jul 15, 2022
1 parent afdaa60 commit b695717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_tools/python_deploy/build_macos_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function run_audit_wheel() {
python"${python_version}" -m pip install -U pip
python"${python_version}" -m pip install -r "$repo_root"/requirements.txt --extra-index-url https://download.pytorch.org/whl/nightly/cpu
python"${python_version}" -m pip install "$generic_wheel" --extra-index-url https://download.pytorch.org/whl/nightly/cpu
DYLD_LIBRARY_PATH="$repo_root"/libtorch/lib delocate-wheel -v "$generic_wheel"
DYLD_LIBRARY_PATH=$output_dir/test_venv/lib/python${python_version}/site-packages/torch/lib delocate-wheel -v "$generic_wheel"
deactivate
rm -rf "$output_dir"/test_venv
fi
Expand Down

0 comments on commit b695717

Please sign in to comment.