Project

General

Profile

Feature #2002

extend cmake/gmxDetectTargetArchitecture.cmake for ARM and POWER

Added by Mark Abraham over 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
build system
Target version:
-
Difficulty:
uncategorized
Close

Description

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.

History

#1 Updated by Erik Lindahl over 4 years ago

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.

#2 Updated by Mark Abraham over 4 years ago

True. I did also find at least one more case where using GMX_TARGET_X86 would improve things.

#3 Updated by Mark Abraham almost 2 years ago

  • Status changed from New to Resolved

We have GMX_TARGET_X86 and GMX_TARGET_ARMV7, etc. so thi sis resolved

#4 Updated by Mark Abraham almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF