15 lines
410 B
Plaintext
Executable File
15 lines
410 B
Plaintext
Executable File
#!/usr/bin/env modbuild
|
|
|
|
# install with
|
|
# bash ./cuda_12.8.1_570.124.06_linux.run --silent --toolkit --installpath=/opt/psi/Programming/cuda/12.8.1/ --no-opengl-libs --no-man-page
|
|
#
|
|
pbuild::post_install() {
|
|
cd "${PREFIX}/lib64/stubs"
|
|
for lib in lib*; do
|
|
local soname="$(patchelf --print-soname "${lib}" 2>/dev/null)" || continue
|
|
if [[ ! -e "${soname}" ]]; then
|
|
ln -s "${lib}" "${soname}"
|
|
fi
|
|
done
|
|
}
|