Skip to content

Commit 297d0bc

Browse files
committed
Minor update: don't install stdlib testing modules.
1 parent e37b848 commit 297d0bc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

utils/setup-stdlib.bat

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,18 @@ cd %ROOT%
1010

1111
if NOT EXIST %ROOT%\mingw64 echo mingw64 installation not found && exit /b 1
1212

13-
if EXIST stdlib\ rmdir /S /Q stdlib
14-
15-
git clone https://github.com/fortran-lang/stdlib.git
13+
if NOT EXIST %ROOT%\stdlib git clone https://github.com/fortran-lang/stdlib.git
1614

1715
cd stdlib
16+
git reset --hard
1817
git checkout stdlib-fpm
18+
git pull
1919

2020
echo [install] >> fpm.toml
2121
echo library = true >> fpm.toml
2222

2323
fpm install --profile release --prefix %cd%\..\mingw64 --includedir lib\gcc\x86_64-w64-mingw32\10.3.0\finclude --verbose --flag "-DWITH_QP=1"
2424

25+
del /Q %ROOT%\mingw64\lib\gcc\x86_64-w64-mingw32\10.3.0\finclude\test*.mod
26+
2527
cd %ORIG%

0 commit comments

Comments
 (0)