3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/rocm-runtime-ext/setup-hook.sh
Daniël de Kok 68fecda43a rocm-runtime-ext: init at 3.5.1
This package provides the closed-source extension for rocm-runtime
that is necessary for OpenCL image processing.
2020-07-16 14:56:33 +02:00

8 lines
180 B
Bash

addRocmRuntimeExtDir () {
if [[ -z "${ROCR_EXT_DIR-}" ]]; then
export ROCR_EXT_DIR="@out@/lib/rocm-runtime-ext"
fi
}
addEnvHooks "$hostOffset" addRocmRuntimeExtDir