https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/pull/25 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/CMakeLists.txt b/CMakeLists.txt index 1794a07..c7b852a 100644 --- a/lib/comgr/CMakeLists.txt +++ b/lib/comgr/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,20 @@ 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 + BinaryFormat) endif() target_link_libraries(amd_comgr id=05f37c16a3b159e58ce7343383b44073bd6cac9f'>treecommitdiff
path: root/etc/release-manifest.scm
AgeCommit message (Expand)Author
2020-04-15Merge branch 'master' into core-updatesMarius Bakke
2020-04-14maint: Ensure substitutes are available for '%default-xorg-modules'....* etc/release-manifest.scm (%system-packages): Append %DEFAULT-XORG-MODULES. Ludovic Courtès
2020-04-14maint: Actually check for the availablility of system packages....* etc/release-manifest.scm (%system-manifest): New variable. <top level>: Add it in 'concatenate-manifests' call. Ludovic Courtès
2020-04-08maint: Adjust release manifest for Guile 3.0 switch....* etc/release-manifest.scm (%packages-to-cross-build): Refer to GUILE-3.0/FIXED instead of GUILE-2.2/FIXED. Marius Bakke
2020-04-08maint: Cross-build GUILE-2.2/FIXED....* etc/release-manifest.scm (%packages-to-cross-build): Replace "guile@2.2" with GUILE-2.2/FIXED. Ludovic Courtès
2020-04-07maint: Remove GCC from the packages to cross-build....* etc/release-manifest.scm (%packages-to-cross-build): Remove GCC. Ludovic Courtès
2020-04-04maint: Remove unsupported cross-compilation jobs from 'release-manifest.scm'....* etc/release-manifest.scm (%packages-to-cross-build-for-mingw): New variable. (%cross-manifest): Use it. Remove "riscv64-linux-gnu" from %CROSS-TARGETS. Ludovic Courtès
2020-03-13maint: Add 'etc/release-manifest.scm'....* etc/release-manifest.scm: New file. * gnu/ci.scm (%cross-targets): Export. * build-aux/check-available-binaries.scm: Remove. * Makefile.am (EXTRA_DIST): Add 'etc/release-manifest.scm' and remove 'build-aux/check-available-binaries.scm'. (assert-binaries-available): Rewrite using 'guix weather -m'. Ludovic Courtès