[Buildroot] [PATCH 1/1] package/imagemagick: disable opencl
Peter Korsgaard
peter at korsgaard.com
Mon Feb 3 16:02:26 UTC 2020
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:
> On Fri, 23 Aug 2019 21:14:17 +0200
> Julien Olivain <juju at cotds.org> wrote:
>> Some packages installs libOpenCL without declaring
>> BR2_PACKAGE_PROVIDES_LIBOPENCL (e.g. imx-gpu-viv). ImageMagick will
>> detect the library and will require libtool. Since libtool is not in
>> dependencies, build might fail.
>>
>> To prevent that situation, this patch explicitly disable opencl
>> support.
>>
>> Signed-off-by: Julien Olivain <juju at cotds.org>
> FYI, I've started looking into this. First, there is an upstream commit
> that fixes using disable_opencl instead of enable_opencl. Then I fixed
> up the configure.ac to use the "no_cl" variable that the OpenCL M4
> macro defines. But then even with --disable-opencl, the build fails
> because MAGICKCORE__OPENCL is defined. I'm still trying to figure out
> why.
I don't see that issue any more (In fact, the only references to that
symbol seems to be in Magick{Core,Wand}/studio.h), and the
IMAGEMAGICK_CONV_ENV tweak isn't needed any more, so I dropped that and
committed - Thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list