Skip to content

Commit d732904

Browse files
committed
copy more .so files before building wheels
1 parent b552961 commit d732904

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/torch.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ env:
1111
# keep in mind that `arm.patch` needs to work on this version (or recreate a new patch)
1212
TORCHTAG: v1.13.0
1313

14-
REUSE_STAGE1: false
15-
REUSE_STAGE2: false
16-
REUSE_STAGE3: false
17-
REUSE_STAGE4: false
18-
REUSE_STAGE5: false
19-
REUSE_STAGE6: false
14+
REUSE_STAGE1: true
15+
REUSE_STAGE2: true
16+
REUSE_STAGE3: true
17+
REUSE_STAGE4: true
18+
REUSE_STAGE5: true
19+
REUSE_STAGE6: true
2020
REUSE_STAGE7: false
2121
DOCKER_CACHE_ID: 2
2222

Dockerfile.stage7

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ RUN \
1111
ls -lah build/ && \
1212
cd build/lib.*/torch || cd build/lib/torch && \
1313
ln -s _C.*.so _C.so || : && \
14+
ln -s _C_flatbuffer.*.so _C_flatbuffer.so || : && \
15+
cd ../functorch && \
16+
ln -s _C.*.so _C.so || : && \
1417
#ln -s _dl.*.so _dl.so || : && \
1518
ls -lah && \
1619
cd ../../.. && \

0 commit comments

Comments
 (0)