Open radonish opened 21 hours ago
Hi @radonish
Thanks for your question.
global.conf
Your global.conf might be extremely pessimistic (and inefficient), building from sources way more than should be built.
Are my assumptions above about using the profile correct? I ask because after my first attempt the build order operation failed with an "Invalid configuration" for the product (all of its dependencies were correctly calculated as "Build", however).
The "Invalid configuration" is unrelated to the conan graph build-order
. It is a state that will also happen with a conan graph info
or a conan install
using the same inputs. It is just being exposed here, but not due to the build-order
.
It would be necessary to have more data, it seems that there are dependencies with a validate()
method that raise ConanInvalidConfiguration
under some conditions.
Can you please check your recipes? Also providing a full output of the command might help.
Hello, in migrating to Conan 2 (currently using 2.9.0) I am working on updating Jenkins pipelines to use the new lock file and build order features. I've been reading over the work-in-progress CI tutorial documents.
We have multiple top-level products/applications that get built for multiple profiles (assuming "configurations" in the document is synonymous with "profiles").
Using the example product names of "game" and "mapviewer" I assumed this to be correct:
global.conf
Are my assumptions above about using the profile correct? I ask because after my first attempt the build order operation failed with an "Invalid configuration" for the product (all of its dependencies were correctly calculated as "Build", however).
Edit: To clarify, some product build orders succeeded but others failed with "Invalid configuration" - so, looking for an initial sanity check/confirmation that the algorithm is correct.
Thanks
Have you read the CONTRIBUTING guide?