Martin J. O'Riordan via llvm-dev
2018-Feb-17 22:11 UTC
[llvm-dev] Configuring LLVM v6.0 RC2 on Windows
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180217/95b9ffd1/attachment.html>
Dimitry Andric via llvm-dev
2018-Feb-18 01:48 UTC
[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> 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>
Martin J. O'Riordan via llvm-dev
2018-Feb-18 10:38 UTC
[llvm-dev] Configuring LLVM v6.0 RC2 on Windows
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>