[llvm-bugs] [Bug 49990] New: LLVM 12 build fails on missing CompletionModelCodegen.py

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 16 05:07:05 PDT 2021


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

            Bug ID: 49990
           Summary: LLVM 12 build fails on missing
                    CompletionModelCodegen.py
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: atler at pld-linux.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Building LLVM with subcomponents extracted in one common directory fails with:


  make[2]: *** No rule to make target
'/mnt/data-fast/jan/rpm/BUILD/clang-tools-extra/clangd/quality/CompletionModelCodegen.py',
needed by 'tools/clang/tools/extra/clangd/CompletionModel.h'.  Stop.
  make[2]: Leaving directory
'/mnt/data-fast/jan/rpm/BUILD/llvm-12.0.0.src/build'


Notice that it tries to find CompletionModelCodegen.py in some odd location
compared to real source location. This seems to be caused by
quality/CompletionModel.cmake with path being fixed to match some specific
build environment:

  set(model_compiler
${CMAKE_SOURCE_DIR}/../clang-tools-extra/clangd/quality/CompletionModelCodegen.py)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210416/5f8dff7a/attachment.html>


More information about the llvm-bugs mailing list