SIGN IN SIGN UP

Disable wheel delocation on macos (#3473)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/3473

The executorch build system will ensure that .dylib/.so files have
LC_LOAD_DYLIB and LC_RPATH entries that will work when they're
installed.

Delocating (i.e., making copies of the .dylibs that ET's libs depend on)
will break any libs that depend on the torch libraries if users ever
import both `torch` and the executorch library. Both import paths must
load exactly the same file, not just a copy of it.

imported-using-ghimport

Test Plan: Imported from OSS

Reviewed By: mikekgfb

Differential Revision: D56857483

Pulled By: dbort

fbshipit-source-id: 34c823800acd40980cf2fa1a90d798e6844f5fd9
D
Dave Bort committed
904b50c6fe9d6c1ddedafbea118ad2b8d77b775f
Parent: da2d695
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 5/2/2024, 12:37:07 AM