extend cmake/gmxDetectTargetArchitecture.cmake for ARM and POWER
Various low-level GROMACS code would like to run differently for different compilation targets, which would be good to centralize and be consistent between configuration, build and run time. GMX_TARGET_X86 and GMX_TARGET_BGQ have a couple of applications in the code, but recently GMX_TARGET_ARM would have been good, and doubtless GMX_TARGET_PPC will find a use in time.
Given that each of these detections take a small amount of time (and code), I would propose that we only add them as we actually use that particular define. This is the reason I removed AARCH64, but we now have GMX_TARGET_ARMV7.
True. I did also find at least one more case where using GMX_TARGET_X86 would improve things.
- Status changed from New to Resolved
We have GMX_TARGET_X86 and GMX_TARGET_ARMV7, etc. so thi sis resolved
- Status changed from Resolved to Closed
Also available in: Atom