Skip to content

Commit 5f57fc9

Browse files
Krandehmaarrfk
authored andcommitted
add win fortran support using ifx
1 parent 55a62a5 commit 5f57fc9

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

recipe/bld.bat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ cd build
77
:: Set environment variables.
88
set HDF5_EXT_ZLIB=zlib.lib
99

10+
:: Fortran support is only
11+
if "%mpi%"=="nompi" (
12+
set _LIBRARY=%LIBRARY_PREFIX:\=/%
13+
:: Needed by IFX
14+
set "LIB=%BUILD_PREFIX%\Library\lib;%LIB%"
15+
set "INCLUDE=%BUILD_PREFIX%\opt\compiler\include\intel64;%INCLUDE%"
16+
set "CMAKE_ARGS=!CMAKE_ARGS! -D HDF5_BUILD_FORTRAN:BOOL=ON"
17+
)
1018

1119
set "CXXFLAGS=%CXXFLAGS% -LTCG"
1220
if "%mpi%"=="impi" (

recipe/meta.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ requirements:
7272
- {{ stdlib('c') }}
7373
- {{ compiler('cxx') }}
7474
- {{ compiler('fortran') }} # [not win]
75+
- ifx_win-64 # [win and mpi == 'nompi']
7576
- cmake
7677
- make # [not win]
7778
- ninja # [win]

0 commit comments

Comments
 (0)