[Lldb-commits] [PATCH] Change the way SWIG is found, and fixed a typo in OS detection

Ismail Pazarbasi ismail.pazarbasi at gmail.com
Sun Nov 16 14:09:54 PST 2014


Hi granata.enrico,

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 script will use its current search implementation.

This patch also fixes a typo in OS detection, where there is one too
many equals in the assignment for Darwin.

http://reviews.llvm.org/D6290

Files:
  scripts/CMakeLists.txt
  scripts/buildSwigWrapperClasses.py
  scripts/utilsArgsParse.py
  scripts/utilsOsType.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6290.16278.patch
Type: text/x-patch
Size: 5518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141116/de65420e/attachment.bin>


More information about the lldb-commits mailing list