Closed dbort closed 2 weeks ago
Note: Links to docs will display an error until the docs builds have been completed.
As of commit 486a97c5ef8ae5b3cbbafa7dff25c05e6c399159 with merge base 5d2a17b29f57ab77f0481ca1d96d827e610dc4bf (): :green_heart: Looks good so far! There are no failures yet. :green_heart:
This comment was automatically generated by Dr. CI and updates every 15 minutes.
@dbort has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@dbort merged this pull request in pytorch/executorch@da2d695dce8ddaea198ac0c80ca60374f0c09e4a.
Stack from ghstack (oldest at bottom):
3477
3476
3475
3474
3473
3471
3470
3469
3468
3467
3466
pip wheels will need to be able to find the torch libraries. On Linux, the .so has non-absolute dependencies on libs like "libtorch.so" without paths; as long as we
import torch
first, those dependencies will work.But Apple dylibs do not support non-absolute dependencies, so we need to tell the loader where to look for its libraries. The LC_LOAD_DYLIB entries for the torch libraries will look like "@rpath/libtorch.dylib", so we can add an LC_RPATH entry to look in a directory relative to the installed location of our _portable_lib.so file.
To see these LC_ values, run `otool -l _portable_lib.so`.
Differential Revision: D56857492