From 0b3b7622d53acc859077f05df97114ac17b0a72c Mon Sep 17 00:00:00 2001 From: Leon Hwang Date: Mon, 19 Feb 2024 20:21:50 +0800 Subject: [PATCH] chore: Install flex bison when init_env.sh Signed-off-by: Leon Hwang --- builder/init_env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/init_env.sh b/builder/init_env.sh index 934c7146a1..88a1f6fc5a 100755 --- a/builder/init_env.sh +++ b/builder/init_env.sh @@ -54,7 +54,7 @@ uname -a sudo apt-get update # 环境安装 -sudo apt-get install --yes build-essential pkgconf libelf-dev llvm-${CLANG_NUM} clang-${CLANG_NUM} linux-tools-common linux-tools-generic +sudo apt-get install --yes build-essential pkgconf libelf-dev llvm-${CLANG_NUM} clang-${CLANG_NUM} linux-tools-common linux-tools-generic flex bison for tool in "clang" "llc" "llvm-strip" do sudo rm -f /usr/bin/$tool