Skip to content

Commit

Permalink
OpenCL/nvidia-mxlinks: Prepare clean install
Browse files Browse the repository at this point in the history
Installing libOpenCL.so.1 will clash with links inhere.
 - remove libOpenCL.so.1
 - remove duplicate libnvidia-opencl.so.1 (?)
 - remove remaining unreferenced links

Note: libnvidia-wfb.so.1 and libOpenCL.so.1 _are_ part
of the nvidia-390.87 driver, but no workstation uses this
driver anymore, so drop this cruft.

The tool for checking is named check-nvidia-mxlinks.sh, and can be found
in /project/admin/tools
  • Loading branch information
thomas committed Aug 16, 2021
1 parent 3e383e2 commit f8c6a09
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions nvidia-mxlinks.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/env beesh

# BEE_VERSION nvidia-mxlinks-0.12-0
# BEE_VERSION nvidia-mxlinks-0.12-1

EXCLUDE=("^/usr/lib/(X11|xorg)(|/modules(|/drivers))$")

Expand All @@ -9,19 +9,13 @@ mee_install() {

NVLIBS=(
"libnvidia-ml.so.1"
"libnvidia-wfb.so.1"
"libnvidia-cfg.so.1"
"libnvidia-opencl.so.1"
"libnvidia-encode.so.1"
"libnvidia-ptxjitcompiler.so.1"
"libvdpau_nvidia.so.1"
"libvdpau_trace.so.1"
"libnvcuvid.so.1"
"libcuda.so.1"
"libOpenCL.so.1"
"libGLcore.1"
"libnvidia-tls.so.1"
"libXvMCNVIDIA_dynamic.so.1"
"libEGL_nvidia.so.0"
"libGLESv1_CM_nvidia.so.1"
"libGLESv2_nvidia.so.2"
Expand All @@ -31,7 +25,6 @@ mee_install() {
"libnvidia-ifr.so.1"
"libnvidia-opticalflow.so.1"
"libnvoptix.so.1"
"libnvidia-opencl.so.1"
)

for i in ${NVLIBS[@]} ; do
Expand Down

0 comments on commit f8c6a09

Please sign in to comment.