Debian Patches

Status for hipify/7.0.2+dfsg-1

Patch Description Author Forwarded Bugs Origin Last update
remove-redundant-target_link_libraries.patch remove redundant target_link_libraries
The redundant use of target_link_libraries in this case is a problem,
as some LLVM static libraries contain static initialization routines
that must only be run once. If they are run twice (e.g., because they
are linked twice), then they will fail and terminate the program. e.g.
static-func-full-module-prefix in llvm/lib/ProfileData/InstrProf.cpp
Cordell Bloor <cgmb@slerp.xyz> no 2025-09-10
use-system-clang-resource-directory.patch use system clang resource directory Cordell Bloor <cgmb@debian.org> no 2025-09-10
clang-21-compat.patch [PATCH] [HIPIFY][clang][compatibility][fix] clang `21.0.0git` compatibility fix

[Root Cause]
+ [LLVM][#139584](https://github.com/llvm/llvm-project/pull/139584)[clang] Remove intrusive reference count from `DiagnosticOptions`

[IMP]
+ `LLVM < 21` is also supported, but `LLVM 21` should be newer than [671cd5acb49f9fae274f66cd71464d4afed914e3](https://github.com/llvm/llvm-project/pull/139584/commits/671cd5acb49f9fae274f66cd71464d4afed914e3) (2025-05-20) to build `hipify-clang` correctly

[Note]
+ Unfortunately, the class `DiagnosticsEngine` has assignment operator and copy ctor both marked as `delete`, thus the compatibility patch can't be implemented as a separate function in the `llcompat` namespace
Evgeny Mankov <evgeny.mankov@gmail.com> not-needed 2025-05-29

All known versions for source package 'hipify'

Links