-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Description
Linaro has been working on flang support, for Windows on Arm. It is included in official release for this platform.
The version included targets MSVC ABI, and not GNU one (available with msys2).
We have been trying to build OpenBLAS and ran into issues with CMake support.
Currently, we are working with CMake community to support flang (MSVC), see this pull request.
As part of the feedback from CMake maintainer, it is currently difficult to identify which ABI and architecture flang is targeting. One solution, as suggested here, would be to implement a set of MSVC predefined macros, like clang already does.
At least having _MSC_VER and _M_{X64,ARM64,IX86}, would be a good start. It would allow CMake, or any other tool, to identify easily flang configuration, without having to parse any output result.