Skip to content

Commit eb20b79

Browse files
committed
FDS Build: Set thirdparty fortran compiler based on INTEL_IFORT
1 parent 0b52ed4 commit eb20b79

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

Build/Scripts/build_thirdparty_libs.bat

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,25 @@ set SCRIPTDIR=%~dp0
8888
cd %SCRIPTDIR%
8989
SET SCRIPTDIR=%CD%
9090

91+
92+
:: Decide C and FORTRAN COMPILER for third-party builds
93+
set CC=icx
94+
if "x%INTEL_IFORT%" == "x" (
95+
set FC=ifx
96+
) else (
97+
set FC=%INTEL_IFORT%
98+
)
99+
echo.
100+
echo Third-party libs C Compiler=%CC%
101+
echo Third-party libs Fortran Compiler=%FC%
102+
echo.
103+
104+
105+
::Call HYPRE and SUNDIALS build script
91106
cd %SCRIPTDIR%\HYPRE
92107
call build_hypre %clean_hypre%
93108

94109
cd %SCRIPTDIR%\SUNDIALS
95110
call build_sundials %clean_sundials%
96111

97-
cd %CURDIR_3RDPARTY%
112+
cd %CURDIR_3RDPARTY%

0 commit comments

Comments
 (0)