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
9dd2342f
Commit
9dd2342f
authored
Jun 24, 2016
by
Matthew Brett
Browse files
Allow for repeat builds of openblas
parent
37a08862
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
library_builders.sh
library_builders.sh
+5
-1
No files found.
library_builders.sh
View file @
9dd2342f
...
@@ -44,7 +44,11 @@ function build_simple {
...
@@ -44,7 +44,11 @@ function build_simple {
function
build_openblas
{
function
build_openblas
{
if
[
-e
openblas-stamp
]
;
then return
;
fi
if
[
-e
openblas-stamp
]
;
then return
;
fi
git clone https://github.com/xianyi/OpenBLAS
if
[
-d
"OpenBLAS"
]
;
then
(
cd
OpenBLAS
&&
git clean
-fxd
&&
git reset
--hard
)
else
git clone https://github.com/xianyi/OpenBLAS
fi
(
cd
OpenBLAS
\
(
cd
OpenBLAS
\
&&
git checkout
"v
${
OPENBLAS_VERSION
}
"
\
&&
git checkout
"v
${
OPENBLAS_VERSION
}
"
\
&&
make
DYNAMIC_ARCH
=
1
USE_OPENMP
=
0
NUM_THREADS
=
64
>
/dev/null
\
&&
make
DYNAMIC_ARCH
=
1
USE_OPENMP
=
0
NUM_THREADS
=
64
>
/dev/null
\
...
...
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