summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/buildSwigWrapperClasses.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove superseded buildSwigWrapperClasses.py and buildSwigPython.py classesTodd Fiala2015-11-181-451/+0
| | | | | | | This closes: http://reviews.llvm.org/D14783 llvm-svn: 253513
* [swig] Remove check_lldb_swig_executable_file_exists.Bruce Mitchener2015-11-061-136/+1
| | | | | | | | | | | | | | | | | Summary: Code that tried to find swig and then split the path into a separate path and filename is being removed. The invoking build system always provides the location of swig and we don't need to split it into 2 pieces only to recombine it a short time later. Reviewers: zturner, domipheus Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D14415 llvm-svn: 252330
* [swig] Start of pylint on python build scripts.Bruce Mitchener2015-11-051-203/+203
| | | | | | | | | | | | | | | | | | | | | | | Summary: This does a broad first pass on cleaning up a lot of the noise when using pylint on these scripts. It mostly addresses issues of: * Mixed tabs and spaces. * Trailing whitespace. * Semicolons where they aren't needed. * Incorrect whitespace around () and []. * Superfluous parentheses. There will be subsequent patches with further changes that build upon these. Reviewers: zturner, domipheus Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D14375 llvm-svn: 252244
* Revert "Python 3 - Don't add the _d suffix to the symlink on Windows."Zachary Turner2015-11-041-2/+0
| | | | | | | | | | | | This reverts commit e59c95ca936f5a0a8abb987b8605fd8bf82b03b6. This was a mistake on my part. The real problem was with my environment. I was using a release interpreter to try to load my debug extension module. I noticed this after I finally managed to get into my extension module's init method, and then it segfaulted with heap errors due to mismatched CRT (debug vs. release) llvm-svn: 252030
* Python 3 - Don't add the _d suffix to the symlink on Windows.Zachary Turner2015-11-041-0/+2
| | | | | | | | | | | In Python 2, a debug extension module required an _d suffix, so for example the extension module `_lldb` would be backed by the file `_lldb_d.pyd` if built in debug mode, and `_lldb.pyd` if built in release mode. In Python 2, although undocumented, this seems to no longer be the case, and even for a debug extension module, the interpreter will only look for the `_lldb.pyd` name. llvm-svn: 252026
* Run py2to3 on lldb/scripts folder.Zachary Turner2015-10-191-5/+5
| | | | | | | This mostly fixes some print statements, but there were also some instances of dict.iteritems() lingering that this found. llvm-svn: 250762
* Update swig generation scripts to support Python 3.Zachary Turner2015-10-061-15/+17
| | | | llvm-svn: 249467
* Ignore the .svn directory when building swig wrappers (bug #23917)Pavel Labath2015-06-291-0/+3
| | | | llvm-svn: 240942
* Start to share SWIG interface files between languages.Bruce Mitchener2015-04-241-0/+3
| | | | | | | | | | | | | | | | | | | | Summary: Move scripts/Python/interface to scripts/interface so that we can start making iterative improvements towards sharing the interface files between multiple languages (each of which would have their own directory as now). Test Plan: Build and see. Reviewers: zturner, emaste, clayborg Reviewed By: clayborg Subscribers: mjsabby, lldb-commits Differential Revision: http://reviews.llvm.org/D9212 llvm-svn: 235676
* Remove non-standard Environment header sectionEd Maste2015-03-231-5/+0
| | | | llvm-svn: 232973
* Avoid output on successful execution of the SWIG scriptsEd Maste2015-03-201-4/+2
| | | | | | | Standard practice for tools like this upon success is no output and a zero return value. llvm-svn: 232841
* Fix whitespace on Python SWIG wrapperEd Maste2015-03-081-470/+470
| | | | llvm-svn: 231600
* Find SWIG with CMakeIsmail Pazarbasi2014-11-181-13/+16
| | | | | | | | | | SWIG is searched under certain paths within python script. CMake can detect SWIG with find_package(SWIG). This is used iff user checks LLDB_ENABLE_PYTHON_SCRIPTS_SWIG_API_GENERATION. If buildSwigWrapperClasses.py does not receive swigExecutable argument, then the script will use its current search implementation. llvm-svn: 222262
* Fix buildSwigWrapperClasses.py after recent break.Zachary Turner2014-11-171-7/+28
| | | | | | | A re-ordering of some enum values exposed a lingering bug where an invalid key was indexing a dictionary. llvm-svn: 222154
* This creates a valid Python API for Windows, pending some issues. The ↵Deepak Panickal2014-07-011-0/+561
changes included are - - Ported the SWIG wrapper shell scripts to Python so that they would work on Windows too along with other platforms - Updated CMake handling to fix SWIG errors and manage sym-linking on Windows to liblldb.dll - More build fixes for Windows The pending issues are that two Python modules, termios and pexpect are not available on Windows. These are currently required for the Python command interpreter to be used from within LLDB. llvm-svn: 212111
OpenPOWER on IntegriCloud