Open
Description
openedon Nov 14, 2024
Describe the issue
The GCC version is checked to be at least version 9 in the CMakeLists.txt
.
onnxruntime/cmake/CMakeLists.txt
Line 69 in c4fb724
When building on armv8 with GCC 9 the check further down fails
onnxruntime/cmake/CMakeLists.txt
Line 693 in c4fb724
It seems the feature modifier bf16
was introduced in GCC 10 see here.
If I'm not mistaken the minimum GCC version checked for should be rather be 10 instead of 9.
Urgency
No response
Target platform
armv8
Build script
Using build.py
with --parallel 4 --config Release --build_dir build --cmake_extra_defines FETCHCONTENT_TRY_FIND_PACKAGE_MODE=NEVER
Error / output
-- Performing Test HAS_ARM64_BFLOAT16 - Failed
CMake Error at CMakeLists.txt:695 (message):
The compiler doesn't support BFLOAT16!!!
Visual Studio Version
No response
GCC / Compiler Version
9.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment