-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rpath to libcustom_ops_aot_lib.dylib and libquantized_ops_aot_lib… (
#6499) * Add rpath to libcustom_ops_aot_lib.dylib and libquantized_ops_aot_lib.dylib Summary: As titled. This issue is from https://github.com/pytorch/torchchat/actions/runs/11523122333/job/32080481174?pr=1312 In that job when we try to load `libcustom_ops_aot_lib.dylib` into python, it complains that it can't find `_portable_lib.cpython-310-darwin.so`. This PR is trying to fix it by adding the relative path to `_portable_lib.cpython-310-darwin.so` into `LC_RPATH`. Test Plan: Reviewers: Subscribers: Tasks: Tags: * Add smoke test * Lint
- Loading branch information
1 parent
cd1a25d
commit dc2e02a
Showing
3 changed files
with
63 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters