Skip to content

Commit 2719406

Browse files
authored
Merge pull request #13626 from gforney/master
change root desitination directory in windows hypre and sundials build scripts to libs where libs is at the same location as fds and smv repos
2 parents fd717ae + a014a8c commit 2719406

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Utilities/Scripts/build_hypre.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if %abort% == 1 exit /b
1515

1616
set CURDIR=%CD%
1717

18-
set LIBS=..\..\..\LIBS
18+
set LIBS=..\..\..\libs
1919
if not exist %LIBS% mkdir %LIBS%
2020
if not exist %LIBS% echo failed to create LIBS directory
2121
if not exist %LIBS% exit

Utilities/Scripts/build_sundials.bat

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
2-
set INSTALLDIR=C:\sundials-6.7.0
2+
set INSTALLDIR=sundials-6.7.0
33
set SUNDIALSVERSION=v6.7.0
44

55
call :getopts %*
@@ -25,6 +25,16 @@ call ..\..\Build\Scripts\setup_intel_compilers.bat
2525

2626
cd %CURDIR%
2727

28+
set LIBS=..\..\..\libs
29+
if not exist %LIBS% mkdir %LIBS%
30+
if not exist %LIBS% echo failed to create LIBS directory
31+
if not exist %LIBS% exit
32+
cd %LIBS%
33+
set LIBS=%CD%
34+
set INSTALLDIR=%LIBS%\%INSTALLDIR%
35+
cd %CURDIR%
36+
37+
2838
set SUNDIALS=..\..\..\sundials
2939

3040
:: clone sundials repo (at same level as fds, smv etc repos) if it doesn't exist

0 commit comments

Comments
 (0)