xf86-video-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
parent 099cfad9ce
commit 8927fecdc0

View File

@ -90,6 +90,10 @@ makeinstall_target() {
cp -P nvidia_layers.json ${INSTALL}/usr/share/vulkan/icd.d cp -P nvidia_layers.json ${INSTALL}/usr/share/vulkan/icd.d
fi fi
# nvidia-gpucomp
mkdir -p ${INSTALL}/usr/lib
cp -P libnvidia-gpucomp.so.${PKG_VERSION} ${INSTALL}/usr/lib
# nvidia-tls # nvidia-tls
mkdir -p ${INSTALL}/usr/lib mkdir -p ${INSTALL}/usr/lib
cp -P libnvidia-tls.so.${PKG_VERSION} ${INSTALL}/usr/lib cp -P libnvidia-tls.so.${PKG_VERSION} ${INSTALL}/usr/lib