At 7/30/2020 11:41 AM, Michael Kruse wrote:>This looks like cmake starts processing with a wrong top-level CMakeLists.txt (llvm\docs\CMakeLists.txt). It should be <your llvm-project checkout>\llvm\CMakeLists.txt. For instance: > >C:\> cmake -SÂ <your llvm-project checkout>\llvm -B C:/LLVM/BuildThank you for responding. I'm trying to build just the LLVM documentation. Other folks suggested the following: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_SPHINX=On c:\llvm\llvm-project\llvm\docs I run that command in the C:/LLVM/Build directory, which I assume then is the default for -B. Anyway, I changed my command to: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_SPHINX=On -S c:/llvm/llvm-project/llvm/docs -B c:/llvm/build The result was the same: The C compiler identification could not be found in "C:/LLVM/Build/CMakeFiles/3.18.0/CompilerIdC/a.exe" Is it simply not possible to build anything other than top-level checkout directory?
Am Do., 30. Juli 2020 um 11:04 Uhr schrieb Paul C. Anagnostopoulos < paul at windfall.com>:> Is it simply not possible to build anything other than top-level checkout > directory? >Only subprojects that have specifically been designed for this, e.g clang,flang,compiler-rt. Not any arbitrary subdirectory. Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200730/6ab87be6/attachment.html>
At 7/30/2020 01:42 PM, Michael Kruse wrote:>Am Do., 30. Juli 2020 um 11:04 Uhr schrieb Paul C. Anagnostopoulos <<mailto:paul at windfall.com>paul at windfall.com>: >Is it simply not possible to build anything other than top-level checkout directory? > > >Only subprojects that have specifically been designed for this, e.g clang,flang,compiler-rt. Not any arbitrary subdirectory.Success! Thank you. I have to say that I've never seen a 1 MB Makefile before.