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
ee583adc
Commit
ee583adc
authored
Nov 21, 2019
by
mattip
Browse files
use system openblas on aarch64
parent
1a51f2a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
common_utils.sh
common_utils.sh
+1
-0
library_builders.sh
library_builders.sh
+3
-0
No files found.
common_utils.sh
View file @
ee583adc
...
@@ -13,6 +13,7 @@ set -e
...
@@ -13,6 +13,7 @@ set -e
MULTIBUILD_DIR
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
MULTIBUILD_DIR
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
if
[
$(
uname
)
==
"Darwin"
]
;
then
IS_OSX
=
1
;
fi
if
[
$(
uname
)
==
"Darwin"
]
;
then
IS_OSX
=
1
;
fi
if
[
"
$(
PLAT
)
"
==
"aarch64"
]
;
then
IS_AARCH64
=
1
;
fi
# Work round bug in travis xcode image described at
# Work round bug in travis xcode image described at
# https://github.com/direnv/direnv/issues/210
# https://github.com/direnv/direnv/issues/210
...
...
library_builders.sh
View file @
ee583adc
...
@@ -94,6 +94,9 @@ function build_openblas {
...
@@ -94,6 +94,9 @@ function build_openblas {
if
[
-n
"
$IS_OSX
"
]
;
then
if
[
-n
"
$IS_OSX
"
]
;
then
brew
install
openblas
brew
install
openblas
brew
link
--force
openblas
brew
link
--force
openblas
elif
[
-n
"
$IS_AARCH64
"
]
;
then
sudo
apt
install
libopenblas-dev
return
;
else
else
mkdir
-p
$ARCHIVE_SDIR
mkdir
-p
$ARCHIVE_SDIR
local
plat
=
${
1
:-${
PLAT
:-
x86_64
}}
local
plat
=
${
1
:-${
PLAT
:-
x86_64
}}
...
...
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