This repository was archived by the owner on Aug 30, 2024. It is now read-only.
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ function build_libs {
23
23
# the un-tar root directory, then the files are copied into /usr/local.
24
24
# Could utilize a site.cfg instead to prevent the copy.
25
25
python -mpip install urllib3
26
+ python -c" import platform; print('platform.uname().machine', platform.uname().machine)"
26
27
basedir=$( python numpy/tools/openblas_support.py)
27
28
$use_sudo cp -r $basedir /lib/* /usr/local/lib
28
29
$use_sudo cp $basedir /include/* /usr/local/include
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ function setup_test_venv {
2
2
# Create a new empty venv dedicated to testing for non-Linux platforms. On
3
3
# Linux the tests are run in a Docker container.
4
4
if [ $( uname) != " Linux" ]; then
5
- deactivate || echo " "
5
+ if type -t deactivate ; then deactivate ; fi
6
6
$PYTHON_EXE -m venv test_venv
7
7
if [ $( uname) == " Darwin" ]; then
8
8
source test_venv/bin/activate
@@ -21,7 +21,7 @@ function setup_test_venv {
21
21
22
22
function teardown_test_venv {
23
23
if [ $( uname) != " Linux" ]; then
24
- deactivate || echo " "
24
+ if type -t deactivate ; then deactivate ; fi
25
25
if [ $( uname) == " Darwin" ]; then
26
26
source venv/bin/activate
27
27
fi
You can’t perform that action at this time.
0 commit comments