Goddard-Fortran-Ecosystem / yaFyaml

Yet Another Fortran YAML
Apache License 2.0
13 stars 8 forks source link

Add preliminary Intel LLVM Support #62

Closed mathomp4 closed 1 year ago

mathomp4 commented 1 year ago

This PR adds preliminary ifx support by copying cmake/Intel.cmake to cmake/IntelLLVM.cmake. As noted by Intel's porting guide, there are some flags changed or removed from ifx (compared to ifort), but they are usually a bit more advanced compared to flags used here.

One thing that might need to change is any macros (like _INTEL) as we might need different ones for ifx. There might also be workarounds/changes needed as seen in https://github.com/Goddard-Fortran-Ecosystem/pFUnit/pull/404

Keeping PR draft until ifx can be tested by us.