[Lldb-commits] [PATCH] Change the way SWIG is found, and fixed a typo in OS detection
Ismail Pazarbasi
ismail.pazarbasi at gmail.com
Mon Nov 17 00:37:49 PST 2014
On Darwin, if `LLDB_ENABLE_PYTHON_SCRIPTS_SWIG_API_GENERATION` is enabled, OS detection was failing. This is fixed in scripts/utilsOsType.py:80.
Fixing that didn't help; scripts/buildSwigWrapperClasses.py was not finding SWIG on Darwin. Instead of offloading finding SWIG in path to python, I thought adding `find_package(SWIG)` would make sense, because user has selected `LLDB_ENABLE_PYTHON_SCRIPTS_SWIG_API_GENERATION` in CMake.
http://reviews.llvm.org/D6290
More information about the lldb-commits
mailing list