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.050630
First Submitted: 2021-12-26 15:01 (UTC)
Last Updated: 2025-05-22 15:22 (UTC)

Required by (161)

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 .. 10 Next › Last »

luciddream commented on 2025-07-17 08:50 (UTC)

Thanks @vchuravy, I will add these to the conflicts list on the next release. I assume the next release will be either 6.5 or 7.0 - so let's wait and see what is coming.

vchuravy commented on 2025-07-17 08:36 (UTC)

Just wanted to chime in that currentl libxml2-legacy is indeed needed.

Before:

/opt/rocm/lib/llvm/bin/ld.lld /opt/rocm/lib/llvm/bin/ld.lld: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

I think I also needed to uninstall rocprofiler-debug and hipblas-common manually when switching.

Jagger commented on 2025-06-15 14:25 (UTC)

➜ ~ hipcc --version HIP version: 6.4.43483-a187df25c AMD clang version 19.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.4.1 25184 c87081df219c42dc27c5b6d86c0525bc7d01f727) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/rocm/lib/llvm/bin Configuration file: /opt/rocm/lib/llvm/bin/clang++.cfg

what happend? the hip version seems going to 6.4.4 and make my torch not work.by the way, my dev environment is all the 6.4.1

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.