From fbc4929c61db09c8c261d14b6706515e7e37f3ec Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 4 Jan 2024 11:13:14 -1000 Subject: [PATCH] adjust builds --- .github/workflows/builder.yml | 9 +++++++++ .github/workflows/wheels.yml | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 4a767d234b58d2..324fb904fbd223 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -179,6 +179,15 @@ jobs: sed -i "s|pyezviz|# pyezviz|g" requirements_all.txt sed -i "s|pykrakenapi|# pykrakenapi|g" requirements_all.txt + - name: Adjustments for 64-bit + if: matrix.arch == 'x86_64' || matrix.arch == 'aarch64' + run: | + # Some speedups are only available on 64-bit, and since + # we build 32bit images on 64bit hosts, we only enable + # the speed ups on 64bit since the wheels for 32bit + # are not available. + sed -i "s|aiohttp-zlib-ng|aiohttp-zlib-ng\[isal\]|g" requirements_all.txt + - name: Download Translations run: python3 -m script.translations download env: diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index de25640b9b6224..d5c82c37e602cc 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -160,6 +160,12 @@ jobs: sed -i "s|pyezviz|# pyezviz|g" ${requirement_file} sed -i "s|pykrakenapi|# pykrakenapi|g" ${requirement_file} fi + + # Some speedups are only for 64-bit + if [ "${{ matrix.arch }}" = "x86_64" ] || [ "${{ matrix.arch }}" = "aarch64" ]; then + sed -i "s|aiohttp-zlib-ng|aiohttp-zlib-ng\[isal\]|g" ${requirement_file} + fi + done - name: Split requirements all