Commit a5f3501
committed
Bypass PyTorch's SVE+BF16 compile probe when building from source
PyTorch's FindARM.cmake was recently strengthened to hard-fail when its
SVE+BF16 compile check doesn't pass. The aarch64 CI image ships gcc-11,
which can't compile the probe's mixed NEON/SVE/bfloat16 intrinsics, so
`install_pytorch.sh` bails during CMake configure. Executorch's aarch64
runtime targets don't use SVE anyway, so set BUILD_IGNORE_SVE_UNAVAILABLE
to keep the Docker build moving.
Authored with Claude.1 parent 28aae26 commit a5f3501
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
| |||
0 commit comments