From 9e066b71d7f0a4420131f19443396076e24bf444 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Wed, 29 Nov 2023 13:14:11 +0100 Subject: [PATCH] Fix manylinux2020 build --- .github/workflows/before-script-linux.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/before-script-linux.sh b/.github/workflows/before-script-linux.sh index eb5ebbf..5ac3897 100755 --- a/.github/workflows/before-script-linux.sh +++ b/.github/workflows/before-script-linux.sh @@ -3,6 +3,8 @@ set -euxo pipefail if [ -f /usr/bin/yum ]; then + echo Manylinux2010 build + yum install -y openssl-devel pcsc-lite-devel centos-release-scl llvm-toolset-7 source /opt/rh/llvm-toolset-7/enable @@ -31,7 +33,7 @@ if [ -f /usr/bin/yum ]; then --disable-openssl && \ make && make install else - # Note that this config is NOT used at the moment and can be severely broken - apt-get update - apt-get install -yqq cargo clang git nettle-dev pkg-config libssl-dev openssl libpcsclite-dev llvm gcc-multilib libgmp-dev libgmp3-dev + echo Manylinux2020 build + sudo apt-get update + sudo apt-get install -yqq cargo clang git nettle-dev pkg-config libssl-dev openssl libpcsclite-dev llvm gcc-multilib libgmp-dev libgmp3-dev fi