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: unassignedb...@nondot.org
          Reporter: nbill...@google.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to