mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
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>
15 lines
412 B
Diff
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"
|