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
55call :getopts %*
66if %stopscript% == 1 exit /b
@@ -55,33 +55,31 @@ echo ----------------------------------------------------------
5555echo ----------------------------------------------------------
5656echo .
5757 git checkout %HYPREVERSION%
58- cd %CURDIR%
59- :endif1
6058
6159echo ----------------------------------------------------------
6260echo ----------------------------------------------------------
63- echo cleaning hypre repo
61+ echo modify HYPRE_config.h.cmake.in file
6462echo ----------------------------------------------------------
6563echo ----------------------------------------------------------
6664echo .
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
7573echo ----------------------------------------------------------
7674echo ----------------------------------------------------------
77- echo modify HYPRE_config.h.cmake.in file
75+ echo cleaning hypre repo
7876echo ----------------------------------------------------------
7977echo ----------------------------------------------------------
8078echo .
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
8785echo ----------------------------------------------------------
@@ -91,6 +89,8 @@ echo ----------------------------------------------------------
9189echo ----------------------------------------------------------
9290echo .
9391
92+ set BUILDDIR = %HYPRE% \src\cmbuild
93+ cd %BUILDDIR%
9494cmake ..\ ^
9595-G " MinGW Makefiles" ^
9696-DCMAKE_INSTALL_PREFIX=" %INSTALLDIR% " ^
0 commit comments