build: no need to build static libs for ubuntu

This commit is contained in:
Marcus Holland-Moritz 2025-04-07 20:11:33 +02:00
parent 5f10791864
commit 3abd5a4261

View File

@ -72,9 +72,10 @@ RUN apt install -y \
libflac++-dev \
nlohmann-json3-dev \
python3-mistletoe
COPY install-static-libs.sh /usr/local/bin/install-static-libs.sh
# TODO: gcc-14 cannot build the current version of libunwind
RUN bash /usr/local/bin/install-static-libs.sh gcc-13 clang-18 :ubuntu
### XXX: no more static libs for Ubuntu
# COPY install-static-libs.sh /usr/local/bin/install-static-libs.sh
# # TODO: gcc-14 cannot build the current version of libunwind
# RUN bash /usr/local/bin/install-static-libs.sh gcc-13 clang-18 :ubuntu
ARG ARCH
# upx-4.2.2 is broken for arm64 (https://github.com/upx/upx/issues/758)
RUN wget -O - https://github.com/upx/upx/releases/download/v5.0.0/upx-5.0.0-$(bash -c "echo \${0//v8/}" $ARCH)_linux.tar.xz | tar -xJf - -C /usr/local/bin --strip-components=1 --wildcards "*/upx"