Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
run tests only in spkg-check. Also run spkg-check with the same optio…
Browse files Browse the repository at this point in the history
…ns as spkg-install
  • Loading branch information
kiwifb committed Dec 25, 2016
1 parent 0266727 commit ea0c0f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build/pkgs/openblas/spkg-check
Expand Up @@ -15,6 +15,9 @@ cd src
# We could also patch the Makefile to use a generic symlink pointing
# to the archive with a specific name

# See #22021 for issues with multithreading
OPENBLAS_CONFIGURE="$OPENBLAS_CONFIGURE USE_THREAD=0"

if [ `python -c "from __future__ import print_function; import platform; print(platform.architecture()[0])"` = "32bit" ]; then
OPENBLAS_CONFIGURE="$OPENBLAS_CONFIGURE BINARY=32"
fi
Expand Down
2 changes: 1 addition & 1 deletion build/pkgs/openblas/spkg-install
Expand Up @@ -30,7 +30,7 @@ fi

echo "Building OpenBLAS: $MAKE $OPENBLAS_CONFIGURE"

$MAKE $OPENBLAS_CONFIGURE
$MAKE libs netlib shared $OPENBLAS_CONFIGURE
if [ $? -ne 0 ]; then
echo >&2 "Error building OpenBLAS"
exit 1
Expand Down

0 comments on commit ea0c0f7

Please sign in to comment.