Closed sandybhat16 closed 1 year ago
no, currently the package provides both includes & libs
Thank you for your response.
That's not true anymore as of a major overhaul for 1.82 we did. You can install libboost-headers
and only get the headers
oh, I didnt know that, sorry
@h-vetinari is this a package already on conda-forge? I cannot find any with the name 'libboost-headers
'
look again: https://anaconda.org/search?q=libboost-headers
I cannot find any with the name '
libboost-headers
'
If you're looking for the feedstock, it's here. For more context, see #25 / #137 or https://github.com/conda-forge/boost-feedstock/pull/164
Thank you @jschueller @h-vetinari . Unfortunately this is only for the version 1.82. For the lower versions like 1.70.0, I might need to create my own recipe. I am new to conda and exploring stuff.
Boost has pretty excellent compatibility. If you're only using the headers, I don't see a reason why 1.82 shouldn't work in 99% of the cases. IMO you should give it a try and see if it works. ;-)
I am almost sure that it will work. But since our project is already using 1.70.0, we don't want to break the compatibility. Maybe we later update if necessary :)
Alright, you do whatever suits you. At least you now have another reason to upgrade. ;)
OTOH, this issue can now be closed.
Comment:
I am trying to install the boost package. But I was wondering if there is a way to specify an option like 'headers_only'. As I only need the header files from this package. Of course I can install the package and take out the include directory and use. But if there was a way to install a header only package, it would be helpful.