OpenCL userspace driver as provided in the amdgpu-pro driver stack. This package is intended to work along with the free amdgpu stack.
Bash implementation using the opencl-amd AUR pkgbuild
to build a DEB package for opencl-amd
.
You need wget
and docker
(to run fpm).
Build the required FPM docker image with:
docker build -t fpm:1.11.0 .
Run the build script:
./opencl-amd-debian
The script performs the following steps:
- download the current upstream pkgbuild
- download and verify the sources
- build the package root with upstream instructions
- create a DEB package with fpm in Docker
The resulting DEB package is saved as ./build/opencl-amd_${pkgver}_amd64.deb
.