@@ -17,22 +17,24 @@ def main():
1717 CI_BUILD = os .environ .get ("CI_BUILD" , "False" )
1818 is_CI_build = True if CI_BUILD == "1" else False
1919 cmake_source_dir = "opencv"
20- minimum_supported_numpy = "1.13.1 "
20+ minimum_supported_numpy = "1.13.3 "
2121 build_contrib = get_build_env_var_by_name ("contrib" )
2222 build_headless = get_build_env_var_by_name ("headless" )
2323 build_java = "ON" if get_build_env_var_by_name ("java" ) else "OFF"
2424
2525 if sys .version_info [:2 ] >= (3 , 6 ):
2626 minimum_supported_numpy = "1.13.3"
27- if sys .version_info [:2 ] >= (3 , 6 ) and platform .machine () == "aarch64" :
28- minimum_supported_numpy = "1.19.0"
2927 if sys .version_info [:2 ] >= (3 , 7 ):
3028 minimum_supported_numpy = "1.14.5"
3129 if sys .version_info [:2 ] >= (3 , 8 ):
3230 minimum_supported_numpy = "1.17.3"
3331 if sys .version_info [:2 ] >= (3 , 9 ):
3432 minimum_supported_numpy = "1.19.3"
3533
34+ # arm64 is a special case
35+ if sys .version_info [:2 ] >= (3 , 6 ) and platform .machine () == "aarch64" :
36+ minimum_supported_numpy = "1.19.3"
37+
3638 numpy_version = "numpy>=%s" % minimum_supported_numpy
3739
3840 python_version = cmaker .CMaker .get_python_version ()
0 commit comments