Skip to content

Commit 2cac2b9

Browse files
committed
Use LLVM fork with hardening patches
1 parent 4283cd4 commit 2cac2b9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

build-clang-with-args.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ cd "${build_top_dir}/build"
5757

5858
llvm_dir="${build_top_dir}/build/llvm-project"
5959
if [ ! -d "${llvm_dir}" ]; then
60-
git clone ${LLVM_URL} "${llvm_dir}"
60+
git clone --branch ${LLVM_BRANCH} ${LLVM_URL} "${llvm_dir}"
6161
fi
6262
cd "${llvm_dir}"
6363
git fetch origin

sw-versions.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export CROSSTOOL_NG_VERSION=5075e1f98e4329502682746cc30fa5c0c5a19d26
99
# v4.0.1
1010
export QEMU_VERSION=23967e5b2a6c6d04b8db766a8a149f3631a7b899
1111

12-
# LLVM 13.0.1 (tag llvmorg-13.0.1)
13-
export LLVM_URL=https://github.com/llvm/llvm-project.git
14-
export LLVM_VERSION=75e33f71c2dae584b13a7d1186ae0a038ba98838
12+
# LLVM 13.0.1 plus hardening patches
13+
export LLVM_URL=https://github.com/lowRISC/llvm-project.git
14+
export LLVM_BRANCH=ot-hardening
15+
export LLVM_VERSION=20a7c03bfa587068b70cf7d8f7eb38fa04d30cd5

0 commit comments

Comments
 (0)