fkleon / opencl-amd-debian

Debian packaging for OpenCL from AMDGPU-PRO
MIT License
2 stars 3 forks source link

Not working with PKGBUILD for 21.40.x and newer due to multiple source files #7

Open fkleon opened 2 years ago

fkleon commented 2 years ago

The latest working PKGBUILD is 4c78d550190a6431aa3c14ea5dfe27328f8a257e (Updated to 21.30) from 2021-08-10 because newer versions contain multiple source files.

Building opencl-amd 21.40.2.1350682-3

buildroot: /home/frederik/dev/opencl-amd-debian/build
srcdir: /home/frederik/dev/opencl-amd-debian/build/src
pkgdir: /home/frederik/dev/opencl-amd-debian/build/pkg

ERROR: Invalid pkgbuild. Expected a single source file!
SolracNavi commented 7 months ago

Same problem here:

Building opencl-amd 6.0.0-1

buildroot: /media/carl/revolucion/Programas/Linux/Opencl/opencl-amd-debian-master/build
srcdir: /media/carl/revolucion/Programas/Linux/Opencl/opencl-amd-debian-master/build/src
pkgdir: /media/carl/revolucion/Programas/Linux/Opencl/opencl-amd-debian-master/build/pkg

ERROR: Invalid pkgbuild. Expected a single source file!
fkleon commented 7 months ago

@SolracNavi Thanks! FYI I'm not planning to fix this package as I've upgraded from Polaris to RDNA2 which supports OpenCL via ROCm. The Debian ROCm team is actively working on packaging the ROCm OpenCL implementation (see https://salsa.debian.org/rocm-team/rocm-opencl-runtime).