-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Make.defs: Fix flock: failed to execute @: No such file or directory #342
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
Conversation
remove $(Q) in ARCHIVE which is added back in commit fd3e2c5 accidentally Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
I don't like the idea of removing these. It makes the build output really ugly. Allan did at least remove the echo's that were being echoed, but still the user experience is very much degraded. |
|
I would at least like to understand why you doing this and if you have considered all possible alternatives |
|
see apache/nuttx-apps#81 for an alternative |
But the output is almost same, here is the output before modification: And the new output: The difference is: "AR :" v.s. "ar rcs libsched.a", On the other hand, there isn't any ar output now by default if we add $(Q). BTW, if we make with V=1, the old approach ouptut the almost same thing twice: |
|
But that is not the case for archivers that archive one file at a time in a Bash loop |
|
Why do you need this change? It looks like a bad changes, just doing things the easy way to avoid the right solution. |
Here is reason, to avoid the multiple thread write libapps.a, we need add flock around ARCHIVE like this: |
Yes, z80 series will be a problem, since I don't work with z80 and can't understand why z80 ar so different to other toolchain. |
|
z80/z16 need the for loop because the archiver can add only one file to the archive at a tim.e Does PR81 change anything? Does this still need to be merged. |
remove $(Q) in ARCHIVE which is added back in commit fd3e2c5 accidentally
Signed-off-by: Xiang Xiao xiaoxiang@xiaomi.com