mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
24ea9364ea9c83c441658f8d508dac51450fcc5a
Hadn't noticed that cuda had .pc files (they are in /opt/cuda/pkgconfig with PKG_CONFIG_PATH set in env.d), and this saves us from having to figure out paths. Also move to multilib_src_configure, while it only returns safe paths "currently" would still rather not pass a 64bit -L for 32bit esp. if it comes from pkgconf given it could unexpectedly change. ffmpeg checks for several more libraries than just "nppc" but I see little reason to maintain the full list in the ebuild, ffmpeg handles the -l arguments itself and checks for two different sets which would complicate things. Will revisit if a new cuda version ever starts needing per-npp-library -L/-I for some reason. Unsure if there is a reason why ffmpeg itself does not use .pc files, would need to check what other distros and nvidia's own installer do -- but given our cuda ebuild seem to have special handling for .pc it's possible that they're missing for some/many or even all. Ideal would be for ffmpeg to try these first and (if really needed) then fallback to check_lib, but not going to look into upstreaming such fix myself. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
…
…
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
97.9%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%