Skip to content

Commit

Permalink
Update libomp download URL for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
khb7840 committed Dec 29, 2023
1 parent 6067c9c commit e9e87d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ jobs:
- name: Download libomp.a for arm64
run: |
mkdir ${{github.workspace}}/libomp_arm64
BOTTLE_URL=$(brew info libomp --json | jq -r '.[].bottle.stable.files.arm64_big_sur.url')
curl -s -L -H "Authorization: Bearer QQ==" -o libomp_arm64_big_sur.tar.gz $BOTTLE_URL
file libomp_arm64_big_sur.tar.gz
gtar --strip-components=2 -xzf libomp_arm64_big_sur.tar.gz -C ${{github.workspace}}/libomp_arm64
BOTTLE_URL=$(brew info libomp --json | jq -r '.[].bottle.stable.files.arm64_sonoma.url')
curl -s -L -H "Authorization: Bearer QQ==" -o libomp_arm64_sonoma.tar.gz $BOTTLE_URL
file libomp_arm64_sonoma.tar.gz
gtar --strip-components=2 -xzf libomp_arm64_sonoma.tar.gz -C ${{github.workspace}}/libomp_arm64
- name: Build x86_64 x86_64h arm64
run: |
Expand Down

0 comments on commit e9e87d8

Please sign in to comment.