From 5f0c8538a20f98243dec5db0e18a15e890ba1c63 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Thu, 23 Jan 2025 19:43:32 -0500 Subject: [PATCH] Move texinfo specifically for binutils on al2 x64 (#5258) Signed-off-by: Peter Zhu --- .../current/build.al2.opensearch.x64.arm64.dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/ci/dockerfiles/current/build.al2.opensearch.x64.arm64.dockerfile b/docker/ci/dockerfiles/current/build.al2.opensearch.x64.arm64.dockerfile index 073a7d8927..ae45e39048 100644 --- a/docker/ci/dockerfiles/current/build.al2.opensearch.x64.arm64.dockerfile +++ b/docker/ci/dockerfiles/current/build.al2.opensearch.x64.arm64.dockerfile @@ -125,12 +125,14 @@ RUN if [ `uname -m` = "x86_64" ]; then \ # Upgrade binutils # This is only required if gcc upgrade to 12 or above RUN if [ `uname -m` = "x86_64" ]; then \ + yum install -y texinfo && \ curl -SLO https://ci.opensearch.org/ci/dbc/tools/gcc/binutils-2.42.90.tar.xz && \ tar -xf binutils-2.42.90.tar.xz && cd binutils-2.42.90 && \ mkdir build && cd build && \ ../configure --prefix=/usr && \ make && make install && ld --version && \ - cd ../../ && rm -rf binutils-2.42.90.tar.xz binutils-2.42.90; \ + cd ../../ && rm -rf binutils-2.42.90.tar.xz binutils-2.42.90 && \ + yum remove -y texinfo; \ fi ENV FC=gfortran