[Build] v1.20.0 min GCC version can't build on armv8 #22837
Labels
build
build issues; typically submitted using template
contributions welcome
lower priority issues for the core ORT teams
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
Visual Studio Version
No response
GCC / Compiler Version
9.5.0
The text was updated successfully, but these errors were encountered: