Skip to content

Commit fd717ae

Browse files
authored
Merge pull request #13625 from gforney/master
fix typo in hypre library version in build script
2 parents 0fcf02f + ccab381 commit fd717ae

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Utilities/Scripts/build_hypre.bat

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo off
2-
set INSTALLDIR=hypre-2.3.10
3-
set HYPREVERSION=v2.3.10
2+
set INSTALLDIR=hypre-2.31.0
3+
set HYPREVERSION=v2.31.0
44

55
call :getopts %*
66
if %stopscript% == 1 exit /b
@@ -55,33 +55,31 @@ echo ----------------------------------------------------------
5555
echo ----------------------------------------------------------
5656
echo.
5757
git checkout %HYPREVERSION%
58-
cd %CURDIR%
59-
:endif1
6058

6159
echo ----------------------------------------------------------
6260
echo ----------------------------------------------------------
63-
echo cleaning hypre repo
61+
echo modify HYPRE_config.h.cmake.in file
6462
echo ----------------------------------------------------------
6563
echo ----------------------------------------------------------
6664
echo.
65+
echo change HYPRE_FMANGLE line to #define HYPRE_FMANGLE 4
66+
echo after saving file, press enter
67+
notepad %CURDIR%\%HYPRE%\src\config\HYPRE_config.h.cmake.in
6768

68-
cd %HYPRE%
69-
set HYPRE=%CD%
70-
set BUILDDIR=%HYPRE%\src\cmbuild
71-
git clean -dxf
72-
73-
cd %BUILDDIR%
69+
pause
70+
cd %CURDIR%
71+
:endif1
7472

7573
echo ----------------------------------------------------------
7674
echo ----------------------------------------------------------
77-
echo modify HYPRE_config.h.cmake.in file
75+
echo cleaning hypre repo
7876
echo ----------------------------------------------------------
7977
echo ----------------------------------------------------------
8078
echo.
81-
echo change HYPRE_FMANGLE line to #define HYPRE_FMANGLE 4
82-
echo after saving file, press enter
83-
notepad %HYPRE%\src\config\HYPRE_config.h.cmake.in
84-
pause
79+
80+
cd %CURDIR%\%HYPRE%
81+
set HYPRE=%CD%
82+
git clean -dxf
8583

8684
:: configure hypre
8785
echo ----------------------------------------------------------
@@ -91,6 +89,8 @@ echo ----------------------------------------------------------
9189
echo ----------------------------------------------------------
9290
echo.
9391

92+
set BUILDDIR=%HYPRE%\src\cmbuild
93+
cd %BUILDDIR%
9494
cmake ..\ ^
9595
-G "MinGW Makefiles" ^
9696
-DCMAKE_INSTALL_PREFIX="%INSTALLDIR%" ^

0 commit comments

Comments
 (0)