Skip to content

Commit

Permalink
Added a check for correct configuration before the actual configurati…
Browse files Browse the repository at this point in the history
…on script runs
  • Loading branch information
BrandonJLazard committed Jun 18, 2024
1 parent 903e429 commit c7ae4f2
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,22 @@ do

esac
done

if [ ! -z $RAMKLROOT ]
then
elif [[ ! -z $FFTWROOT && ! -z $BLASROOT && ! -z $LPROOT ]];
then
elif [[ ! -z $FFTWROOT && ! -z $BLASROOT && "$USEOPENBLAS" == "TRUE" ]]
then
else
echo "Error Code 1"
echo "Incorrect configuration"
exit 1
fi




echo ""
echo " -----------------------------------------------------------------------------"
VERSION_FILE="VERSION"
Expand Down Expand Up @@ -838,9 +854,9 @@ echo ""
# Standard LIBRARIES
if [[ $OSTYPE == *"darwin"* ]]
then
STD_FLAGS=""
STD_FLAGS="-lc++"
else
STD_FLAGS=""
STD_FLAGS="-lstdc++"
fi

###############################################################################################
Expand Down

0 comments on commit c7ae4f2

Please sign in to comment.