From 49f13d8c8665cc44349bbbb83945127be8b06dc2 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 30 Mar 2017 05:08:37 -0400 Subject: [PATCH] Updated How to build LLVM, libclang, and liblld from source (markdown) --- How-to-build-LLVM,-libclang,-and-liblld-from-source.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/How-to-build-LLVM,-libclang,-and-liblld-from-source.md b/How-to-build-LLVM,-libclang,-and-liblld-from-source.md index e02d470..24bb5a8 100644 --- a/How-to-build-LLVM,-libclang,-and-liblld-from-source.md +++ b/How-to-build-LLVM,-libclang,-and-liblld-from-source.md @@ -4,7 +4,7 @@ Typically I use the path `~/local` since it does not require root to install, an $ cd llvm-4.0.0.src/ $ mkdir build $ cd build -$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/local -DCMAKE_PREFIX_PATH=$HOME/local -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=on +$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/local -DCMAKE_PREFIX_PATH=$HOME/local -DCMAKE_BUILD_TYPE=RelWithDebInfo $ make install ``` @@ -12,7 +12,7 @@ $ make install $ cd cfe-4.0.0.src/ $ mkdir build $ cd build -$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/local -DCMAKE_PREFIX_PATH=$HOME/local -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=on +$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/local -DCMAKE_PREFIX_PATH=$HOME/local -DCMAKE_BUILD_TYPE=RelWithDebInfo $ make install ``` @@ -20,7 +20,7 @@ $ make install $ cd lld-4.0.0.src/ $ mkdir build $ cd build -$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/local -DCMAKE_PREFIX_PATH=$HOME/local -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=on +$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/local -DCMAKE_PREFIX_PATH=$HOME/local -DCMAKE_BUILD_TYPE=RelWithDebInfo $ make install ```