Skip to content

Commit

Permalink
Update INSTALL.md: fix llvm download url
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-nz authored and yonghong-song committed Jun 12, 2023
1 parent a078cbc commit 7bc5500
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -558,23 +558,23 @@ sudo yum install -y luajit luajit-devel # for Lua support
You could compile LLVM from source code

```
curl -LO http:https://releases.llvm.org/10.0.0/llvm-10.0.0.src.tar.xz
curl -LO http:https://releases.llvm.org/10.0.0/cfe-10.0.0.src.tar.xz
tar -xf cfe-10.0.0.src.tar.xz
tar -xf llvm-10.0.0.src.tar.xz
curl -LO https:https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.1/llvm-10.0.1.src.tar.xz
curl -LO https:https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.1/clang-10.0.1.src.tar.xz
tar -xf clang-10.0.1.src.tar.xz
tar -xf llvm-10.0.1.src.tar.xz
mkdir clang-build
mkdir llvm-build
cd llvm-build
cmake3 -G "Unix Makefiles" -DLLVM_TARGETS_TO_BUILD="BPF;X86" \
-DCMAKE_BUILD_TYPE=Release ../llvm-10.0.0.src
-DCMAKE_BUILD_TYPE=Release ../llvm-10.0.1.src
make
sudo make install
cd ../clang-build
cmake3 -G "Unix Makefiles" -DLLVM_TARGETS_TO_BUILD="BPF;X86" \
-DCMAKE_BUILD_TYPE=Release ../cfe-10.0.0.src
-DCMAKE_BUILD_TYPE=Release ../clang-10.0.1.src
make
sudo make install
cd ..
Expand Down

0 comments on commit 7bc5500

Please sign in to comment.