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
d672f8f9
Commit
d672f8f9
authored
Jan 14, 2021
by
Isuru Fernando
Browse files
only user
parent
809369f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
common_utils.sh
common_utils.sh
+1
-1
No files found.
common_utils.sh
View file @
d672f8f9
...
@@ -289,7 +289,7 @@ function run_command_universal2 {
...
@@ -289,7 +289,7 @@ function run_command_universal2 {
if [[ "
${
PLAT
:-}
" == "
universal2
" || "
${
PLAT
:-}
" == "
arm64
" ]]; then
if [[ "
${
PLAT
:-}
" == "
universal2
" || "
${
PLAT
:-}
" == "
arm64
" ]]; then
export BUILD_PREFIX=/opt/arm64-builds
export BUILD_PREFIX=/opt/arm64-builds
sudo mkdir -p
$BUILD_PREFIX
sudo mkdir -p
$BUILD_PREFIX
sudo chown -R
$USER
:
$USER
$BUILD_PREFIX
sudo chown -R
$USER
$BUILD_PREFIX
export _PYTHON_HOST_PLATFORM="
macosx-11.0-arm64
"
export _PYTHON_HOST_PLATFORM="
macosx-11.0-arm64
"
export CFLAGS+="
-arch
arm64
-I
$BUILD_PREFIX
/include
"
export CFLAGS+="
-arch
arm64
-I
$BUILD_PREFIX
/include
"
export CXXFLAGS+="
-arch
arm64
-I
$BUILD_PREFIX
/include
"
export CXXFLAGS+="
-arch
arm64
-I
$BUILD_PREFIX
/include
"
...
...
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