Package Details: opencl-amd-dev 1:6.4.1-1

Git Clone URL: https://aur.archlinux.org/opencl-amd-dev.git (read-only, click to copy)
Package Base: opencl-amd-dev
Description: OpenCL SDK / HIP SDK / ROCM Compiler. This package needs at least 20GB of disk space.
Upstream URL: http://www.amd.com
Licenses: custom:AMD
Conflicts: composablekernel-dev, hipblas, hipblas-common-dev, hipblas-dev, hipblaslt, hipblaslt-dev, hipcub, hipcub-dev, hipfft, hipfft-dev, hipfort, hipfort-dev, hipify-clang, hiprand, hiprand-dev, hipsolver, hipsolver-dev, hipsparse, hipsparse-dev, hipsparselt, hipsparselt-dev, hiptensor, hiptensor-dev, migraphx, migraphx-dev, miopen, miopen-hip, miopen-hip-dev, mivisionx, mivisionx-dev, openmp-extras-dev, rccl, rccl-dev, rocalution, rocalution-dev, rocblas, rocblas-dev, rocfft, rocfft-dev, rocm-developer-tools, rocm-hip-libraries, rocm-hip-runtime-dev, rocm-hip-sdk, rocm-llvm, rocm-ml-libraries, rocm-ml-sdk, rocm-opencl-sdk, rocprim, rocprim-dev, rocprofiler-compute, rocprofiler-sdk, rocprofiler-sdk-roctx, rocprofiler-systems, rocrand, rocrand-dev, rocsolver, rocsolver-dev, rocsparse, rocsparse-dev, rocthrust, rocthrust-dev, rocwmma-dev, rpp, rpp-dev
Provides: composablekernel-dev, half, hipblas, hipblas-common-dev, hipblas-dev, hipblaslt, hipblaslt-dev, hipcub, hipcub-dev, hipfft, hipfft-dev, hipfort, hipfort-dev, hipify-clang, hiprand, hiprand-dev, hipsolver, hipsolver-dev, hipsparse, hipsparse-dev, hipsparselt, hipsparselt-dev, hiptensor, hiptensor-dev, migraphx, migraphx-dev, miopen, miopen-hip, miopen-hip-dev, mivisionx, mivisionx-dev, openmp-extras-dev, rccl, rccl-dev, rocalution, rocalution-dev, rocblas, rocblas-dev, rocfft, rocfft-dev, rocm-developer-tools, rocm-hip-libraries, rocm-hip-runtime-dev, rocm-hip-sdk, rocm-llvm, rocm-ml-libraries, rocm-ml-sdk, rocm-opencl-sdk, rocprim, rocprim-dev, rocprofiler-compute, rocprofiler-sdk, rocprofiler-sdk-roctx, rocprofiler-systems, rocrand, rocrand-dev, rocsolver, rocsolver-dev, rocsparse, rocsparse-dev, rocthrust, rocthrust-dev, rocwmma-dev, rpp, rpp-dev
Submitter: luciddream
Maintainer: luciddream
Last Packager: luciddream
Votes: 9
Popularity: 0.116659
First Submitted: 2021-12-26 15:01 (UTC)
Last Updated: 2025-05-22 15:22 (UTC)

Required by (150)

Sources (56)

Pinned Comments

luciddream commented on 2022-01-12 16:47 (UTC) (edited on 2025-05-22 15:24 (UTC) by luciddream)

Latest release: 6.4.1. It uses 12.66GB of disk.

Issues with current release:

  • libxml2-legacy might be required by ROCm.
  • libamdpython.so is missing. Needs manual intervention for rocgdb to function.
  • ROCm needs OpenCV libraries. Possible solution is install opencv then create symbolic links to the Arch Linux libraries.

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

frankspace commented on 2025-05-24 15:01 (UTC)

Thanks, @luciddream. I'm really not trying to dictate here, it was just a "for the record..." comment so that a thing I did that seemed to work was written down and available somewhere, that's all. Again, thanks for your hard efforts maintaining these packages.

luciddream commented on 2025-05-24 07:35 (UTC)

Hey @frankspace,

You are correct about the first point. But that means I will have to checkrebuild -v after making opencl-amd and then again after opencl-amd-dev. I will try to add this to my process so it's more accurate.

For the other issues, I guess because it's just a patch release, there aren't any huge updates from 6.4.0 to 6.4.1. So we are still in the same spot as before. When AMD releases a new version with substantial changes I will check out these issues again. Hopefully they have already fixed them by that time so I don't have to add additional things to the package.

frankspace commented on 2025-05-24 03:14 (UTC)

Thanks for your efforts on this!

Just a note about the missing python dependency, though: from what I can glean, rocgdb is missing a dependency on amdpythonlib.so, but rocgdb is actually provided by opencl-amd rather than opencl-amd-dev, so wouldn't that issue make more sense over there?

That said, it seems pretty simple just to add python to the optdepends and add ln -s /usr/lib/libpython3.13.so ${pkgdir}/opt/rocm/lib/amdpythonlib.so to the build.

Otherwise, it appears that the lld provided in this package does still require libxml2-legacy.

luciddream commented on 2025-05-03 06:20 (UTC)

OK cool I will add it as a comment then for now, since the libxml2 thing happened after I made the release and it's probably hard to ran into. But that reminded me that I forgot to run checkrebuild -v after I made the last release. Which would have revealed that also opencv is a dependency for some things in ROCm now.

frankspace commented on 2025-05-03 00:18 (UTC)

Thanks, @luciddream. To be honest, nobody in their right mind will probably ever encounter this. I've been trying some experiments to hopefully squeeze a little bit more performance out of Blender, and one of those experiments was compiling it using the tools in opencl-amd-dev instead of the Arch/Artix packages. Which probably isn't actually helpful, but, nevertheless, that was the context in which I encountered the dependency issue. So that's a large part of why I thought I'd mention it juuuuuust in case anyone else was doing something equally silly but also that I doubt it really warrants a new release.

luciddream commented on 2025-05-02 16:00 (UTC)

hey @frankspace, can you give me an example that you ran into? I mean Arch Linux has its own lld binary so I want to understand when someone will need to run the AMD specific one.

luciddream commented on 2025-05-02 11:55 (UTC)

hey @frankspace, good catch, I will take a look at it today or in the weekend. I will probably have to make a new release.

frankspace commented on 2025-05-02 10:49 (UTC)

The lld included in the rocm-llvm subpackage has a hard dependency on libxml2.so.2. Because libxml 2.14 broke some backwards compatibility and changed the soname, the lld provided by this package therefore effectively depends on the new libxml2-legacy package.

Although I can totally understand not wanting to make a new release just for that, it might nevertheless be worth considering adding that as a dependency until AMD rebuilds this against the current libxml2. (I would report this upstream, but I'm honestly not sure where I can do that.)

luciddream commented on 2024-11-11 07:18 (UTC)

@SalmanFarooq they are just metapackages they don't actually include any useful files.

What is funny is that people on Ubuntu aren't able to install ROCm either for the same reason. https://github.com/ROCm/ROCm/issues/4022

SalmanFarooq commented on 2024-11-10 22:28 (UTC)

@luciddream Yeah it seems to be installing fine now but I wonder what that removed stuff was. Anyways, thanks a bunch for the quick fix!