Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job evaluator doesn't receive -I' flag for sysbuild' inputs #50

Open
civodul opened this issue Nov 25, 2012 · 7 comments
Open

Job evaluator doesn't receive -I' flag for sysbuild' inputs #50

civodul opened this issue Nov 25, 2012 · 7 comments
Labels

Comments

@civodul
Copy link
Contributor

civodul commented Nov 25, 2012

Hello,

inputsToArgs' doesn't pass any-I' flag for sysbuild inputs when there are several builds for that input.

I'm not sure how to fix that since `inputsToArgs' is system-oblivious.

Thanks,
Ludo'.

@edolstra
Copy link
Member

edolstra commented Dec 6, 2012

Why should it pass -I for sysbuild inputs? In any case, if there are several values for an input, then it's not possible to pass the input using -I.

@civodul
Copy link
Contributor Author

civodul commented Dec 6, 2012

Well, why would it pass -I for builds, and not for sysbuilds? It seems to me that the same programming style should be available regardless of whether the input is a "build" or "sysbuild".

When there are several values for an input, inputsToArgs could be changed to return -I just for the input that matches the required system type.

WDYT?

@civodul
Copy link
Contributor Author

civodul commented Feb 20, 2013

Ping!

@edolstra
Copy link
Member

edolstra commented Mar 4, 2013

Okay, from looking at the code, it seems that sysbuild inputs do cause a -I flag to be passed, if there is only one alternative, same as with "build". But with sysbuild there are usually multiple alternatives so you don't get a -I flag.

It's not possible to return -I only for the matching system type, because the evaluator is called only once (i.e. for all system types at the same time).

@civodul
Copy link
Contributor Author

civodul commented Mar 4, 2013

Thanks for looking into it.

It's not clear to me why it's not possible to add -I for the matching system type. We know what system type we are building for, and we know what sysbuilds are available for that system type, don't we?

@edolstra
Copy link
Member

edolstra commented Mar 7, 2013

We don't know what system type we are building for. We only know that after calling the evaluator.

@gilligan
Copy link
Contributor

gilligan commented May 8, 2020

@edolstra i can't quite make sense of this issue. Should it be closed as a WONTFIX?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants