Skip to content

Commit

Permalink
Merge pull request #8316 from OpenMined/rasswanth/fix_aarch64_build
Browse files Browse the repository at this point in the history
added gcc to arm64 runners
  • Loading branch information
rasswanth-s authored Dec 6, 2023
2 parents 2ddd13d + 1557ed1 commit 615d8c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down

0 comments on commit 615d8c7

Please sign in to comment.