https://github.com/Kitware/CMake
Raw File
Tip revision: c9b27dace7e4110b25d5889e9c6952d0f4a7ca58 authored by Brad King on 06 April 2021, 17:21:53 UTC
CMake 3.19.8
Tip revision: c9b27da
CMakeISPCCompilerABI.ispc

export void ispcCompilerABI() {

#if defined(__GNU__) && defined(__ELF__) && defined(__ARM_EABI__)
  print("INFO:abi[ELF ARMEABI]");
  static char const info_abi[] =
#elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEB__)
  print("INFO:abi[ELF ARM]");
#elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEL__)
  print("INFO:abi[ELF ARM]");

#elif defined(__linux__) && defined(__ELF__) && defined(__amd64__) &&         \
  defined(__ILP32__)
print("INFO:abi[ELF X32]");

#elif defined(__ELF__)
print("INFO:abi[ELF]");
#endif

}
back to top