Add lldb to the build
This optionally adds lldb (and clang, which it needs) to the build. Because rust uses LLVM 7, and because clang 7 is not yet released, a recent git master version of clang is used. The lldb that is used includes the Rust plugin. lldb is only built when asked for, or when doing a nightly build on macOS. Only macOS is done for now due to difficulties with the Python dependency.
This commit is contained in:
parent
5bb2094d89
commit
6e3a4f4ddd
16 changed files with 225 additions and 23 deletions
|
@ -721,6 +721,10 @@ class RustBuild(object):
|
|||
config = self.get_toml('lld')
|
||||
if config is None or config == 'false':
|
||||
continue
|
||||
if module.endswith("lldb") or module.endswith("clang"):
|
||||
config = self.get_toml('lldb')
|
||||
if config is None or config == 'false':
|
||||
continue
|
||||
check = self.check_submodule(module, slow_submodules)
|
||||
filtered_submodules.append((module, check))
|
||||
submodules_names.append(module)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue