rocm-hipamd (6.4.3-3) unstable; urgency=medium

  * Add d/p/0021-fix-size-mismatch-of-count-type.patch to fix
    out-of-bounds write causing FTBFS when both LTO and hardening
    flags are enabled
  * Explicitly disable LTO as a temporary workaround for further
    errors causing FTBFS on downstream distributions

 -- Cordell Bloor <cgmb@debian.org>  Sun, 26 Oct 2025 00:27:04 -0600

rocm-hipamd (6.4.3-2) unstable; urgency=medium

  * Add d/p/0017-fix-memory-barriers-for-arm64-and-ppc64.patch to fix
    FTBFS on arm64 and ppc64el

 -- Cordell Bloor <cgmb@debian.org>  Sat, 25 Oct 2025 16:07:38 -0600

rocm-hipamd (6.4.3-1) unstable; urgency=medium

  * Upload to unstable

 -- Cordell Bloor <cgmb@debian.org>  Wed, 22 Oct 2025 22:31:25 -0600

rocm-hipamd (6.4.3-1~exp2) experimental; urgency=medium

  * Update d/gbp.conf to follow DEP-14
  * Update from LLVM 20 to LLVM 21
  * Remove GPU code object fallback loading behaviour from libamdhip64-6
    to align Debian with the upstream behaviour. This was achieved by
    dropping d/p/0005-improve-rocclr-isa-compatibility-check.patch
    and d/p/0006-extend-hip-isa-compatibility-check.patch. These
    patches were no longer fully functional as much of the code
    object loading functionality had been moved into libamd-comgr3
    in the upstream codebase. Users are encouraged to instead make use
    of LLVM generic target ids, such as gfx9-generic, gfx10-1-generic,
    and gfx10-3-generic to support multiple GPU architectures with a
    single build target.

 -- Cordell Bloor <cgmb@debian.org>  Tue, 14 Oct 2025 13:29:03 -0600

