Add liballocator symlinks for 32-bit nv utils (#241)

This commit is contained in:
George Gibbs 2024-05-27 20:32:03 +02:00 committed by GitHub
parent dae9454b8c
commit 8acc5b784b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1979,6 +1979,7 @@ lib32-nvidia-utils-tkg() {
# Allocator library
if [[ -e libnvidia-allocator.so.${pkgver} ]]; then
install -D -m755 "libnvidia-allocator.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-allocator.so.${pkgver}"
mkdir -p "${pkgdir}/usr/lib32/gbm" && ln -sr "${pkgdir}/usr/lib32/libnvidia-allocator.so.${pkgver}" "${pkgdir}/usr/lib32/gbm/nvidia-drm_gbm.so"
fi
# GPU shader compilation helper