From d66e749ec88f204cf6564b3c1ac50d28ea4edcb0 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 23 May 2023 22:25:03 -0400 Subject: [PATCH] CI: Fix mold build --- ci/ci-install.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/ci-install.bash b/ci/ci-install.bash index 89c0e1c30..96a223c81 100755 --- a/ci/ci-install.bash +++ b/ci/ci-install.bash @@ -61,7 +61,7 @@ if [ "$CI_BUILD_STAGE_NAME" = "build" ]; then sudo apt-get update sudo apt-get install ccache help2man libfl-dev || sudo apt-get install ccache help2man libfl-dev - if [ "$CI_RUNS_ON" != "ubuntu-22.04" ]; then + if [ "$CI_RUNS_ON" = "ubuntu-20.04" ]; then # Some conflict of libunwind verison on 22.04, can live without it for now sudo apt-get install libgoogle-perftools-dev || sudo apt-get install libgoogle-perftools-dev @@ -106,8 +106,8 @@ elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then sudo apt-get install gdb gtkwave lcov libfl-dev ccache # Required for test_regress/t/t_dist_attributes.pl if [ "$CI_RUNS_ON" = "ubuntu-22.04" ]; then - sudo apt-get install libclang-dev || - sudo apt-get install libclang-dev + sudo apt-get install libclang-dev mold || + sudo apt-get install libclang-dev mold pip3 install clang==14.0 fi if [ "$CI_RUNS_ON" = "ubuntu-20.04" ] || [ "$CI_RUNS_ON" = "ubuntu-22.04" ]; then