Draft: Allow specifying limited set of CPUs as ISA arch flag
Requested by CMS to support specifying chipset rather than instruction set as argument to VECGEOM_VECTOR
(see !952 (closed), which is superseded by this MR).
Add CMS's four Intel architectures to VECGEOM_VECTOR
, using -march
flag if any of these are selected. Check that ISA/Arch flag is supported by compiler, whether ISA or Arch is supplied.
Update enum_option
so that it will cycle through allowed options for VECGEOM_VECTOR
in CMake curses/GUI interface without requiring user to type the full name.
Only the minimal list of CPUs supplied by CMS have been added - potential list is long, so would need careful review for future additions.