diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2023-02-17 15:46:35 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2023-02-21 10:49:22 +0000 |
commit | e8bde02054f6657e1e2c6e1661dc79c0ac81816f (patch) | |
tree | 29c8b845711dd83dda80a37b4536f05980827cb8 /tcwg_kernel-build.sh | |
parent | 0d32efc0e85d4acad2a36908e0f7b53c87fc27bc (diff) |
tcwg_bmk-build.sh: Build LLVM for ARMv8 host
Flang does not support cross-compiling, so switch building LLVM
to arm64/armhf host containers (done in yaml files). This
also simplifies LLVM benchmarking flow, since we no longer need
to build GNU toolchain to get target sysroot.
One restriction with this approach is that host/build and
target/benchmarking containers must use the same image.
Otherwise we may get library compatibility problems at benchmark
runtime. We are now linking applications against Ubuntu system
libraries.
Change-Id: Ide1a3f8f43ad23feeebd24f0b213b5c3f7e37122
Diffstat (limited to 'tcwg_kernel-build.sh')
-rwxr-xr-x | tcwg_kernel-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg_kernel-build.sh b/tcwg_kernel-build.sh index ce6674fc..32d72b2e 100755 --- a/tcwg_kernel-build.sh +++ b/tcwg_kernel-build.sh @@ -100,7 +100,7 @@ build_kernel_llvm () extra_targets="$extra_targets;ARM" fi - build_llvm false false "" "$extra_targets" + build_llvm "clang;lld" "$extra_targets" ) } |