FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
solvespace/.github/scripts/install-macos.sh at python · KmolYuan/solvespace · GitHub
KmolYuan
solvespace
Repository navigation
Code
Issues
Pull requests
1
(1)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
solvespace
/
.github
/
scripts
/
install-macos.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
16 lines (14 loc) · 701 Bytes
Breadcrumbs
solvespace
/
.github
/
scripts
/
install-macos.sh
Copy path
File metadata and controls
executable file
·
16 lines (14 loc) · 701 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!
/bin/sh -xe
if
[
"
$1
"
=
"
ci
"
]
;
then
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
mkdir /tmp/libomp-arm64
||
true
tar -xzvf /tmp/libomp-arm64.tar.gz -C /tmp/libomp-arm64
cp
$x64loc
/tmp/libomp-x86_64.tar.gz
mkdir /tmp/libomp-x86_64
||
true
tar -xzvf /tmp/libomp-x86_64.tar.gz -C /tmp/libomp-x86_64
else
brew install libomp
fi
git submodule update --init extlib/cairo extlib/freetype extlib/libdxfrw extlib/libpng extlib/mimalloc extlib/pixman extlib/zlib extlib/eigen
Back
|
FazBrowse Home
|
New Git URL