[llvm-bugs] [Bug 44888] New: "Clang - Getting Started" page says to use makefiles

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 12 11:18:08 PST 2020


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

            Bug ID: 44888
           Summary: "Clang - Getting Started" page says to use makefiles
           Product: Documentation
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: General docs
          Assignee: unassignedbugs at nondot.org
          Reporter: nbilling at google.com
                CC: llvm-bugs at lists.llvm.org

The instructions for building clang (on Linux) at
https://clang.llvm.org/get_started.html say to configure cmake with "cmake
-DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm" and then to build
with "make".

This method of building is extremely slow compared with building with ninja. I
tried to follow these instructions naively and the build was so slow that,
after waiting about an hour it still self-reported about 12% progress. After
running "cmake -DLLVM_ENABLE_PROJECTS=clang -G Ninja ../llvm", and then
building with ninja, the entire build took at most 15 minutes.

Is it possible to at least describe both configurations so that readers don't
have to find and fix the issues with make on their own?

-- 
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/20200212/55a9a6a9/attachment-0001.html>


More information about the llvm-bugs mailing list