Changes needed to support builds with specific CPU instruction sets
Added new configuration parameter LCG_INSTRUCTIONSET to configure with specific instruction sets. For example -DLCG_INSTRUCTIONSET=avx2
. In this case all the packages with the option BUILD_WITH_INSTRUCTION_SET 1
in LCGPackage_Add(...)
will be built using a compiler wrapper that adds the compiler option -mXXX
for the instruction set. The platform name will be composed accordingly including the supported instruction set (for example x86_64+avx2-mac1013-clang90-opt
). For the packages without BUILD_WITH_INSTRUCTION_SET 1
the platform name will be the current one without the instruction set. The LCG views are created combining both platform names.
For the time being only the packages Vc, VecCore, VecGeom and Eigen are affected by the option BUILD_WITH_INSTRUCTION_SET
.
Merge request reports
Activity
added 1 commit
- c57c8f29 - Add ISET=ON on the build info string for packages built for specific instruction sets
added 1 commit
- 990cef49 - Added lcgenv to GeantV dependencies (1 test failing)
added 1 commit
- 9a48866a - do not add the same package with same version for the naked platform
added 1 commit
- 819b7b0d - Implemented a 'hack' for using hepmc3 for geantv builds
added 1 commit
- c9f4ae74 - putting back hepmc3 in the black list of views
mentioned in commit 2a487c30