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

Martin J. O'Riordan via llvm-dev llvm-dev at lists.llvm.org
Sun Feb 18 02:38:44 PST 2018


Thanks Dimitry,

 

Turns out it was a mis-merged ‘CMakeLists.txt’ file where a stray ‘if(WIN32)’ managed to get inside a multiline ‘list(APPEND ...)’ clause.  I have it configured successfully now, and my next trick is to get the v6.0 version building with our changes.

 

            MartinO

 

From: Dimitry Andric [mailto:dimitry at andric.com] 
Sent: 18 February 2018 01:49
To: Martin J. O'Riordan <MartinO at theheart.ie>
Cc: LLVM Developers <llvm-dev at lists.llvm.org>
Subject: Re: [llvm-dev] Configuring LLVM v6.0 RC2 on Windows

 

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 <mailto: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
 <mailto:llvm-dev at lists.llvm.org> 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/95159323/attachment.html>


More information about the llvm-dev mailing list