forked from Mirror/pmbootstrap
Add "crossdirect": faster cross compiling (!1758)
Launch native cross compilers inside foreign chroot. Enable by default, but allow disabling with --no-crossdirect for now. This option and the distcc-sshd related code will be removed in the future.
This commit is contained in:
parent
7f9bfee722
commit
1fffe83df3
6 changed files with 36 additions and 6 deletions
|
@ -324,6 +324,12 @@ def arguments():
|
|||
# Compiler
|
||||
parser.add_argument("--ccache-disable", action="store_false",
|
||||
dest="ccache", help="do not cache the compiled output")
|
||||
parser.add_argument("--no-crossdirect", action="store_true",
|
||||
help="Don't use the new, faster 'crossdirect' method,"
|
||||
" use the old 'distcc-sshd' method instead. Use"
|
||||
" if crossdirect broke something. This option"
|
||||
" and the legacy 'distcc-sshd' code will be"
|
||||
" removed soon if no problems turn up.")
|
||||
parser.add_argument("--distcc-nofallback", action="store_false",
|
||||
help="when using the cross compiler via distcc fails,"
|
||||
"do not fall back to compiling slowly with QEMU",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue