summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/case.py
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-01-29 21:03:42 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-15 21:47:00 +0000
commit30bf380decda55c54d7866597eedae45548a56f7 (patch)
treee313edbfd131d18007259000977501d9d4863063 /scripts/lib/checklayer/case.py
parent50c9b503bc29abb4bd508950555324b42f373d9e (diff)
downloadpoky-30bf380decda55c54d7866597eedae45548a56f7.tar.gz
scons: Pass MAXLINELENGTH to scons invocation
This helps in overcoming a problem when using scons with ccache enabled. When commands get longer, then it resorts to using response files to do the operations e.g. @/tmp/tmp96j6icra.lnk when this response file is inboked by compiler it works ok, however, this does not when ccache is used to invoke the complilation. We see errors e.g. ccache @/tmp/tmppsyij_0v.lnk ccache: error: execute_noreturn of @/tmp/tmppsyij_0v.lnk failed: No such file or directory Using MAXLINELENGTH setting ensures that we can use ARG_MAX to extend the length of commandline and hence avoid using response files. This issue is also reported in mongodb [1] [1] https://jira.mongodb.org/browse/SERVER-38389 (From OE-Core rev: d361b7ddfb92e2b14e217377e02ca06cb936a54f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 29558f6218f4676b459f2c78f82d245339d51c8c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/case.py')
0 files changed, 0 insertions, 0 deletions