[llvm-dev] Couldn't successfully generate project files for LLVM (checked out from trunk)

Osman Zakir via llvm-dev llvm-dev at lists.llvm.org
Fri Nov 23 12:27:17 PST 2018


I'm replying here to give an update.  I installed CMake 3.13.0 and then tried to generate project file again, but had the same result.  I'm attaching the updated logs to this message.

I did check out the source files from the trunk and put them into the directories specified in the instruction on building LLVM from source on llvm.org.  Do I have to manually specify the paths to the files somehow (if so, where and how? Do I need to edit CMakeFiles.txt?)?
________________________________
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Osman Zakir via llvm-dev <llvm-dev at lists.llvm.org>
Sent: Friday, November 23, 2018 11:47 PM
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] Couldn't successfully generate project files for LLVM (checked out from trunk)

I'm using CMake version 3.12.3 on Windows 10 Home.  I checked out LLVM, Clang, Clang extra tools, Compiler-RT, LLD, LibOMP, LIBCXX, and LIBCXXABI with SVN and am now trying to generate project files.  But LLD, among some other things, wasn't found (even though put all of those in the documented directories inside the LLVM source tree).  And a lot of the tests failed.  I'm attaching the CMake error and output logs to this message.  Please help me out.

I'm trying to build it from source and added the "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly".  I'm not trying to ask for help on targeting WebAssembly, though, but only on building LLVM from source.  For now it's specifically generating Visual Studio 2017 project files.

I added the -Thost=x64 flag to CMake as well, but it still seemed to target x86.  Why?

Anyway, please help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181123/5be22153/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeError.log
Type: application/octet-stream
Size: 603577 bytes
Desc: CMakeError.log
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181123/5be22153/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeOutput.log
Type: application/octet-stream
Size: 218833 bytes
Desc: CMakeOutput.log
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181123/5be22153/attachment-0003.obj>


More information about the llvm-dev mailing list