[flang-commits] [PATCH] D109108: [flang] Use CMake to determine	endianness.
    Michael Kruse via Phabricator via flang-commits 
    flang-commits at lists.llvm.org
       
    Tue Sep 28 08:32:41 PDT 2021
    
    
  
Meinersbur added a comment.
> This change conflates the endianness of the compile-time host with the endianness of the target.  Perhaps it better for now to hard-code WIN32 as little endian?
The current build system uses the same compiler for host and runtime <https://github.com/llvm/llvm-project/blob/c93da7d9cf161ffda2366a96eb060c3b824cb549/flang/CMakeLists.txt#L403>. As mentioned in the summary, LLVM has the `LLVM_ENABLE_RUNTIMES` system to build runtimes for multiple targets, which unfortunately is not used by flang.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109108/new/
https://reviews.llvm.org/D109108
    
    
More information about the flang-commits
mailing list