[Buildroot] [PATCH 2/9] package/darktable: new package
Bernd Kuhls
bernd.kuhls at t-online.de
Mon Jun 5 18:44:45 UTC 2017
Am Sun, 05 Mar 2017 18:44:33 +0200 schrieb Baruch Siach:
>> +# Darktable is only available for x86_64 or aarch64 little endian
system only.
>> +# Experimental support for i386 (not recommended).
>> +# Building without SSE2 on x86_64 is highly experimental.
>> +# See src/is_supported_platform.h
>> +config BR2_PACKAGE_DARKTABLE_ARCH_SUPPORTS
>> + bool
>> + default y if (BR2_x86_64 && BR2_X86_CPU_HAS_SSE &&
BR2_X86_CPU_HAS_SSE2) || \
>> + BR2_aarch64
>
> BR2_X86_CPU_HAS_SSE2=y implies BR2_X86_CPU_HAS_SSE=y. So this is
equivalent to
> (BR2_x86_64 && BR2_X86_CPU_HAS_SSE2) || BR2_aarch64.
Hi,
maybe even simplier?
default y if BR2_aarch64 || BR2_x86_64
All x86_64 CPUs have sse2 support, it started with the Pentium4.
Do we need the BR2_PACKAGE_DARKTABLE_ARCH_SUPPORTS option at all after
this simplification?
depends on !BR2_TOOLCHAIN_USES_MUSL
needs to be added as well since
https://git.buildroot.net/buildroot/commit/?
id=d887fde42540bb6079c66f72e1462bfcda402006
The patch also needs a rebase, it does not apply cleanly against
package/Config.in anymore.
Regards, Bernd
More information about the buildroot
mailing list