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
db11bd2a
Commit
db11bd2a
authored
Jan 14, 2021
by
Isuru Fernando
Browse files
fix shell errors
parent
b5f8b853
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
configure_build.sh
configure_build.sh
+1
-0
osx_utils.sh
osx_utils.sh
+1
-1
No files found.
configure_build.sh
View file @
db11bd2a
...
...
@@ -25,6 +25,7 @@ if [ -n "$IS_MACOS" ]; then
ARCH_FLAGS
=
${
ARCH_FLAGS
:-
"-arch arm64"
}
elif
[[
$PLAT
==
universal2
]]
;
then
# Do nothing as we are going with fusing wheels
ARCH_FLAGS
=
${
ARCH_FLAGS
:-}
else
echo
"invalid platform = '
$PLAT
', supported values are 'intel' or 'x86_64' or 'arm64' or 'universal2'"
exit
1
...
...
osx_utils.sh
View file @
db11bd2a
...
...
@@ -103,7 +103,7 @@ function macpython_sdk_list_for_version {
local
_major
=
${
_ver
%%.*
}
local
_return
if
[
"
${
PLAT
:-
}
"
=
=
"arm64"
]
||
[
"
${
PLAT
:-
}
"
=
=
"universal2"
]
;
then
if
[
"
${
PLAT
}
"
=
"arm64"
]
||
[
"
${
PLAT
}
"
=
"universal2"
]
;
then
_return
=
"11.0"
elif
[
"
$_major
"
-eq
"2"
]
;
then
[
$(
lex_ver
$_ver
)
-lt
$(
lex_ver 2.7.18
)
]
&&
_return
=
"10.6"
...
...
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