Adds a setup hook that sets the OCL_ICD_VENDORS environment variable to point to a directory containing ICD (Installable Client Driver) files. These files define the available OpenCL backends, allowing other OpenCL applications to detect and use the appropriate drivers in sandbox environment.
7 lines
150 B
Bash
7 lines
150 B
Bash
preCheckHooks+=('setupPoclCheck')
|
|
preInstallCheckHooks+=('setupPoclCheck')
|
|
|
|
setupPoclCheck () {
|
|
export OCL_ICD_VENDORS="@out@/etc/OpenCL/vendors"
|
|
}
|