rocm-hipamd (6.4.3-1~exp1) experimental; urgency=medium

  * New upstream version 6.4.3
    * Refresh patches
    * Update symbols for libamdhip64-6
    * Update Depends and Build-Depends minimum versions
    * Drop d/p/0003-fix-hip-config-for-c-projects.patch as it
      was applied upstream.
    * Drop d/p/0015-self-sufficient-bf16-header.patch as a similar
      patch was applied upstream.
    * Add d/p/0018-skip-opencl-tools.patch to work around failing
      build of unpacked OpenCL tools.
    * Add d/p/0019-fix-amdocl-library-version.patch to fix version
      symlinks for libamdocl64.so.
    * Update build rules d/rules: disable use of rocprofiler-register
  * Update from LLVM 17 to LLVM 20 (Closes: #1084074)
  * Drop hipcc from Build-Depends to break the dependency cycle
    between src:rocm-hipamd and src:rocm-llvm.
  * Drop rocminfo and <!nocheck> annotations from Build-Depends
  * Update my email address in package metadata
  * Remove inactive maintainers from package uploaders
  * d/control: add ${perl:depends} to hip-utils dependencies
  * Add lintian overrides for rocm-opencl-icd package name
  * Drop ldconfig trigger for rocm-opencl-icd
  * Add d/p/0020-spelling.patch to fix minor spelling errors in
    library headers.

  [ Kentaro Hayashi ]
  * Use d/watch 5

 -- Cordell Bloor <cgmb@debian.org>  Fri, 05 Sep 2025 15:07:33 -0600

rocm-hipamd (6.1.5-1~exp2) experimental; urgency=medium

  * Update package descriptions
  * Add hip-utils package containing scripts that had previously
    been in the hipcc binary package but remained part of
    src:rocm-hipamd even after hipcc was moved to src:rocm-llvm
  * Patch roc-obj to use the same version of LLVM as hipcc
  * Update standards version to 4.7.2. No changes required.
  * Mark libhiprtc6 as Multi-Arch: same
  * Move libhiprtc6 development files to libamdhip64-dev
  * Add symbol tracking for libhiprtc6
  * d/control: remove unused librocm-smi-dev from Build-Depends
  * Remove libamdhip64-doc package. The libamdhip64-doc package no
    longer includes much useful information and it would require
    significant effort to fix that (Closes: #1099403)

  [ Christian Bayle ]
  * Add myself to uploaders and d/copyright
  * Update symbols files to 6.1.5

  [ Xuanteng Huang ]
  * New upstream version 6.1.5
  * Update dependencies for new upstream version
  * Refresh patches for upstream source changes
  * Remove hipcc binary package. The hipcc package is now provided by
    src:rocm-llvm
  * Bump libamdhip64 and libhiprtc-buildins soversion from 5 to 6
  * Change rocm-opencl-icd relationship with other OpenCL packages from
    Breaks to Conflicts
  * Remove HIP compiler autopkgtests as they are now included in rocm-llvm
  * Add myself to uploaders
  * Add a new binary package libhiprtc6 to provide libhiprtc.so.6 for CMake
    target hiprtc::hiprtc

 -- Cordell Bloor <cgmb@slerp.xyz>  Sat, 21 Jun 2025 00:46:21 -0600

rocm-hipamd (5.7.1-7) unstable; urgency=medium

  * Add d/p/0041-inline-bf16-functions.patch to mark functions defined
    in amd_hip_bf16.h as inline. This change prevents multiple
    definition errors during linking for programs that include
    <hip/hip_bf16.h> in more than one translation unit (Closes: #1116585)
  * Fix hipcc manpage title (Closes: #1107681)
  * Fix spelling error in roc-obj-ls manpage

 -- Cordell Bloor <cgmb@slerp.xyz>  Sat, 04 Oct 2025 02:33:54 -0600

rocm-hipamd (5.7.1-6) unstable; urgency=medium

  * Revert "tests: allow deprecation warnings via allow-stderr restriction"
  * d/p/0031-find-package-minimum-policy.patch: raise max policy version
    in CMake config files to 3.31 to prevent deprecation warnings
    from find_package(hip) or enable_language(hip)
  * Remove the broken hiprtc::hiprtc imported target (Closes: #1088540)
  * d/control: libamdhip64-dev now suggests hipcc, which is required for
    HIP language support (Closes: #1094763)
  * Add d/p/0038-fix-FindHIP-search-for-HIP_CLANG_PATH.patch to prevent
    FindHIP.cmake from choosing an incorrect HIP_CLANG_PATH when ROCM_PATH
    or HIP_PATH are set (Closes: #1099404)
  * Add d/p/0039-fix-roc-obj-help.patch to fix garbage output in
    roc-obj-ls --help and roc-obj-extract --help (Closes: #1103558)
  * Add d/p/0040-self-sufficient-bf16-header.patch to fix undeclared
    identifier '__ockl_sdot2' errors in translation units that include
    hip_bf16.h before other headers (Closes: #1099402)
  * Add manpages for hipcc, hipconfig, roc-obj, roc-obj-ls, and roc-obj-extract
    (Closes: #1103689)

  [ Helmut Grohne ]
  * Mark libamdhip64-5, libhiprtc-builtins5, and rocm-opencl-icd
    Multi-Arch: same (Closes: #1086329)

 -- Cordell Bloor <cgmb@slerp.xyz>  Tue, 13 May 2025 05:50:23 -0600

rocm-hipamd (5.7.1-5.1) unstable; urgency=medium

  * Non-maintainer upload
  * tests: allow deprecation warnings via allow-stderr restriction
    (Closes: #1087869)

 -- Paul Gevers <elbrus@debian.org>  Sat, 12 Apr 2025 12:51:52 +0200

rocm-hipamd (5.7.1-5) unstable; urgency=medium

  * Source only upload for migration to testing.
  * Update Standards-Version to 4.7.0. No changes required.
  * Add d/rocm-opencl-icd.install to fix FTBFS in some configurations.
  * Add d/rocm-opencl-icd.triggers to fix lacks-ldconfig-trigger
    (Closes: #1082715)

 -- Cordell Bloor <cgmb@slerp.xyz>  Tue, 24 Sep 2024 16:15:52 -0600

# For older changelog entries, run 'apt-get changelog libhiprtc-builtins6'
