dyno icon indicating copy to clipboard operation
dyno copied to clipboard

Please add Conan Repository support

Open jwaterloo opened this issue 7 years ago • 9 comments

Please add Conan Repository support and please upload to a conan repo

jwaterloo avatar Jan 30 '18 17:01 jwaterloo

Dyno depends on Boost.CallableTraits, which does not have a Conan package yet. Bincrafters are working on it and they should have one soon, at which point I'll look into this again.

ldionne avatar Jan 30 '18 18:01 ldionne

It looks like it's available now - https://bintray.com/bincrafters/public-conan/boost_callable_traits%3Abincrafters

ArekPiekarz avatar Feb 12 '18 18:02 ArekPiekarz

The Bincrafter's packages appear to be broken in the sense that they don't include the CMake config files necessary to use the libraries from CMake (i.e. HanaConfig.cmake and CallableTraitsConfig.cmake). I'll see if that can be fixed.

ldionne avatar Feb 13 '18 04:02 ldionne

Also, regardless of the above issue, whether it's reasonable to support Conan will depend on the resolution of https://github.com/conan-io/conan/issues/2463

ldionne avatar Feb 13 '18 05:02 ldionne

What about this blog post [1] where Bincrafters list this as a highlight of the Boost 1.66 packages release:

"FindBoost.cmake : enables CMake files which refer to Boost::xyz to work without change"

To me it sounds like it should solve your issue, assuming it works and I'm interpreting it correctly. If it doesn't, maybe a question or a bug report for Bincrafters [2] should be filed.

[1] https://bincrafters.github.io/2018/02/12/Conan-Package-Boost-1-66-0/ [2] https://github.com/bincrafters/community/issues

ArekPiekarz avatar Feb 13 '18 21:02 ArekPiekarz

FYI Conan 1.4 added support for non-intrusive integration with CMake - https://blog.conan.io/2018/05/30/New-conan-release-1-4.html

ArekPiekarz avatar Jun 01 '18 10:06 ArekPiekarz

Support for this is planned -- one thing I need is for Boost.Hana and Boost.CallableTrait's Bincrafters packages to provide the CMake config files.

ldionne avatar Jun 01 '18 16:06 ldionne

Have you filed a bug report? Alternatively you can try a non-modular Boost package from conan-center - https://bintray.com/conan-community/conan/boost%3Aconan. Note that it allows disabling compilation of unneeded libraries.

ArekPiekarz avatar Jun 01 '18 17:06 ArekPiekarz

I have made a package available as dyno/0.1@lawrencem/stable Available from the remote https://api.bintray.com/conan/lawrencem99/lm

This is my branch for adding the recipe: https://github.com/Lawrencemm/dyno/tree/conan

Lawrencemm avatar Jul 20 '19 00:07 Lawrencemm