Commit Graph

65 Commits

Author SHA256 Message Date
Ana Guerrero
db824f35f7 Accepting request 1224730 from devel:tools:compiler
- Apply clang-shlib-symbol-versioning.patch to add symbol versions
  to libclang-cpp.so similar to libLLVM.so. This is required when
  multiple versions of the library are loaded into the same
  process. (boo#1219405, boo#1221183, boo#1233220)

OBS-URL: https://build.opensuse.org/request/show/1224730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=23
2024-11-18 19:01:24 +00:00
Aaron Puchert
aa5717362e - Apply clang-shlib-symbol-versioning.patch to add symbol versions
to libclang-cpp.so similar to libLLVM.so. This is required when
  multiple versions of the library are loaded into the same
  process. (boo#1219405, boo#1221183, boo#1233220)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=55
2024-11-17 20:16:49 +00:00
Ana Guerrero
8b686b7cfa Accepting request 1195710 from devel:tools:compiler
- Add minor version to Python shebangs. (boo#1212476)
- Remove shebang and executable bit where not needed.

OBS-URL: https://build.opensuse.org/request/show/1195710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=22
2024-08-23 20:27:14 +00:00
Aaron Puchert
61e1b08b32 - Add minor version to Python shebangs. (boo#1212476)
- Remove shebang and executable bit where not needed.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=53
2024-08-23 01:19:30 +00:00
Ana Guerrero
4fef33e94a this wasn't ready yet
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=21
2024-08-21 07:46:46 +00:00
OBS User buildservice-autocommit
e92cd45f13 Updating link to change in openSUSE:Factory/llvm13 revision 21
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=9564e1e7a812ccb4a51f8a94d26bbaec
2024-08-21 07:46:46 +00:00
Ana Guerrero
85719f5aa9 Accepting request 1194782 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1194782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=20
2024-08-20 14:13:59 +00:00
Aaron Puchert
96e3869315 - Add %python3_fix_shebang_path to fix binaries dependency on
/usr/bin/python3 (bsc#1212476).

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=51
2024-08-19 21:04:58 +00:00
Ana Guerrero
a65c9d6650 Accepting request 1164603 from devel:tools:compiler
- Use old conflicts/provides for python3-clang on Leap.

OBS-URL: https://build.opensuse.org/request/show/1164603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=19
2024-04-05 18:27:38 +00:00
Aaron Puchert
21f729fb4c - Use old conflicts/provides for python3-clang on Leap.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=49
2024-04-03 21:22:55 +00:00
Ana Guerrero
3cebdd3fb8 Accepting request 1156033 from devel:tools:compiler
- Explicitly define PYTHON3_EXECUTABLE, since python 3.11 is being
  pulled in by cmake in SLE-15-SP6.
- Fix PowerPC triples: use powerpc[64[le]] instead of ppc[64[le]].
- Disable test that fails on ppc64le.
- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1156033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=18
2024-03-08 17:08:40 +00:00
Aaron Puchert
e7ebc9c219 - Explicitly define PYTHON3_EXECUTABLE, since python 3.11 is being
pulled in by cmake in SLE-15-SP6.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=47
2024-03-07 01:49:26 +00:00
Aaron Puchert
72d10641fd - Undo _constraints change, doesn't seem necessary here.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=46
2024-03-05 00:26:31 +00:00
Aaron Puchert
b1673b0e77 - Fix PowerPC triples: use powerpc[64[le]] instead of ppc[64[le]].
- Require 8 GB memory for 64-bit architectures to prevent OOM.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=45
2024-03-04 21:59:25 +00:00
Aaron Puchert
3b2ce34d98 - Disable test that fails on ppc64le.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=44
2024-03-04 00:35:44 +00:00
Aaron Puchert
232b3872a4 Accepting request 1154118 from home:pgajdos:l
- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1154118
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=43
2024-03-01 21:55:34 +00:00
Ana Guerrero
839dba49e9 Accepting request 1146054 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1146054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=17
2024-02-12 17:52:43 +00:00
Aaron Puchert
81bc94f08b - Use %_target_* for determining the compiler host triple (boo#1218701)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=41
2024-02-04 21:06:29 +00:00
Ana Guerrero
ede26c2726 Accepting request 1130634 from devel:tools:compiler
- Manage clang-cpp with update-alternatives like other binaries.

OBS-URL: https://build.opensuse.org/request/show/1130634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=16
2023-12-04 22:01:17 +00:00
Aaron Puchert
cbdb9b0faf - Manage clang-cpp with update-alternatives like other binaries.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=39
2023-12-01 21:42:34 +00:00
Dominique Leuenberger
b0507e2072 Accepting request 1093399 from devel:tools:compiler
- Fix conflicts/provides for python3-clang to point to
  %python3_sitelib instead of %python3_sitearch.

OBS-URL: https://build.opensuse.org/request/show/1093399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=15
2023-06-19 20:50:10 +00:00
Aaron Puchert
3a3db567ff - Fix conflicts/provides for python3-clang to point to
%python3_sitelib instead of %python3_sitearch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=37
2023-06-16 01:13:48 +00:00
Aaron Puchert
8aff38a4a4 - Don't declare python3-clang as noarch: Python packages are
installed into %{_libdir}.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=36
2023-06-15 22:52:32 +00:00
Dominique Leuenberger
754945f9b1 Accepting request 1086803 from devel:tools:compiler
- Don't use gold for linking anymore: on s390x we use ld.bfd with
  LLVMgold.so, on ppc64 we disable ThinLTO for now. (boo#1210688)
- Using ld.bfd on s390x exposed an issue with the existing
  llvm_build_tablegen_component_as_shared_library.patch: linking
  llvm-tblgen with libLLVM.so means we also have to link libraries
  used for that (like LLVMTableGenGlobalISel) with libLLVM.so.
- Rewrite summary and description for llvm-gold to point out that
  it can also be used with ld.bfd, recommend with binutils.

OBS-URL: https://build.opensuse.org/request/show/1086803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=14
2023-05-13 15:17:37 +00:00
Aaron Puchert
60ecb3fd2b Accepting request 1086802 from home:aaronpuchert:branches:devel:tools:compiler
- Don't use gold for linking anymore: on s390x we use ld.bfd with
  LLVMgold.so, on ppc64 we disable ThinLTO for now. (boo#1210688)
- Using ld.bfd on s390x exposed an issue with the existing
  llvm_build_tablegen_component_as_shared_library.patch: linking
  llvm-tblgen with libLLVM.so means we also have to link libraries
  used for that (like LLVMTableGenGlobalISel) with libLLVM.so.
- Rewrite summary and description for llvm-gold to point out that
  it can also be used with ld.bfd, recommend with binutils.

OBS-URL: https://build.opensuse.org/request/show/1086802
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=34
2023-05-12 16:44:19 +00:00
Dominique Leuenberger
ba640e8629 Accepting request 1074338 from devel:tools:compiler
- Add llvm-gcc13-issue55711.patch
  * Fix gh#llvm/llvm-project#55711 with gcc13

OBS-URL: https://build.opensuse.org/request/show/1074338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=13
2023-03-26 18:19:26 +00:00
Aaron Puchert
972647c912 Accepting request 1074310 from home:bnavigator:branches:devel:tools:compiler
- Add llvm-gcc13-issue55711.patch
  * Fix gh#llvm/llvm-project#55711 with gcc13

OBS-URL: https://build.opensuse.org/request/show/1074310
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=32
2023-03-25 15:53:59 +00:00
Dominique Leuenberger
99a1bed5ee Accepting request 1032340 from devel:tools:compiler
- Add lldb-swig-4.1.0-build-fix.patch: Fix build with Swig 4.1.0.

OBS-URL: https://build.opensuse.org/request/show/1032340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=12
2022-10-31 09:44:57 +00:00
Aaron Puchert
8187ea6947 - Add lldb-swig-4.1.0-build-fix.patch: Fix build with Swig 4.1.0.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=30
2022-10-30 14:30:03 +00:00
Dominique Leuenberger
dbb4e95f2e Accepting request 1001714 from devel:tools:compiler
- Make sure we keep -DNDEBUG. At some point %{optflags} must have
  lost it, perhaps because CMake usually adds it on top. So when
  overriding CMAKE_{C,CXX}_FLAGS_RELWITHDEBINFO, we make sure to
  take over the other flags. We drop LLVM_ENABLE_ASSERTIONS=OFF,
  because that's the default anyway and hasn't helped here.
- Add llvm-glibc-2-36.patch in order to address boo#1202215.

OBS-URL: https://build.opensuse.org/request/show/1001714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=11
2022-09-08 12:22:30 +00:00
Aaron Puchert
ebe220d18e - Make sure we keep -DNDEBUG. At some point %{optflags} must have
lost it, perhaps because CMake usually adds it on top. So when
  overriding CMAKE_{C,CXX}_FLAGS_RELWITHDEBINFO, we make sure to
  take over the other flags. We drop LLVM_ENABLE_ASSERTIONS=OFF,
  because that's the default anyway and hasn't helped here.
- Add llvm-glibc-2-36.patch in order to address boo#1202215.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=28
2022-09-03 21:19:24 +00:00
Dominique Leuenberger
ceae715f08 Accepting request 972707 from devel:tools:compiler
- Don't override default linker flags. (We were losing -Wl,-z,now.)

OBS-URL: https://build.opensuse.org/request/show/972707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=10
2022-04-28 21:06:52 +00:00
Aaron Puchert
83848354b0 - Remove one more comment.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=26
2022-04-24 21:46:16 +00:00
Aaron Puchert
bdb2af9c77 - Also remove comment. Let's hope it's outdated.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=25
2022-04-24 21:02:40 +00:00
Aaron Puchert
8a34fe795b - Don't override default linker flags. (We were losing -Wl,-z,now.)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=24
2022-04-24 20:59:57 +00:00
Dominique Leuenberger
d197a90939 Accepting request 969598 from devel:tools:compiler
- Split up Clang libraries: libclang.so is no longer so-versioned
  alongside LLVM but will stay at libclang.so.13 for now. So we
  put it into a separate package from libclang-cpp.so. Since we
  can't have multiple LLVM versions generate the same package, we
  prefix it for the non-default LLVM with a mechanism inspired by
  the GCC packaging.
- Patch exported clang/ClangTargets-relwithdebinfo.cmake to refer
  to libclang only by soname, because the installed library might
  be newer than the one originally build with the package.
- Use the same mechanism to for libc++ and package Clang scripts
  only for the default version. This means we'll no longer have to
  touch the package when a new major version comes out.
- Make sure we properly clean up the clang scripts if we're not
  packaging them.
- Let python3-clang use libclang.so.XX, which means we can always
  build it and makes it depend on libclang instead of clang-devel.
- Fix some rpmlint issues: we don't need explicit library
  dependencies that are detected automatically, and we add proper
  library dependencies to the *-devel packages.
- Merge llvm-LTO-devel into llvm-devel. That's where the header
  files already are, and they are hard to separate.
- Let llvm-polly-devel depend on llvm-devel.
- Remove libLTO and *-devel packages from baselibs, they don't
  seem to be needed. We mostly need libLLVM and maybe libclang-cpp.
- Consistently set host triple as *-suse-linux-gnu*.
- Only suggest documentation packages.
- Add llvm-rust-mangle-for-fastcall.patch for rust 1.59.
- Fix armv6hl cpu architecture typo.

OBS-URL: https://build.opensuse.org/request/show/969598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=9
2022-04-14 15:22:52 +00:00
Aaron Puchert
30fde1c807 - Check for armv6hl.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=22
2022-04-13 00:39:52 +00:00
Aaron Puchert
9bdb5b0efc - Fix trailing whitespace.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=21
2022-04-12 20:48:21 +00:00
Aaron Puchert
a047e503aa - Consistently set host triple as *-suse-linux-gnu*.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=20
2022-04-12 20:39:15 +00:00
Aaron Puchert
e38f24ab12 Accepting request 968066 from home:dirkmueller:Factory
- add llvm-rust-mangle-for-fastcall.patch for rust 1.59 

- fix armv6hl cpu architecture typo

OBS-URL: https://build.opensuse.org/request/show/968066
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=19
2022-04-12 20:08:35 +00:00
Aaron Puchert
b2e7998d08 - Remove *-devel packages from baselibs, they don't seem to be
needed. We mostly need libLLVM and maybe libclang-cpp.
- Add more conflicts/requirements to satisfy installcheck.
- Fix paths in clang-tools.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=18
2022-04-09 19:53:07 +00:00
Aaron Puchert
873759c6e8 - Patch exported clang/ClangTargets-relwithdebinfo.cmake to refer
to libclang only by soname, because the installed library might
  be newer than the one originally build with the package.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=17
2022-04-05 00:23:09 +00:00
Aaron Puchert
359a8abca9 - Re-add dependency of llvm-devel on llvm-polly-devel. (Again for CMake.)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=16
2022-04-04 01:02:52 +00:00
Aaron Puchert
1cf5b962af - Add back dependency of llvm-devel on libomp-devel. Not really
needed, but CMake is picky and the target is registered for LLVM.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=15
2022-04-03 23:11:26 +00:00
Aaron Puchert
fb427b4aeb Accepting request 966691 from home:aaronpuchert:llvm-next
- Split up Clang libraries: libclang.so is no longer so-versioned
  alongside LLVM but will stay at libclang.so.13 for now. So we
  put it into a separate package from libclang-cpp.so. Since we
  can't have multiple LLVM versions generate the same package, we
  prefix it for the non-default LLVM with a mechanism inspired by
  the GCC packaging.
- Use the same mechanism to for libc++ and package Clang scripts
  only for the default version. This means we'll no longer have to
  touch the package when a new major version comes out.
- Make sure we properly clean up the clang scripts if we're not
  packaging them.
- Let python3-clang use libclang.so.XX, which means we can always
  build it and makes it depend on libclang instead of clang-devel.
- Fix some rpmlint issues: we don't need explicit library
  dependencies that are detected automatically, and we add proper
  library dependencies to the *-devel packages.
- Merge llvm-LTO-devel into llvm-devel. That's where the header
  files already are, and they are hard to separate.
- Let libomp-devel no longer depend on libLLVM, and let llvm-devel
  no longer depend on libomp-devel. They are independent.
- Let llvm-devel no longer depend on llvm-polly-devel but let
  llvm-polly-devel depend on llvm-devel. We got that wrong.
- Remove libLTO from baselibs, it doesn't seem to be needed.
- Only suggest documentation packages.

OBS-URL: https://build.opensuse.org/request/show/966691
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=14
2022-04-03 20:07:39 +00:00
Dominique Leuenberger
844d9aa93b Accepting request 957799 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/957799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=8
2022-02-27 21:42:49 +00:00
Aaron Puchert
9bfbfd22b9 - Let clang-devel accept a newer version of clang-tools:
we don't keep multiple versions of the latter.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=13
2022-02-19 15:32:58 +00:00
Aaron Puchert
800d442603 - AND instead of OR in License tag after sr#954337.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=12
2022-02-15 12:14:52 +00:00
Aaron Puchert
e6ca3b05a8 - More conflicts for addition to Leap: clang-tools conflicts with
llvm9 because that doesn't have the move of hmaptool yet, and
  llvm13-devel with llvm{5,7} as they used to have FileCheck.1.gz.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=11
2022-02-14 14:40:35 +00:00
Dominique Leuenberger
c2ef5c3df9 Accepting request 952965 from devel:tools:compiler
- Add SUSE_Backports_policy-SLE_conflict to rpmlintrc, we're
  deliberately conflicting with SLE here to offer a newer version
  than what SUSE wants to support.
  (https://code.opensuse.org/leap/features/issue/55)

OBS-URL: https://build.opensuse.org/request/show/952965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=7
2022-02-11 22:07:01 +00:00