summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLojewski, Evan <github@meklort.com>2019-05-11 17:20:33 -0600
committerLojewski, Evan <github@meklort.com>2019-05-11 17:20:33 -0600
commit1da848fd88eb9d908121d1f5cbd1aa688b84a660 (patch)
tree4953b9ac379d1c41e962646d0e689c967f6ae81b
parent19769773c64d0371031c65dee2917cfb9ac803d7 (diff)
downloadbcm5719-ortega-1da848fd88eb9d908121d1f5cbd1aa688b84a660.tar.gz
bcm5719-ortega-1da848fd88eb9d908121d1f5cbd1aa688b84a660.zip
Update llvm steps to also build lld.
-rw-r--r--README.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/README.md b/README.md
index 0bd35c6..4a9f86a 100644
--- a/README.md
+++ b/README.md
@@ -22,12 +22,9 @@ The custom compuler can be built using the following steps:
```bash
git clone https://github.com/meklort/llvm-project.git -b meklort-7.0.1
cd llvm-project
-cd llvm/tools
-ln -s ../../clang clang
-cd ../../
mkdir build
cd build
-cmake ../llvm -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/llvm-bcm5719
+cmake ../llvm -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/llvm-bcm5719 -DLLVM_ENABLE_PROJECTS="lld;clang"
ninja
ninja install
```
OpenPOWER on IntegriCloud