Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
220829b8
Commit
220829b8
authored
Jan 14, 2021
by
Isuru Fernando
Browse files
sudo?
parent
376494ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common_utils.sh
common_utils.sh
+2
-2
No files found.
common_utils.sh
View file @
220829b8
...
...
@@ -285,10 +285,10 @@ function run_command_universal2 {
rm -rf *-stamp
export PLAT="
arm64
"
export BUILD_PREFIX=/usr/local-arm64
mkdir -p /usr/local-arm64
fi
if [[ "
${
PLAT
:-}
" == "
universal2
" || "
${
PLAT
:-}
" == "
arm64
" ]]; then
export BUILD_PREFIX=/opt/arm64-builds
mkdir -p
$BUILD_PREFIX
|| sudo mkdir -p
$BUILD_PREFIX
export _PYTHON_HOST_PLATFORM="
macosx-11.0-arm64
"
export CFLAGS+="
-arch
arm64
"
export CXXFLAGS+="
-arch
arm64
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment