On 5/14/24 10:38, Ales Musil wrote:
> There were two things missing for the Fedora builds, 32-bit
> version of glibc to allows the -m32 compilation on Fedora
> and numactl-devel package.
> 
> Signed-off-by: Ales Musil <[email protected]>
> ---
>  .ci/linux-build.sh                     | 3 +++
>  utilities/containers/fedora/Dockerfile | 1 +
>  2 files changed, 4 insertions(+)
> 
> diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
> index 78f17f8bd..12966f532 100755
> --- a/.ci/linux-build.sh
> +++ b/.ci/linux-build.sh
> @@ -83,6 +83,9 @@ function configure_gcc()
>              # do it directly because gcc-multilib is not available
>              # for arm64
>              sudo apt update && sudo apt install -y gcc-multilib
> +        elif which dnf; then
> +            # Install equivalent of gcc-multilib for Fedora.
> +            sudo dnf -y update && sudo dnf -y install glibc-devel.i686

dnf always refreshes package cache.  'dnf update' will actually update
all the packages to the latest versions.  I'm not sure it is an intended
behavior here.

>          fi
>      fi
>  }
> diff --git a/utilities/containers/fedora/Dockerfile 
> b/utilities/containers/fedora/Dockerfile
> index 9b8386aae..d40a7b31f 100755
> --- a/utilities/containers/fedora/Dockerfile
> +++ b/utilities/containers/fedora/Dockerfile
> @@ -28,6 +28,7 @@ RUN dnf -y update \
>          libtool \
>          net-tools \
>          nmap-ncat \
> +        numactl-devel \
>          openssl \
>          openssl-devel \
>          procps-ng \

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

Reply via email to