From: Peter Michael Green Date: Sat, 27 Aug 2022 09:54:36 +0000 (+0100) Subject: Disable neon support X-Git-Tag: archive/raspbian/1%0.1.96-1+rpi1~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1c0ca16d22b9099d19ebaf9135fa865754b2cd1f;p=babl.git Disable neon support it seems to assume armv8 neon which not all systems have. Gbp-Pq: Name disable-neon.patch --- diff --git a/babl/base/meson.build b/babl/base/meson.build index e59609c..dc04b3c 100644 --- a/babl/base/meson.build +++ b/babl/base/meson.build @@ -44,13 +44,13 @@ if host_cpu_family == 'x86_64' endif -if host_cpu_family == 'arm' - - babl_base_arm_neon = static_library('babl_base-arm-neon', - babl_base_sources, - include_directories: [rootInclude, bablInclude], - dependencies: [math, lcms], - c_args: common_c_flags + arm_neon_flags - ) - -endif +#if host_cpu_family == 'arm' +# +# babl_base_arm_neon = static_library('babl_base-arm-neon', +# babl_base_sources, +# include_directories: [rootInclude, bablInclude], +# dependencies: [math, lcms], +# c_args: common_c_flags + arm_neon_flags +# ) +# +#endif diff --git a/babl/meson.build b/babl/meson.build index d432dca..31bbaf9 100644 --- a/babl/meson.build +++ b/babl/meson.build @@ -123,7 +123,7 @@ babl_includes = [rootInclude, bablBaseInclude] if host_cpu_family == 'x86_64' simd_extra = [babl_base_x86_64_v2, babl_base_x86_64_v3] elif host_cpu_family == 'arm' - simd_extra = [babl_base_arm_neon] + simd_extra = [] else simd_extra = [] endif diff --git a/meson.build b/meson.build index 2623e93..fd9b3ad 100644 --- a/meson.build +++ b/meson.build @@ -94,8 +94,8 @@ elif host_cpu_family == 'ppc64' conf.set10('ARCH_PPC', true) conf.set10('ARCH_PPC64', true) elif host_cpu_family == 'arm' - have_arm = true - conf.set10('ARCH_ARM', true) + #have_arm = true + #conf.set10('ARCH_ARM', true) elif host_cpu_family == 'aarch64' have_aarch64 = true conf.set10('ARCH_AARCH64', true)