Skip to content
Snippets Groups Projects

Make HyTeG aware of system's byte order

Merged Marcus Mohr requested to merge mohr/endianess-v2 into master

Merge adds a new macro HYTEG_ARCH_ENDIANESS to HytegDefinitions that is set by CMake to the value of CMAKE_CXX_BYTE_ORDER. We also add a query method systemEndianess() to BuildInfo. We use this information then to place the correct information into our VTU output files, instead of hardcoding LittleEndian everywhere.

In order to use the CMake macro we need 3.20 as minimal version and document this in our README.

Edited by Marcus Mohr

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply