CI, macOS: Update dead links to libomp in dependency installer

Big Sur -> Ventura
pull/1432/head
Dhruv Gramopadhye 2023-12-05 07:16:27 -05:00 committed by GitHub
parent 727b0153f6
commit 94618d4ce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
#!/bin/sh -xe #!/bin/sh -xe
if [ "$1" = "ci" ]; then if [ "$1" = "ci" ]; then
armloc=$(brew fetch --bottle-tag=arm64_big_sur libomp | grep -i downloaded | grep tar.gz | cut -f2 -d:) armloc=$(brew fetch --bottle-tag=arm64_ventura libomp | grep -i downloaded | grep tar.gz | cut -f2 -d:)
x64loc=$(brew fetch --bottle-tag=big_sur libomp | grep -i downloaded | grep tar.gz | cut -f2 -d:) x64loc=$(brew fetch --bottle-tag=ventura libomp | grep -i downloaded | grep tar.gz | cut -f2 -d:)
cp $armloc /tmp/libomp-arm64.tar.gz cp $armloc /tmp/libomp-arm64.tar.gz
mkdir /tmp/libomp-arm64 || true mkdir /tmp/libomp-arm64 || true
tar -xzvf /tmp/libomp-arm64.tar.gz -C /tmp/libomp-arm64 tar -xzvf /tmp/libomp-arm64.tar.gz -C /tmp/libomp-arm64