nvidia: make nvidia-opencl depend directly on ocl-icd.
This only works because ocl-icd is found in the repositories and provides libOpenCL. If built without knowledge of the repositories, this would fail.
This commit is contained in:
parent
5a58660ecf
commit
6fbb5ddf37
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux"
|
|||
|
||||
pkgname=nvidia
|
||||
version=460.39
|
||||
revision=1
|
||||
revision=2
|
||||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||
license="custom:NVIDIA Proprietary"
|
||||
homepage="https://www.nvidia.com"
|
||||
|
@ -286,7 +286,7 @@ nvidia-dkms_package() {
|
|||
|
||||
nvidia-opencl_package() {
|
||||
short_desc="${_desc} - OpenCL implementation"
|
||||
depends="libOpenCL"
|
||||
depends="ocl-icd"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libnvidia-compiler*"
|
||||
vmove "usr/lib/libnvidia-opencl*"
|
||||
|
|
Loading…
Reference in a new issue