summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/qemurunner.py
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-01-29 21:03:42 -0800
committerSteve Sakoman <steve@sakoman.com>2023-02-10 09:04:03 -1000
commitb0e7777a911e236bda76e90258098057ed355953 (patch)
tree8a67e3359ae12e80ed0b1d654785b6c2885b6146 /meta/lib/oeqa/utils/qemurunner.py
parent5fbe4dd7dc45f8f219d5c7cd30b50928b69af26d (diff)
downloadopenembedded-core-b0e7777a911e236bda76e90258098057ed355953.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 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>
Diffstat (limited to 'meta/lib/oeqa/utils/qemurunner.py')
0 files changed, 0 insertions, 0 deletions