On 4/17/23 16:47, Ales Musil wrote:
> 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 <[email protected]>
> ---
>  .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
>  }
>  
> +

I removed this newline and applied the patch to main.

Thanks,
Dumitru

>  configure_$CC
>  
>  if [ "$TESTSUITE" ]; then

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to