conan icon indicating copy to clipboard operation
conan copied to clipboard

[feature] In build-order.json, provide build_args even when binary="Download"

Open nextsilicon-itay-bookstein opened this issue 6 months ago • 14 comments

What is your suggestion?

Hi! I wrote some automation around conan graph build-order. I found myself needing special handling for the case where binary="Download" (as opposed to "Build"). I would like to handle that case and have the package installed in response to that node in the build order, but for that to work properly I find I have to create build_args for myself. In particular I need to encode all the options, because otherwise the package wouldn't match (e.g. fPIC). I think it would be useful to encode build_args in this case as well, unless you have better practice to suggest.

Thanks, Itay

Have you read the CONTRIBUTING guide?

  • [X] I've read the CONTRIBUTING guide