build(hypre): added hypre as a subproject
This commit is contained in:
17
mk
17
mk
@@ -339,6 +339,23 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
## --- Check if MPI is installed ---
|
||||
log "${BLUE}[Info] Checking MPI status...${NC}"
|
||||
# if the following script exists with anything other than a 0 status the script will exit
|
||||
if [[ -f ./build-config/mpi/.mpi_installed ]]; then
|
||||
log "${MAGENTA}[Succsess] MPI already installed. Skipping...${NC}"
|
||||
else
|
||||
log "${BLUE}[Info] Installing MPI...${NC}"
|
||||
if ! ./build-config/mpi/install.sh; then
|
||||
log "${RED}[Error] MPI check failed. Exiting...${NC}"
|
||||
exit 1
|
||||
else
|
||||
touch ./build-config/mpi/.mpi_installed
|
||||
log "${GREEN}[Succsess] MPI check passed.${NC}"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
#check if the last build flags are the same as the current build flags
|
||||
# if the flags are the same skip the configuration step
|
||||
# if they are different then reconfigure the build directory
|
||||
|
||||
Reference in New Issue
Block a user