Closed solomoncyj closed 2 weeks ago
None of the code in external/ is packaged or installed on its own, so that all seems irrelevant. liblmdb and randomx in external/ certainly cannot rely on a system package anyway.
ye s, but for packages like trezor-common, rapid json, and other submodule execpt for supercop are already in package managers
please prefer find_package
(if it's a normally CMake installed package) and only conditionally add_subdirectory(external)
.
No. The issue you're reporting doesn't exist. There are no components of external/ that are installed, therefore there cannot be any conflicts with distro package managers. This ticket is invalid.
None of the code in external/ is packaged or installed on its own, so that all seems irrelevant. liblmdb and randomx in external/ certainly cannot rely on a system package anyway.
Monero builds LMDB with non-default compile options. Distro packages are not compatible. RandomX is consensus-critical, you would have to be stupid or insane to trust someone else's build of it.
All of the components in external/ are at known specific versions. This is a requirement for both reliability and reproducibility.
In packaging, this will stop conflicts with system packages. moreover, some distrols, eg fedora, do not allow us to use static libs and or vendor 3rd party libs