diff options
Diffstat (limited to 'llgo')
-rw-r--r-- | llgo/README.TXT | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/llgo/README.TXT b/llgo/README.TXT index 8fc60cb4231..c48e85561cf 100644 --- a/llgo/README.TXT +++ b/llgo/README.TXT @@ -38,20 +38,14 @@ a sufficiently new CMake or C++ toolchain. To build and install llgo: - # Checkout LLVM: - svn co http://llvm.org/svn/llvm-project/llvm/trunk /path/to/llvm - - # Checkout Clang: - cd /path/to/llvm/tools - svn co http://llvm.org/svn/llvm-project/cfe/trunk clang - - # Checkout llgo: - svn co http://llvm.org/svn/llvm-project/llgo/trunk llgo + # Checkout llvm project. + git clone https://github.com/llvm/llvm-project.git # Build LLVM, Clang and llgo: (see also http://llvm.org/docs/CMake.html) - mkdir /path/to/llvm-build - cd /path/to/llvm-build - cmake /path/to/llvm -DCMAKE_INSTALL_PREFIX=/path/to/llvm-inst + cd llvm-project + mkdir build + cd build + cmake ../llvm -DLLVM_ENABLE_PROJECTS='clang;llgo' -DCMAKE_INSTALL_PREFIX=/path/to/llvm-inst make install Running |