[llvm-dev] Errors in configuration for LLVM with CMake GUI

via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 29 14:38:41 PST 2018


With regard to the executable path for SVN or Nuget (or anything else), I cannot think of why you need to specify it for CMake to build LLVM.

CMake uses the version control system (SVN or git) to derive part of the version string for the build.  Whichever one you use, the location of the tool should be on the PATH so that simple "svn status" or "git status" commands will work.

FTR I'm using Visual Studio 2015, with the git "mono repo" and this is my CMake invocation:

cmake -G "Visual Studio 14 Win64" -Thost=x64 -DLLVM_ENABLE_ASSERTIONS=ON ^
  -DLLVM_ENABLE_PROJECTS="llvm;clang;lld" path\to\llvm

As previously noted, if you are following the SVN instructions, and put your clang and lld checkouts under llvm\tools, then you should omit the LLVM_ENABLE_PROJECTS definition.
--paulr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181129/f198e3ab/attachment.html>


More information about the llvm-dev mailing list