Open leha-bot opened 2 years ago
I don't think conan has such functionality (yet). This feature is useful though.
Perhaps open a question/feature request at conan's bug tracker (if such a question does not exist already).
Thanks for you advice, I'll make an issue in conan itself.
Btw I think that the boost-ex-simd
should live in conan center (as it has a lot of forks and thus it is used by many people), may I suggest my own recipe to conan-center? If you don't mind
Sure, don't hesitate to open a pr for it.
I'm wondering, it looks like the original boost.simd
is no longer maintained. See https://github.com/agenium-scale/boost.simd
They say it is replaced by https://github.com/agenium-scale/nsimd.
You intend to use https://github.com/procxx/boost.simd
as its homepage.
Will that be a stable source/project?
Yes, I specially forked it into our own small C++ community organisation for archive purposes :)
The nsimd
is pretty cool too, but it requires to codegen the sources.
I'm currently experimenting with local recipe which do its codegen logic in source()
, and will try to make an PR too
I made a recipe for fork of the removed Boost.SIMD library (I archived it too here) (not planned for conan-center as library until it will be requested 😉).
Some exposition:
Boost.SIMD
is a portable SIMD library that was proposed as a Boost library, but did not accepted. It injects its exported CMake target into theBoost::
namespace and recursively includes theFindBoost.cmake
in its generated files to "wrap" the upstream Boost components.I modelled this injection like the Conan-Center's
boost-ext-ut
, capitalizing thecmake_find_package[_multi].name
toBoost
, and in test consumer case the Boost.SIMD (for brevity I copied thepackage_info()
method here):and the main Boost didn't compose into the one namespace (the generated
FindBoost.cmake
overrides theFindBoost.SIMD.cmake
logic, so this CMake snippet won't work:I think that the conan upstream
could
provide some hooks to allow to compose the recipes into one big namespace (it could also helps with some huge frameworks like Qt, which has a lot of libraries outside the main distribution (e.g.QtPDF
with exported CMake targetQt5::PDF
, etc...), poco and another...)Thanks for your attention!
P.s.
boost-ext-ut
has a bug with boost namespaces, I will report it in another issue and'll make an PR 😊 , if you don't mind