[FFmpeg-trac] #6017(build system:closed): --disable-everything keeps nvidia stuff enabled

FFmpeg trac at avcodec.org
Sat Mar 31 12:38:25 EEST 2018

#6017: --disable-everything keeps nvidia stuff enabled
             Reporter:  kierank      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  build
              Version:  git-master   |  system
             Keywords:               |               Resolution:  fixed
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0

Comment (by heleppkes):

 Replying to [comment:3 Gyan]:
 > The test for an external lib should be whether there's at least one
 enabled component making use of the lib, and if not, that lib shouldn't be
 linked e.g.,

 The NVIDIA functionality never links in any libraries either way, so
 complaining that configure shows it as present from auto-detection was
 always rather of an artificial complaint if anything.

 Additionally to the above, this was also facilitated because the
 CUDA/NVENC headers were being shipped with FFmpeg, but have since moved
 into their own repository, so if you don't actually make the headers
 available, it won't actually detect anything anymore.

Ticket URL: <https://trac.ffmpeg.org/ticket/6017#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list