Skip to content

Commit

Permalink
Merge pull request #783 from mkstoyanov/fix_ifx_compiler
Browse files Browse the repository at this point in the history
* updated support for the Intel ifx Fortran compiler
  • Loading branch information
mkstoyanov authored Oct 21, 2024
2 parents ba42064 + 977bef3 commit b553463
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Config/CMakeIncludes/sanity_check_and_xsdk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ endif()
# check for Fortran, note that enable_language always gives FATAL_ERROR if the compiler is missing
if (Tasmanian_ENABLE_FORTRAN)
enable_language(Fortran)
# check old and new Fortran compilers
Tasmanian_compiler_type(COMPILER ${CMAKE_Fortran_COMPILER} TYPE "ifort" RESULT Tasmanian_ifort_compiler)
Tasmanian_compiler_type(COMPILER ${CMAKE_Fortran_COMPILER} TYPE "ifx" RESULT Tasmanian_ifx_compiler)
if (Tasmanian_ifort_compiler OR Tasmanian_ifx_compiler)
set(Tasmanian_ifort_compiler ON)
endif()
endif()

# swig requires Fortran and cannot handle both types of libs
Expand Down

0 comments on commit b553463

Please sign in to comment.