Skip to content

Commit a014a8c

Browse files
committed
scripts: change root destination directory in windows sundials build script to libs where libs is at the same level as fds and smv repos
1 parent 56e5139 commit a014a8c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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)