Debian Patches

Status for rocm-hipamd/6.4.3-3

Patch Description Author Forwarded Bugs Origin Last update
0013-fix-FindHIP-search-for-HIP_CLANG_PATH.patch fix FindHIP search for HIP_CLANG_PATH Cordell Bloor <cgmb@slerp.xyz> no 2025-04-17
0001-dotdots.patch adjust dotdots directories around _IMPORT_PREFIX

Note the patch has been partially applied around ROCm 5.2, so there could be a
consistency issue if the below code were to not be necessary anymore.
Cordell Bloor <cgmb-deb@slerp.xyz> yes 2024-02-27
0002-replace-x86_64-with-variables.patch replace x86_64 with variables
The changes to hipcc.pl and hip_embed_pch won't allow cross-compiling,
but they will enable the build to proceed on other architectures.
Cordell Bloor <cgmb@slerp.xyz> yes upstream 2023-02-14
0004-make-hipcc-and-hipconfig-optional.patch make hipcc and hipconfig optional
The set_and_check macro is essentially just

set(var "${file}")
if(NOT EXISTS "${file}")
message(FATAL_ERROR ...)
endif()

so it can be made optional by first doing the exists check and only
doing the set if the file does exist.
Cordell Bloor <cgmb@slerp.xyz> no debian 2023-05-22
0007-restrict-hiprtc-cmake-search-to-clang-21.patch restrict hiprtc cmake search to clang-21
Restrict the LLVM find_package search to clang-21 and ensure that the
search for clang prefers the same package found for LLVM. This is not
a problem for the upstream project, as it only ships one version of
clang.
Cordell Bloor <cgmb@slerp.xyz> not-needed 2023-06-27
0008-find-package-minimum-policy.patch suppress find package minimum policy warning Cordell Bloor <cgmb@slerp.xyz> no 2024-03-02
0009-default-to-hip-platform-amd.patch default to hip platform amd
The hipconfig executable is part of the hipcc package, so it is not
always available when building libraries that depend on HIP.

The -DHIP_PLATFORM=amd option could be specified explicitly during
configuration, so this default value is not strictly necessary.
However, HIP 5.2 defaulted to the amd platform and it would be annoying
to cause any libraries to FTBFS just due to the update to HIP 5.7.

We should reevaluate whether we want to keep this patch when updating to
ROCm 6. That said, it seems like a useful default to me.
Cordell Bloor <cgmb@slerp.xyz> no 2024-03-19
0010-optional-device-libs-find-package.patch optional device libs for hip find package
When users do find_package(hip REQUIRED), the REQUIRED argument gets
forwarded to find_dependency. However, the device libraries are not
required for many libraries that are using HIP (e.g., C or C++
applications that only use the HIP host interfaces).
Cordell Bloor <cgmb@slerp.xyz> no 2024-03-22
0011-deduplicate-cmake-messages.patch deduplicate hip cmake config messages
It's questionable whether this even needs to be printed once,
let alone multiple times.
Cordell Bloor <cgmb@slerp.xyz> no 2024-03-22
0012-do-not-install-hipcc.patch hipcc is now shipped by the rocm-llvm src package,so we should not install these files here. Xuanteng Huang <xuanteng.huang@outlook.com> not-needed 2024-11-24
0014-fix-roc-obj-help.patch fix roc-obj help
Defining the appropriate Getopt::Std variables and functions prevents
the --help command from printing this sort of weird output:

/usr/bin/roc-obj-ls version [unknown] calling Getopt::Std::getopts (version 1.14 [paranoid]),
running under Perl version 5.40.1.
<...>
[Now continuing due to backward compatibility and excessive paranoia.
See 'perldoc Getopt::Std' about $Getopt::Std::STANDARD_HELP_VERSION.]
Cordell Bloor <cgmb@slerp.xyz> no debian 2025-04-18
0016-roc-obj-use-llvm-21.patch roc-obj use llvm-21
Use the same LLVM version as the rest of the ROCm stack, so we don't
need to install multiple versions of LLVM just for roc-obj.
Cordell Bloor <cgmb@slerp.xyz> not-needed 2025-06-20
0017-optional-hipconfig-in-build-depends.patch optional hipconfig in build-depends
This patch is needed to break the cycle between src:rocm-llvm and
src:rocm-hipamd.
Cordell Bloor <cgmb@debian.org> no 2025-07-20
0018-skip-opencl-tools.patch skip opencl tools
Skip build of OpenCL tools. These are not building successfully
and aren't packaged anyway.
Cordell Bloor <cgmb@debian.org> not-needed 2025-09-04
0019-fix-amdocl-library-version.patch fix amdocl library version
This patch is necessary to fix the version symlinks for libamdocl64.so
Cordell Bloor <cgmb@debian.org> no 2025-09-05
0020-spelling.patch spelling Cordell Bloor <cgmb@debian.org> no 2025-09-05
0017-fix-memory-barriers-for-arm64-and-ppc64.patch fix memory barriers for arm64 and ppc64 Cordell Bloor <cgmb@debian.org> no 2025-10-25
0021-fix-size-mismatch-of-count-type.patch [PATCH] SWDEV-505971 - Fix size mismatch of count type to uint32_t Sourabh Betigeri <sourabh.betigeri@amd.com> not-needed 2025-01-06

All known versions for source package 'rocm-hipamd'

Links