I tried deleting my build directory and restarting from scratch
$ cd llvm-project
$ mkdir build && cd build
$ cmake -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS=lld ../llvm
$ make
I got this error:
make[2]: *** No rule to make target
'llvm/cmake/modules/GenerateVersionFromVCS.cmake', needed by
'tools/lld/Common/VCSVersion.inc'. Stop.
CMakeFiles/Makefile2:57166: recipe for target
'tools/lld/Common/CMakeFiles/lldCommon.dir/all' failed
make[1]: *** [tools/lld/Common/CMakeFiles/lldCommon.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
Any idea?
________________________________
From: Rui Ueyama <ruiu at google.com>
Sent: Wednesday, March 13, 2019 12:49 PM
To: Josh Sharp
Cc: via llvm-dev
Subject: Re: [llvm-dev] Building lld
lld is installed as ld.lld, so please look for ld.lld.
On Wed, Mar 13, 2019 at 11:46 AM Josh Sharp via llvm-dev <llvm-dev at
lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
I tried to build lld by following these steps:
https://lld.llvm.org/getting_started.html
But after 'make install' I can't find lld anywhere and 'make
check-lld' results in this message:
make: *** No rule to make target 'check-lld'. Stop.
Any idea?
_______________________________________________
LLVM Developers mailing list
llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>
https://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/20190319/eb7a5d98/attachment-0001.html>