Skip to content

Commit 904b50c

Browse files
dbortfacebook-github-bot
authored andcommitted
Disable wheel delocation on macos (pytorch#3473)
Summary: Pull Request resolved: pytorch#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
1 parent da2d695 commit 904b50c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-wheels-m1.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
# "recursive" default to do less work, and to give the buck daemon fewer
5555
# files to look at.
5656
submodules: true
57+
delocate-wheel: false
5758
env-var-script: build/packaging/env_var_script_m1.sh
5859
pre-script: ${{ matrix.pre-script }}
5960
post-script: ${{ matrix.post-script }}

0 commit comments

Comments
 (0)