Closed wermos closed 1 year ago
For Vecmem, CMake sets the default value of ALGEBRA_PLUGINS_USE_SYSTEM_VECMEM to the value of ALGEBRA_PLUGINS_USE_SYSTEM_LIBS: https://github.com/acts-project/algebra-plugins/blob/73c29e9d53ea91ee53af205a8db64aacbdc21ceb/CMakeLists.txt#L67-L69
ALGEBRA_PLUGINS_USE_SYSTEM_VECMEM
ALGEBRA_PLUGINS_USE_SYSTEM_LIBS
However, for the setup of the math backends, we have https://github.com/acts-project/algebra-plugins/blob/73c29e9d53ea91ee53af205a8db64aacbdc21ceb/CMakeLists.txt#L111-L113
https://github.com/acts-project/algebra-plugins/blob/73c29e9d53ea91ee53af205a8db64aacbdc21ceb/CMakeLists.txt#L125-L127
https://github.com/acts-project/algebra-plugins/blob/73c29e9d53ea91ee53af205a8db64aacbdc21ceb/CMakeLists.txt#L147-L149
This is unexpected and leads to unnecessary surprises when building the library from scratch on a new system. I think we should use ALGEBRA_PLUGINS_USE_SYSTEM_LIBS across the board.
I'm closing this issue as #84 addressed it.
For Vecmem, CMake sets the default value of
ALGEBRA_PLUGINS_USE_SYSTEM_VECMEM
to the value ofALGEBRA_PLUGINS_USE_SYSTEM_LIBS
: https://github.com/acts-project/algebra-plugins/blob/73c29e9d53ea91ee53af205a8db64aacbdc21ceb/CMakeLists.txt#L67-L69However, for the setup of the math backends, we have https://github.com/acts-project/algebra-plugins/blob/73c29e9d53ea91ee53af205a8db64aacbdc21ceb/CMakeLists.txt#L111-L113
https://github.com/acts-project/algebra-plugins/blob/73c29e9d53ea91ee53af205a8db64aacbdc21ceb/CMakeLists.txt#L125-L127
https://github.com/acts-project/algebra-plugins/blob/73c29e9d53ea91ee53af205a8db64aacbdc21ceb/CMakeLists.txt#L147-L149
This is unexpected and leads to unnecessary surprises when building the library from scratch on a new system. I think we should use
ALGEBRA_PLUGINS_USE_SYSTEM_LIBS
across the board.