OSDN Git Service

[lldb] Bump the required SWIG version to 3
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 8 Jan 2021 16:46:19 +0000 (08:46 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 8 Jan 2021 16:47:21 +0000 (08:47 -0800)
commitcb6d53ccdc7288f1bb62b0d50055545acfb59f77
tree4d85f756a80ecc25cb37c471ea10796a8f268cd3
parent466df1718e41fe2fca6ce6bd98c01b18f42c05e4
[lldb] Bump the required SWIG version to 3

Bump the required SWIG version to 3. If my memory serves me well we last
bumped the required SWIG version to 2 for Python 3. At that time SWIG 3
had already been around for a while so everyone I know was already using
that.

It appears that SWIG 3 is the only version that officially supports
C++11 which we're using in the typemap. SWIG 3 was released in 2014 so I
think it's reasonable to make that the minimum required version.

https://bugs.llvm.org/show_bug.cgi?id=48685

Differential revision: https://reviews.llvm.org/D94244
lldb/cmake/modules/FindLuaAndSwig.cmake
lldb/cmake/modules/FindPythonAndSwig.cmake
lldb/docs/resources/build.rst