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
Makefile: Fix build verbosity for V=0 #1066
Makefile: Fix build verbosity for V=0 #1066
Conversation
✅ Checkpatch passed Beep boop! I ran Unikraft's
|
Hi @StefanJum! Looking at the surrounding code, it seems the underlying problem is that if I suspect the code would be to understand / fixed if the following things were separated:
Maybe this is a good chance to clean that up :) Your solution works for me. However, if I'm not missing something, it seems a new solution to the problem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @kubanrob, I don't really get your point. I've taken a look regarding the usage of Q
and it doesn't look that related to what @StefanJum added.
Maybe I'm missing something though. Do correct me if I'm wrong. The changes work, so I'll add my tag after your request gets sorted out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @StefanJum!
All good on my side.
Reviewed-by: Razvan Virtan virtanrazvan@gmail.com
Hello together (@mariasfiraiala), sorry for the late reply!
So basically
So I do not see why |
ac0196e
to
5f9b494
Compare
Indeed @kubanrob, looks like |
When setting `V=0`, we expect the verbosity level to be reduced, and only the build output to be printed, not the build commands. Set `Q = @` by default, in case `V != 0` is set, set `Q` appropriately. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com> GitHub-Fixes: unikraft#676
5f9b494
to
d034171
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @StefanJum!
Reviewed-by: Robert Kuban robert.kuban@opensynergy.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected, thanks!
Reviewed-by: Maria Sfiraiala maria.sfiraiala@gmail.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved-by: Razvan Deaconescu razvand@unikraft.io
When setting `V=0`, we expect the verbosity level to be reduced, and only the build output to be printed, not the build commands. Set `Q = @` by default, in case `V != 0` is set, set `Q` appropriately. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com> GitHub-Fixes: #676 Reviewed-by: Razvan Virtan <virtanrazvan@gmail.com> Reviewed-by: Robert Kuban <robert.kuban@opensynergy.com> Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #1066
When setting
V=0
, we expect the verbosity level to be reduced, andonly the build output to be printed, not the build commands.
Do that by adding the
-s
option toMAKEFLAGS
in caseV
is set to 0.Signed-off-by: Stefan Jumarea stefanjumarea02@gmail.com
GitHub-Fixes: #676
Prerequisite checklist
checkpatch.uk
on your commit series before opening this PR;Base target
x86_64
or N/A]kvm
,xen
or N/A]app-python3
or N/A]Additional configuration
Description of changes