Skip to content

Commit

Permalink
Fix manylinux2020 build
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktor-k committed Nov 29, 2023
1 parent 0b1d0f5 commit 9e066b7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/before-script-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 9e066b7

Please sign in to comment.