nvidia: include new shared library libnvidia-gpucomp.so

New driver component: libnvidia-gpucomp

Future NVIDIA graphics drivers for FreeBSD, Linux, Solaris, and VMware
ESX will include a new library called libnvidia-gpucomp.so.<VERSION>. The
<VERSION> token in the library’s SONAME and filename represents the
driver version on Linux, and “1” on other platforms. The following
existing libraries will depend upon the new libnvidia-gpucomp library:

libnvidia-eglcore.so.<VERSION>
libnvidia-glcore.so.<VERSION>
libnvidia-rtcore.so.<VERSION>

Initially, this dependency will be expressed via DT_NEEDED; however, at
some point in the future the libraries which depend upon libnvidia-gpucomp
may be updated to dlopen(3) it instead. Any projects which use explicit
lists of NVIDIA driver libraries, for example, for creating installation
packages or GPU-enabled containers, should be updated to include the
new library.

https://forums.developer.nvidia.com/t/new-driver-component-libnvidia-gpucomp/267060
This commit is contained in:
Rudi Heitbaum 2023-11-04 11:26:27 +00:00 committed by Demetris Ierokipides
parent 840e3ffb54
commit d81cbcc08e

View File

@ -113,6 +113,10 @@ makeinstall_target() {
ln -sf libnvcuvid.so.${PKG_VERSION} ${INSTALL}/usr/lib/libnvcuvid.so.1
ln -sf libnvcuvid.so.1 ${INSTALL}/usr/lib/libnvcuvid.so
# nvidia-gpucomp
mkdir -p ${INSTALL}/usr/lib
cp -P libnvidia-gpucomp.so.${PKG_VERSION} ${INSTALL}/usr/lib
# nvidia-tls
mkdir -p ${INSTALL}/usr/lib
cp -P libnvidia-tls.so.${PKG_VERSION} ${INSTALL}/usr/lib