Skip to content

Commit

Permalink
Simplify symlinks
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon committed Feb 5, 2025
1 parent 94681f3 commit 535c544
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ RUN if [ `uname -m` = "x86_64" ]; then \
mkdir build && cd build && \
../configure --enable-languages=all --prefix=/usr --disable-multilib --disable-bootstrap && \
make -j$(nproc) && make install && gcc --version && g++ --version && gfortran --version && \
cd ../../ && rm -rf gcc12.tgz gcc-12.4.0 && \
ln -sfn /lib64/libstdc++.so.6 /lib64/libstdc++.so && \
ln -sfn /lib64/libstdc++.so.6.0.24 /lib64/libstdc++.so.6 && \
rm -v /lib64/libstdc++.so.6.0.30* ; \
cd ../../ && rm -rf gcc12.tgz gcc-12.4.0 && cd /lib64/ && \
ln -sfn libstdc++.so.6 libstdc++.so && \
ln -sfn libstdc++.so.6.0.24 libstdc++.so.6 && \
rm -v libstdc++.so.6.0.30* ; \
else \
yum install -y gcc10* && \
mv -v /usr/bin/gcc /usr/bin/gcc7-gcc && \
Expand Down

0 comments on commit 535c544

Please sign in to comment.