See https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/pull/25 for original patch. From c65cba2e73f9118e128b9ab7e655ee0f8a7798e7 Mon Sep 17 00:00:00 2001 From: Craig Andrews 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/lib/comgr/CMakeLists.txt b/lib/comgr/CMakeLists.txt index fd3ae4a..131e581 100644 --- a/lib/comgr/CMakeLists.txt +++ b/lib/comgr/CMakeLists.txt @@ -322,7 +322,11 @@ install(FILES if(TARGET clangFrontendTool) set(CLANG_LIBS - clangFrontendTool) + clangFrontendTool + clangFrontend + clangBasic + clangDriver + clangSerialization) else() set(CLANG_LIBS clang-cpp) @@ -337,8 +341,23 @@ if (LLVM_LINK_LLVM_DYLIB) else() llvm_map_components_to_libnames(LLVM_LIBS ${LLVM_TARGETS_TO_BUILD} + Option DebugInfoDWARF - Symbolize) + Symbolize + Support + Object + TargetParser + Bitreader + BitWriter + MC + MCParser + MCDisassembler + Core + IRReader + CodeGen + Linker + Demangle + BinaryFormat) endif() target_link_options(amd_comgr '>commitdiff
path: root/tests/guix-gc.sh
AgeCommit message (Expand)Author
2023-04-21tests: Fix checks for expected failures....Addresses <https://issues.guix.gnu.org/62406>. With 'set -e', a return status inverted with '!' does not cause the shell to exit immediately. Instead use '&& false' to indicate an expected failure. * tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment-container.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh, tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with '... && false' or `test ! ...` as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Eric Bavier