[llvm-dev] Configuring LLVM v6.0 RC2 on Windows

Dimitry Andric via llvm-dev
Sun, 18 Feb 2018 01:48:40 -0000

Maybe it's caused by the space after the X86 argument?  Can you try removing
all the -D flags, and see if that works?  Then add them one by one to see which
is the culprit?

-Dimitry

> On 17 Feb 2018, at 23:11, Martin J. O'Riordan via llvm-dev <llvm-dev
at lists.llvm.org> wrote:
>
> Hi LLVM-Devs,
>
> When I try to configure LLVM v6.0 RC2 (SVN Rev #324869) on Windows (I
haven’t yet had a chance to try on Linux), I get a series of errors such as
this:
>
>   CMake Error at cmake/modules/AddLLVM.cmake:1333 (add_dependencies):
>     The dependency target "(" of target "check-all"
does not exist.
>   Call Stack (most recent call first):
>     CMakeLists.txt:937 (add_lit_target)
>
> Any ideas on what might be causing this?  My invocation of CMake is as
follows:
>
>    cmake -Wno-dev -G "Visual Studio 14 2015 Win64" ../llvm \
>      "-DLLVM_TARGETS_TO_BUILD=SHAVE;X86 " \
>      -DLLVM_DEFAULT_TARGET_TRIPLE=shave \
>      -DLIBCLANG_BUILD_STATIC=1 \
>      -DLLVM_ENABLE_ZLIB=0 \
>      -DENABLE_SHARED=0
>
> Thanks,
>
>             MartinO
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
<http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20180218/12a87c80/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20180218/12a87c80/attachment.sig>