Thank you very much, Manuel, but should I have to make again the rest of the instructions?
I made what you told me and now, when I run
cmake -G Ninja ../llvm -DLLVM_BUILD_TESTS=ON
I get the next error:
CMake Error: The source “/usr/llvm/llvm/CMakeLists.txt” does not match the source “/usr/llvm/CMakeLists.txt” used to generate cache. Re-run cmake with a different source directory.
Thank you very much, Manuel, but should I have to make again the rest of
the instructions?
I made what you told me and now, when I run
cmake -G Ninja ../llvm -DLLVM_BUILD_TESTS=ON
I get the next error:
CMake Error: The source "/usr/llvm/llvm/CMakeLists.txt" does not match the
source "/usr/llvm/CMakeLists.txt" used to generate cache. Re-run cmake
with a different source directory.
Do you think i should start from scratch?
Yes I'd start from scratch and copy-and-paste the commands from the
tutorial
Cheers,
/Manuel
*El dia 04 feb 2013 12:58, Manuel Klimek <klimek@google.com> escribió:*
Thank you very much, Manuel, but should I have to make again the rest of
the instructions?
I made what you told me and now, when I run
cmake -G Ninja ../llvm -DLLVM_BUILD_TESTS=ON
I get the next error:
CMake Error: The source "/usr/llvm/llvm/CMakeLists.txt" does not match the
source "/usr/llvm/CMakeLists.txt" used to generate cache. Re-run cmake with
a different source directory.
It still sounds like you have llvm checked out directly into the
top-level llvm directory.
You need a top-level directory that's with build and the llvm checkout
side-by-side, e.g.
~/dev/
llvm-root/ <-- This is the top-level directory I'm talking about
build/ <-- This is the build directory you create
llvm/ <-- This is the checkout from SVN
If you follow the getting started instructions to the letter, this is
what you should have.