https://llvm.org/bugs/show_bug.cgi?id=27669

            Bug ID: 27669
           Summary: LLVM-Config.cmake still refers to jit instead of mcjit
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedb...@nondot.org
          Reporter: lost...@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

file llvm/cmake/modules/LLVM-Config.cmake contains following line

     list(APPEND link_components "jit")

But since jit was replaced with mcjit, that line should be replaced with this:

     list(APPEND link_components "mcjit")

Without that fix, following error is experienced when trying to use following
lines in CMakeLists.txt:

find_package(LLVM CONFIG REQUIRED)
llvm_map_components_to_libnames(any_var engine)

CMake Error at /usr/share/llvm-3.8/cmake/LLVM-Config.cmake:203 (message):
  Library `jit' not found in list of llvm libraries.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to