Skip to content

Commit

Permalink
Move texinfo specifically for binutils on al2 x64 (#5258)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon authored Jan 24, 2025
1 parent 6a73249 commit 5f0c853
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f0c853

Please sign in to comment.