From: Peter Korsgaard Date: Mon, 03 Feb 2020 17:02:26 +0100 Subject: [Buildroot] [PATCH 1/1] package/imagemagick: disable opencl In-Reply-To: <20190924114722.2578c41b@windsurf> (Thomas Petazzoni's message of "Tue, 24 Sep 2019 11:47:22 +0200") References: <20190823191417.8748-1-juju@cotds.org> <20190924114722.2578c41b@windsurf> Message-ID: <874kw73bhp.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Thomas" == Thomas Petazzoni writes: > On Fri, 23 Aug 2019 21:14:17 +0200 > Julien Olivain 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 > 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