[Build] Using xnnpack fails with "_Float16 is not supported on this target" for iOS x86_64 simulator #22289
Labels
build
build issues; typically submitted using template
ep:Xnnpack
issues related to XNNPACK EP
platform:mobile
issues related to ONNX Runtime mobile; typically submitted using template
Describe the issue
When cross-compiling for iOS simulator x86_64, using the
--use_xnnpack
setting causes build to fail. It looks like maybe the build configuration is trying to rely on missing _Float16 support.Build machine:
M1 MacBook pro, MacOS 15.0
Xcode:
16.0
Clang:
16.0.0 (clang-1600.0.26.3)
Cmake:
3.30.4
onnxruntime:
c24e55b1f140a2fc3d584738422313d436f122d6
Urgency
No response
Target platform
iOS x86_64 (simulator)
Build script
build-settings.json:
Error / output
It might be relevant that:
-D XNN_ENABLE_AVX512FP16\=1
.Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: