2016-04-19 12:19:00 +00:00
|
|
|
#!/bin/sh -xe
|
|
|
|
|
2021-02-08 00:07:21 +00:00
|
|
|
if [ "$1" = "ci" ]; then
|
2021-08-18 10:19:02 +00:00
|
|
|
armloc=$(brew fetch --bottle-tag=arm64_big_sur 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:)
|
|
|
|
cp $armloc /tmp/libomp-arm64.tar.gz
|
2021-02-08 00:07:21 +00:00
|
|
|
mkdir /tmp/libomp-arm64 || true
|
|
|
|
tar -xzvf /tmp/libomp-arm64.tar.gz -C /tmp/libomp-arm64
|
2021-08-18 10:19:02 +00:00
|
|
|
cp $x64loc /tmp/libomp-x86_64.tar.gz
|
2021-02-08 00:07:21 +00:00
|
|
|
mkdir /tmp/libomp-x86_64 || true
|
|
|
|
tar -xzvf /tmp/libomp-x86_64.tar.gz -C /tmp/libomp-x86_64
|
|
|
|
else
|
|
|
|
brew install libomp
|
|
|
|
fi
|
|
|
|
|
2021-06-24 10:10:31 +00:00
|
|
|
git submodule update --init extlib/cairo extlib/freetype extlib/libdxfrw extlib/libpng extlib/mimalloc extlib/pixman extlib/zlib extlib/eigen
|