Skip to content

Commit

Permalink
fix: add missing clang_num init biz for ubuntu 20.04
Browse files Browse the repository at this point in the history
Signed-off-by: spencercjh <[email protected]>
  • Loading branch information
spencercjh committed Dec 20, 2024
1 parent f14e3d8 commit 887efce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions init_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ fi

CLANG_NUM=-12
# shellcheck disable=SC2209
if [ ${release_num} == "20.10" ]; then
if [ ${release_num} == "20.04" ]; then
CLANG_NUM=-10
elif [ ${release_num} == "20.04" ]; then
CLANG_NUM=-10
elif [ ${release_num} == "21.04" ]; then
CLANG_NUM=-11
Expand All @@ -21,7 +23,7 @@ if [ ${release_num} == "20.10" ]; then
elif [ ${release_num} == "23.04" ];then
CLANG_NUM=-15
elif [ ${release_num} == "23.10" ];then
CLANG_NUM=-15
CLANG_NUM=-15
elif [ ${release_num} == "24.04" ];then
CLANG_NUM=-18
else
Expand Down

0 comments on commit 887efce

Please sign in to comment.