[llvm-bugs] [Bug 34335] New: check targets vs LLVM_RUNTIME_TARGETS

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 27 00:59:19 PDT 2017


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

            Bug ID: 34335
           Summary: check targets vs LLVM_RUNTIME_TARGETS
           Product: Build scripts
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: phosek at chromium.org
          Reporter: roland at hack.frob.com
                CC: llvm-bugs at lists.llvm.org

In the vanilla cmake+ninja build (with runtimes/* checkouts), I can do e.g.
`ninja check-asan` as well as roll-up targets like `ninja check-runtimes`.

In a build with `LLVM_RUNTIME_TARGETS=default,...` set, `ninja check-asan` says
"unknown target".  `ninja check-runtimes` is accepted and has the right
dependencies on building everything AFAICT.  But when it gets to actually
running the nested ninja to do the check step, that one gets "unknown target
'check-runtimes-x86_64-fuchsia'".  If I manually run e.g. `ninja -C
runtimes/runtimes-x86_64-unknown-linux-gnu-bins check-asan` it builds tests and
runs them.  But that gets failures that `ninja check-asan` in a vanilla build
doesn't get, so probably the tests were not built quite correctly.

-- 
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/20170827/cf67511c/attachment.html>


More information about the llvm-bugs mailing list