- Disable LLDB Python bindings on SLE/Leap. They now require Swig 4

which isn't available there.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=3
This commit is contained in:
Aaron Puchert 2024-03-10 13:45:51 +00:00 committed by Git OBS Bridge
parent 2a443a1721
commit 651588ceaa
2 changed files with 7 additions and 0 deletions

View File

@ -30,6 +30,8 @@ Sat Mar 9 22:37:29 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
* llvm-fix-cov-test-i586.patch * llvm-fix-cov-test-i586.patch
- Restructure version macros in specfile for new versioning scheme. - Restructure version macros in specfile for new versioning scheme.
- Fix packaging of ld.lld as ld alternative. - Fix packaging of ld.lld as ld alternative.
- Disable LLDB Python bindings on SLE/Leap. They now require Swig 4
which isn't available there.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 6 03:20:24 UTC 2024 - Michael Gorse <mgorse@suse.com> Wed Mar 6 03:20:24 UTC 2024 - Michael Gorse <mgorse@suse.com>

View File

@ -49,8 +49,13 @@
%ifarch aarch64 x86_64 %ifarch aarch64 x86_64
%bcond_without lldb %bcond_without lldb
%if %{suse_version} > 1600
%bcond_without lldb_python %bcond_without lldb_python
%else %else
# LLDB Python bindings require Swig 4, which SLE/Leap don't have.
%bcond_with lldb_python
%endif
%else
%bcond_with lldb %bcond_with lldb
%bcond_with lldb_python %bcond_with lldb_python
%endif %endif