[FFmpeg-devel] [PATCH 1/3] configure: add cuda-sdk for things requiring full CUDA sdk

Timo Rothenpieler timo at rothenpieler.org
Fri May 12 21:31:26 EEST 2017


Am 12.05.2017 um 15:34 schrieb James Almer:
> On 5/12/2017 5:21 AM, Timo Rothenpieler wrote:
>> Am 12.05.2017 um 07:32 schrieb Yogender Gupta:
>>>>> +    cuda_sdk
>>>>>      libnpp
>>>
>>> IMO, Libnpp is part of the CUDA SDK, and we can remove all the libnpp related changes and just replace it by cuda-sdk in the configure/make files.
>>
>> True, but I'm not sure if an existing config parameter can be that
>> easily removed without breaking a bunch of existing build scripts.
> 
> You can keep the option marked as deprecated for a while, while removing
> all the relevant internals and making it an alias for cuda_sdk.

Thinking about it, I'd rather keep libnpp separate, as --enable-cuda-sdk 
still results in an ffmpeg binary that only depends on stuff the 
nvidia-driver ships with, while for a build with libnpp it depends on 
some libs that only come with the CUDA SDK.


More information about the ffmpeg-devel mailing list