mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 03:56:16 +08:00
Install six.py conditionally
Summary: The current version of LLDB installs six.py into global python library directory. This approach produces conflicts downstream with distribution's py-six copy. Introduce new configure option LLDB_USE_SYSTEM_SIX (disabled by default). Once specified as TRUE, six.py won't be installed to Python's directory. Add new option in finishSwigWrapperClasses.py, namely --useSystemSix. Sponsored by <The NetBSD Foundation> Reviewers: mgorny, emaste, clayborg, joerg, labath Reviewed By: labath Subscribers: #lldb Tags: #lldb Differential Revision: https://reviews.llvm.org/D29405 llvm-svn: 294071
This commit is contained in:
@@ -821,7 +821,9 @@ def main(vDictArgs):
|
||||
bOk, strMsg = create_symlinks(
|
||||
vDictArgs, strFrameworkPythonDir, strLldbLibDir)
|
||||
|
||||
if bOk:
|
||||
bUseSystemSix = "--useSystemSix" in vDictArgs
|
||||
|
||||
if not bUseSystemSix and bOk:
|
||||
bOk, strMsg = copy_six(vDictArgs, strFrameworkPythonDir)
|
||||
|
||||
if bOk:
|
||||
|
||||
Reference in New Issue
Block a user