[llvm-dev] LLVM_TARGETS_TO_BUILD

John Cortell via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 27 18:57:55 PST 2017


I'm trying to build LLVM on Windows 10 for x86_64. The cmake cmdline I used
is

c:\cmake-3.8.0-rc1-win64-x64\bin\cmake.exe -DLLVM_TARGETS_TO_BUILD=x86_64
-G "Visual Studio 14" .

And this ultimately gives me:

llvm-build: error: invalid target to enable: 'x86_64' (not in project)

The source I'm trying to build is the llvm-3.8.0.src.tar.xz I got from
http://releases.llvm.org/download.html

If I don't specify LLVM_TARGETS_TO_BUILD or I set it to "X86", cmake
completes fine, and I can build the solution (but it gives me 32-bit
binaries)

What am I doing wrong?

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170227/06815793/attachment.html>


More information about the llvm-dev mailing list