Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
Update config.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskermode authored Jul 5, 2021
1 parent 4ec3fa9 commit 0e291ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function install_delocate {
function pre_build {
install_gfortran

if [[ -n "$IS_MACOS" && $PLAT == "arm64" ]]; then
if [ -n "$IS_MACOS" ] && [ $PLAT == "arm64" ]; then
# fetch and install OpenBLAS in same way as its done for numpy
# setuptools v49.2.0 is broken
$PYTHON_EXE -mpip install --upgrade "setuptools<49.2.0"
Expand Down Expand Up @@ -75,6 +75,10 @@ function pre_build {

# override install_run from multibuild, since we need to access the tests from repo root
function install_run {
if [ "$PLAT" == "arm64" ]; then
echo Skipping test for cross-compiled wheel $PLAT
return
fi
install_wheel
cd QUIP/tests
QUIP_TEST_IN_PLACE=0 HAVE_GAP=1 python3 run_all.py -v
Expand Down

0 comments on commit 0e291ed

Please sign in to comment.