From 1557ed163f3398c5248ccf420958c0030763d735 Mon Sep 17 00:00:00 2001 From: rasswanth-s <43314053+rasswanth-s@users.noreply.github.com> Date: Wed, 6 Dec 2023 09:15:41 +0530 Subject: [PATCH] added gcc to arm64 runners --- .github/workflows/cd-syft.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/cd-syft.yml b/.github/workflows/cd-syft.yml index d46359e250d..d114f405026 100644 --- a/.github/workflows/cd-syft.yml +++ b/.github/workflows/cd-syft.yml @@ -58,11 +58,17 @@ jobs: with: python-version: "3.11" + # Currently psutil package requires gcc to be installed on arm + # for building psutil from source + # as linux/aarch64 wheels not avaialble for psutil + # We could remove once we have aarch64 wheels + # https://github.com/giampaolo/psutil/issues/1972 - name: Install Metadata packages for arm64 if: ${{ endsWith(matrix.runner, '-arm64') }} run: | sudo apt update -y sudo apt install software-properties-common -y + sudo apt install gcc -y - name: Setup Python on arm64 if: ${{ endsWith(matrix.runner, '-arm64') }}