Long build times - O(10 minutes) - have been observed building the full OKS stack as described here. One major contributor appears to be the fact that thanks to recursive dependencies, find_package/find_dependency gets called about 3000 times during that build. This (theoretically unnecessary) recursion, which we get with our current version of CMake (v3.23.1) apparently got fixed in CMake v3.26 (https://cmake.org/cmake/help/latest/module/CMakeFindDependencyMacro.html). We should bump CMake accordingly.
Long build times - O(10 minutes) - have been observed building the full OKS stack as described here. One major contributor appears to be the fact that thanks to recursive dependencies,
find_package
/find_dependency
gets called about 3000 times during that build. This (theoretically unnecessary) recursion, which we get with our current version of CMake (v3.23.1) apparently got fixed in CMake v3.26 (https://cmake.org/cmake/help/latest/module/CMakeFindDependencyMacro.html). We should bump CMake accordingly.