[FFmpeg-devel] [PATCH v2 3/4] configure: fix check for opencl

mypopy at gmail.com mypopy at gmail.com
Mon Jun 4 04:47:20 EEST 2018


2018-06-03 11:04 GMT+08:00 James Almer <jamrial at gmail.com>:
> On 6/2/2018 11:58 PM, Jun Zhao wrote:
>> add pkg-config support for opencl check.
>>
>> Signed-off-by: Jun Zhao <mypopydev at gmail.com>
>> ---
>>  configure | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/configure b/configure
>> index 22eeca2..69b8827 100755
>> --- a/configure
>> +++ b/configure
>> @@ -6130,6 +6130,7 @@ enabled openal            && { { for al_extralibs in "${OPENAL_LIBS}" "-lopenal"
>>                                 die "ERROR: openal must be installed and version must be 1.1 or compatible"; }
>>  enabled opencl            && { check_lib opencl OpenCL/cl.h clEnqueueNDRangeKernel -Wl,-framework,OpenCL ||
>>                                 check_lib opencl CL/cl.h clEnqueueNDRangeKernel -lOpenCL ||
>> +                               check_pkg_config opencl OpenCL CL/cl.h clEnqueueNDRangeKernel -lOpenCL ||
>
> Seeing this is exactly the same as last time and judging by your comment
> in 0/4, I assume you sent the wrong patch.
Yes, have updated the fix in the V3 patchsets
>
>>                                 die "ERROR: opencl not found"; } &&
>>                               { test_cpp_condition "OpenCL/cl.h" "defined(CL_VERSION_1_2)" ||
>>                                 test_cpp_condition "CL/cl.h" "defined(CL_VERSION_1_2)" ||
>>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



-- 
=======================================
Jun zhao/赵军
+++++++++++++++++++++++++++++++++++++++


More information about the ffmpeg-devel mailing list