[llvm-bugs] [Bug 42258] New: clang as external project does not build if build directory is a subdirectory of llvm

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 12 08:00:08 PDT 2019


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

            Bug ID: 42258
           Summary: clang as external project does not build if build
                    directory is a subdirectory of llvm
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: slandden at gmail.com
                CC: llvm-bugs at lists.llvm.org

If I put llvm https://github.com/llvm-mirror/llvm/
in ~/git/llvm

and clang https://github.com/llvm-mirror/clang/
in ~/git/clang

and build from ~/git/llvm-build it works (cmake ../llvm ...)

But if I try to build from ~/git/llvm/build (cmake .. ...)
llvm builds, but clang does not:

$ninja clang
ninja: error: unknown target 'clang', did you mean 'clean'?

-- 
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/20190612/08503d55/attachment-0001.html>


More information about the llvm-bugs mailing list