This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Bump SWIG minimum version to 4
ClosedPublic

Authored by JDevlieghere on Aug 1 2023, 8:04 AM.

Details

Reviewers
omjavaid
DavidSpickett
labath
Group Reviewers
Restricted Project
Commits
rGe0053bc04e6b: [lldb] Bump SWIG minimum version to 4
Summary

SWIG 4 was released in 2019 and has been the de-facto standard for a while now. All bots are running SWIG 4.0 or later.

Hans found out that after 662548c LLDB no longer work with SWIG 3 [1]. I'm not sure if the issue is specific to Windows or a particular SWIG 3 version, but I think it's a good time to bump the minimum requirements to SWIG 4.

[1] https://github.com/llvm/llvm-project/issues/64279

Diff Detail

Event Timeline

JDevlieghere created this revision.Aug 1 2023, 8:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 1 2023, 8:04 AM
JDevlieghere requested review of this revision.Aug 1 2023, 8:04 AM
JDevlieghere edited the summary of this revision. (Show Details)
JDevlieghere edited the summary of this revision. (Show Details)

python.swig has a few checks for SWIG versions 3.0.9 and 3.0.10, those can be removed as well.

Remove check for SWIG 3.0.9-3.0.10 in python.swig.

Added the bot owners as reviewers for visibility.

We are on 4.01 (AArch64), 4.02 (Arm) and 4.1.1 (Windows on Arm), so we have no issues with this.

I didn't expect this to be controversial and I hear no objection so I'm going to go ahead and land this.

This revision was not accepted when it landed; it landed in state Needs Review.Aug 4 2023, 2:34 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2023, 2:34 PM