diff options
author | Fco Javier Felix <ffelix@inode64.com> | 2022-02-11 17:55:27 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-02-11 18:12:44 +0200 |
commit | 592a9d11f1b9e3e5e301a71310cc37b5aa294d7e (patch) | |
tree | a56847c84e7607ea018fe3c5760270a467d67bce /dev-libs/rocm-comgr/files | |
parent | dev-lang/go: 1.17.7 bump (diff) | |
download | gentoo-592a9d11f1b9e3e5e301a71310cc37b5aa294d7e.tar.gz gentoo-592a9d11f1b9e3e5e301a71310cc37b5aa294d7e.tar.bz2 gentoo-592a9d11f1b9e3e5e301a71310cc37b5aa294d7e.zip |
dev-libs/rocm-comgr: bump to 4.5.2
Package-Manager: Portage-3.0.28-r1, Repoman-3.0.3-r1
Signed-off-by: Fco. Javier Felix <ffelix@inode64.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/rocm-comgr/files')
-rw-r--r-- | dev-libs/rocm-comgr/files/rocm-comgr-4.5.2-dependencies.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/rocm-comgr/files/rocm-comgr-4.5.2-dependencies.patch b/dev-libs/rocm-comgr/files/rocm-comgr-4.5.2-dependencies.patch new file mode 100644 index 000000000000..13cff2e52dfe --- /dev/null +++ b/dev-libs/rocm-comgr/files/rocm-comgr-4.5.2-dependencies.patch @@ -0,0 +1,53 @@ +https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/pull/25 + +From c65cba2e73f9118e128b9ab7e655ee0f8a7798e7 Mon Sep 17 00:00:00 2001 +From: Craig Andrews <candrews@integralblue.com> +Date: Sun, 1 Mar 2020 19:24:22 -0500 +Subject: [PATCH] Link additional required LLVM libraries + +Without these additional required dependencies, linking fails with errors such as: +`undefined reference to llvm::errs()'` +--- + CMakeLists.txt | 20 ++++++++++++++++++-- + 1 file changed, 18 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1794a07..c7b852a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -207,7 +207,11 @@ install(FILES + DESTINATION "${AMD_COMGR_PACKAGE_PREFIX}") + + set(CLANG_LIBS +- clangFrontendTool) ++ clangFrontendTool ++ clangFrontend ++ clangBasic ++ clangDriver ++ clangSerialization) + + set(LLD_LIBS + lldELF +@@ -218,8 +222,21 @@ if (LLVM_LINK_LLVM_DYLIB) + else() + llvm_map_components_to_libnames(LLVM_LIBS + ${LLVM_TARGETS_TO_BUILD} ++ Option + DebugInfoDWARF +- Symbolize) ++ Symbolize ++ Support ++ Object ++ BitWriter ++ MC ++ MCParser ++ MCDisassembler ++ Core ++ IRReader ++ CodeGen ++ Linker ++ Demangle ++ BinaryFormat) + endif() + + target_link_libraries(amd_comgr |