Files
gentoo/dev-libs/roct-thunk-interface/files/kfdtest-6.2.4-fix-llvm-header.patch
Sv. Lockal aae1dd0db6 dev-libs/roct-thunk-interface: add 6.3.0, drop 6.2.4
Also pin llvm version for 6.1.2, as it is not compatible with new LLVM.

Closes: https://bugs.gentoo.org/945508
Closes: https://bugs.gentoo.org/935628
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2025-01-05 21:46:26 +00:00

15 lines
412 B
Diff

Add header for llvm_shutdown.
Backports https://github.com/ROCm/ROCT-Thunk-Interface/commit/8bb5764ee1c4e3a8dc7588b597831389b4481345
--- a/tests/kfdtest/src/Assemble.cpp
+++ b/tests/kfdtest/src/Assemble.cpp
@@ -69,6 +69,9 @@
#else
#include <llvm/Support/TargetRegistry.h>
#endif
+#if LLVM_VERSION_MAJOR > 18
+#include "llvm/Support/ManagedStatic.h"
+#endif
#include <linux/elf.h>
#include "OSWrapper.hpp"