add --codegen-backends=foo,bar ./configure flag
Unfortunately this requires a proper ./configure flag, as the codegen backends config entry is a list, not a string (breaking --set).
This commit is contained in:
parent
8df945c471
commit
f63c80556a
1 changed files with 3 additions and 0 deletions
|
@ -160,6 +160,7 @@ o("full-bootstrap", "build.full-bootstrap", "build three compilers instead of tw
|
||||||
o("extended", "build.extended", "build an extended rust tool set")
|
o("extended", "build.extended", "build an extended rust tool set")
|
||||||
|
|
||||||
v("tools", None, "List of extended tools will be installed")
|
v("tools", None, "List of extended tools will be installed")
|
||||||
|
v("codegen-backends", None, "List of codegen backends to build")
|
||||||
v("build", "build.build", "GNUs ./configure syntax LLVM build triple")
|
v("build", "build.build", "GNUs ./configure syntax LLVM build triple")
|
||||||
v("host", None, "GNUs ./configure syntax LLVM host triples")
|
v("host", None, "GNUs ./configure syntax LLVM host triples")
|
||||||
v("target", None, "GNUs ./configure syntax LLVM target triples")
|
v("target", None, "GNUs ./configure syntax LLVM target triples")
|
||||||
|
@ -339,6 +340,8 @@ for key in known_args:
|
||||||
set('target.{}.llvm-filecheck'.format(build()), value)
|
set('target.{}.llvm-filecheck'.format(build()), value)
|
||||||
elif option.name == 'tools':
|
elif option.name == 'tools':
|
||||||
set('build.tools', value.split(','))
|
set('build.tools', value.split(','))
|
||||||
|
elif option.name == 'codegen-backends':
|
||||||
|
set('rust.codegen-backends', value.split(','))
|
||||||
elif option.name == 'host':
|
elif option.name == 'host':
|
||||||
set('build.host', value.split(','))
|
set('build.host', value.split(','))
|
||||||
elif option.name == 'target':
|
elif option.name == 'target':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue