The gcc-multilib is needed for x86 build on x86_64, but the package is not available for arm64. We need to conditonally install only when we run the x86 job.
Signed-off-by: Ales Musil <amu...@redhat.com> --- .ci/linux-build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index 7dfb5c317..542bda3ba 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -34,6 +34,12 @@ function configure_gcc() # Adding m32 flag directly to CC to avoid any possible issues # with API/ABI difference on 'configure' and 'make' stages. export CC="$CC -m32" + if which apt; then + # We should install gcc-multilib for x86 build, we cannot + # do it directly because gcc-multilib is not available + # for arm64 + sudo apt install -y gcc-multilib + fi fi } @@ -81,6 +87,7 @@ function execute_system_tests() fi } + configure_$CC if [ "$TESTSUITE" ]; then -- 2.39.2 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev