SHA256
1
0
forked from pool/llvm14
Commit Graph

68 Commits

Author SHA256 Message Date
Ana Guerrero
c9ca5d98b0 Accepting request 1195709 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/1195709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=20
2024-08-23 20:27:10 +00:00
Aaron Puchert
85311f54d1 - 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/llvm14?expand=0&rev=67
2024-08-23 01:16:41 +00:00
Ana Guerrero
237c509fb4 Accepting request 1164602 from devel:tools:compiler
- Use old conflicts/provides for python3-clang on Leap.

OBS-URL: https://build.opensuse.org/request/show/1164602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=19
2024-04-05 18:27:34 +00:00
Aaron Puchert
a8e28d475d - Use old conflicts/provides for python3-clang on Leap.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=65
2024-04-03 21:22:04 +00:00
Ana Guerrero
9777cd8059 Accepting request 1156032 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/1156032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=18
2024-03-08 17:08:35 +00:00
Aaron Puchert
a4d669e40a - 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/llvm14?expand=0&rev=63
2024-03-07 01:47:14 +00:00
Aaron Puchert
3155c3bda6 - Undo _constraints change, doesn't seem necessary here.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=62
2024-03-05 00:25:20 +00:00
Aaron Puchert
5e2c537129 - 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/llvm14?expand=0&rev=61
2024-03-04 21:58:13 +00:00
Aaron Puchert
57c38099b3 - Disable test that fails on ppc64le.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=60
2024-03-04 00:34:56 +00:00
Aaron Puchert
68ac31f503 Accepting request 1154119 from home:pgajdos:l
- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1154119
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=59
2024-03-01 21:55:45 +00:00
Ana Guerrero
f1d0afc6f6 Accepting request 1146031 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1146031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=17
2024-02-12 17:52:34 +00:00
Aaron Puchert
bab6890a5f - Use %_target_* for determining the compiler host triple (boo#1218701)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=57
2024-02-04 20:52:34 +00:00
Ana Guerrero
bc62e213a8 Accepting request 1130633 from devel:tools:compiler
- Manage clang-cpp with update-alternatives like other binaries.

OBS-URL: https://build.opensuse.org/request/show/1130633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=16
2023-12-04 22:01:13 +00:00
Aaron Puchert
60fe2e09e3 - Manage clang-cpp with update-alternatives like other binaries.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=55
2023-12-01 21:37:46 +00:00
Dominique Leuenberger
1c153ee1f4 Accepting request 1093400 from devel:tools:compiler
- Make python3-clang noarch again and fix conflicts/provides to
  point to %python3_sitelib instead of %python3_sitearch.
- Add patch to fix segmentation fault on aarch64 - boo#1212264:
  * llvm14-fix-segfault-on-aarch64.patch

OBS-URL: https://build.opensuse.org/request/show/1093400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=15
2023-06-19 20:50:13 +00:00
Aaron Puchert
a707a3c5db - Make python3-clang noarch again and fix conflicts/provides to
point to %python3_sitelib instead of %python3_sitearch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=53
2023-06-16 01:11:59 +00:00
Aaron Puchert
b6dee0918e Accepting request 1093062 from home:Guillaume_G:branches:devel:tools:compiler
- Add patch to fix segmentation fault on aarch64 - boo#1212264:
  * llvm14-fix-segfault-on-aarch64.patch

OBS-URL: https://build.opensuse.org/request/show/1093062
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=52
2023-06-14 19:34:37 +00:00
Dominique Leuenberger
9d324a2e12 Accepting request 1086114 from devel:tools:compiler
- No longer expect test failures on s390x that have disappeared.

OBS-URL: https://build.opensuse.org/request/show/1086114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=14
2023-05-11 10:33:36 +00:00
Aaron Puchert
72d1cce739 Accepting request 1086113 from home:aaronpuchert:branches:devel:tools:compiler
- No longer expect test failures on s390x that have disappeared.

OBS-URL: https://build.opensuse.org/request/show/1086113
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=50
2023-05-10 16:40:06 +00:00
Dominique Leuenberger
5704dae4a9 Accepting request 1079674 from devel:tools:compiler
- Ignore test failures on Leap 15.x ppc64le.

OBS-URL: https://build.opensuse.org/request/show/1079674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=13
2023-04-16 14:07:09 +00:00
Aaron Puchert
db6074bed8 Accepting request 1079673 from home:aaronpuchert:branches:devel:tools:compiler
- Ignore test failures on Leap 15.x ppc64le.

OBS-URL: https://build.opensuse.org/request/show/1079673
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=48
2023-04-15 21:43:22 +00:00
Dominique Leuenberger
726e404b49 Accepting request 1032339 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/1032339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=12
2022-11-01 12:40:16 +00:00
Aaron Puchert
0ff258a39b - 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/llvm14?expand=0&rev=46
2022-10-30 14:22:53 +00:00
Fabian Vogt
c558302980 Accepting request 1007779 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1007779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=11
2022-10-10 16:44:39 +00:00
Aaron Puchert
6e6f69201a Accepting request 1006553 from home:firstyear:branches:devel:languages:rust
- Add llvm-preserve-symbols-used.patch to resolve some symbols preserving
  with asm in Rust.

OBS-URL: https://build.opensuse.org/request/show/1006553
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=44
2022-09-28 13:58:55 +00:00
Dominique Leuenberger
a065261332 Accepting request 1005472 from devel:tools:compiler
- Always drop -gnu from triple for consistency. Patch a test that
  was looking for -linux- in clang-test-xfail-gnuless-triple.patch.
- Use correct LLVM_HOST_TRIPLE for riscv64

OBS-URL: https://build.opensuse.org/request/show/1005472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=10
2022-09-25 13:34:13 +00:00
Aaron Puchert
abbfdf5c7d Accepting request 1005471 from home:aaronpuchert:branches:devel:tools:compiler
- Always drop -gnu from triple for consistency. Patch a test that
  was looking for -linux- in clang-test-xfail-gnuless-triple.patch.

OBS-URL: https://build.opensuse.org/request/show/1005471
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=42
2022-09-22 18:22:31 +00:00
Aaron Puchert
77b3f7ed26 Accepting request 1004848 from openSUSE:Factory:RISCV
- Use correct LLVM_HOST_TRIPLE for riscv64

OBS-URL: https://build.opensuse.org/request/show/1004848
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=41
2022-09-20 21:37:44 +00:00
Dominique Leuenberger
805d92636e Accepting request 1001713 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-scev-fix-isImpliedViaMerge.patch: fixes a miscompilation
  caused by mixing up values of the current and previous iteration.
  (See gh#llvm/llvm-project#56242.)

OBS-URL: https://build.opensuse.org/request/show/1001713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=9
2022-09-08 12:21:38 +00:00
Aaron Puchert
e9a416c98a - Make llvm-scev-fix-isImpliedViaMerge.patch's test work without
opaque pointers. LLVM 14 isn't using them by default yet.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=39
2022-09-03 18:27:55 +00:00
Aaron Puchert
50afd4a305 - 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-scev-fix-isImpliedViaMerge.patch: fixes a miscompilation
  caused by mixing up values of the current and previous iteration.
  (See gh#llvm/llvm-project#56242.)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=38
2022-09-03 16:28:17 +00:00
Dominique Leuenberger
15448811ec Accepting request 999576 from devel:tools:compiler
- Add llvm-lifetime-for-rust.patch to have Rust memory management
  functions considered as lifetime markers. This should aid dead
  store elimination to dynamically allocated memory in Rust code.
- Don't declare python3-clang as noarch: Python packages are
  installed into %{_libdir}.
- Use black RPM macro magic to deduplicate binary lists. This
  should have no effect on the generated RPM but shaves ~400 lines
  off the specfile and hopefully makes future maintenance easier.

OBS-URL: https://build.opensuse.org/request/show/999576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=8
2022-08-29 07:42:17 +00:00
Aaron Puchert
111d72ecd8 - More changes to llvm-lifetime-for-rust.patch.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=36
2022-08-27 14:49:23 +00:00
Aaron Puchert
636a08ee69 - Make llvm-lifetime-for-rust.patch even more correct.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=35
2022-08-27 10:59:28 +00:00
Aaron Puchert
998bf98934 - Try to fix test failure after llvm-lifetime-for-rust.patch.
We don't care whether the PlayStation SDK has Rust functions.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=34
2022-08-27 02:07:40 +00:00
Aaron Puchert
4e37c37b16 - Add llvm-lifetime-for-rust.patch to have Rust memory management
functions considered as lifetime markers. This should aid dead
  store elimination to dynamically allocated memory in Rust code.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=33
2022-08-26 23:23:42 +00:00
Aaron Puchert
64c035b70e - Replace %dnl in lists by something Leap's RPM understands.
- Rename groups a bit.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=32
2022-08-26 00:27:31 +00:00
Aaron Puchert
c5f877a9d0 - Seems that llvm-ifs is more ABI-related than about ELF.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=31
2022-08-24 01:48:35 +00:00
Aaron Puchert
37a5c072e8 - Split man pages in three groups.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=30
2022-08-24 01:45:29 +00:00
Aaron Puchert
40d55dde86 - Group LLVM binaries by topic.
- Don't declare python3-clang as noarch: Python packages are
  installed into %{_libdir}.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=29
2022-08-24 01:24:16 +00:00
Aaron Puchert
341435996f Accepting request 995044 from home:aaronpuchert:branches:devel:tools:compiler
- Use black RPM macro magic to deduplicate binary lists. This
  should have no effect on the generated RPM but shaves ~400 lines
  off the specfile and hopefully makes future maintenance easier.

OBS-URL: https://build.opensuse.org/request/show/995044
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=28
2022-08-14 15:21:22 +00:00
Dominique Leuenberger
09f1360bbf Accepting request 994402 from devel:tools:compiler
- Add WebAssembly support for all architectures.
- Add llvm-glibc-2-36.patch in order to address boo#1202215.

OBS-URL: https://build.opensuse.org/request/show/994402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=7
2022-08-11 16:31:40 +00:00
Aaron Puchert
72eab2d053 - Add WebAssembly support for all architectures.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=26
2022-08-10 20:23:03 +00:00
Aaron Puchert
3feadfbab6 Accepting request 994304 from home:MSirringhaus:branches:devel:tools:compiler
Add Webassembly-target to ARM and PPC

OBS-URL: https://build.opensuse.org/request/show/994304
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=25
2022-08-10 20:12:22 +00:00
Aaron Puchert
51c20df2db Accepting request 993962 from home:marxin:branches:devel:tools:compiler
- Add llvm-glibc-2-36.patch in order to address boo#1202215.

OBS-URL: https://build.opensuse.org/request/show/993962
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=24
2022-08-09 18:48:54 +00:00
Dominique Leuenberger
2727ad6af4 Accepting request 986923 from devel:tools:compiler
- Update to version 14.0.6.
  * This release contains bug-fixes for the LLVM 14.0.0 release.
    This release is API and ABI compatible with 14.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/986923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=6
2022-07-07 10:56:07 +00:00
Aaron Puchert
1c66dea296 Accepting request 986921 from home:aaronpuchert:branches:devel:tools:compiler
- Update to version 14.0.6.
  * This release contains bug-fixes for the LLVM 14.0.0 release.
    This release is API and ABI compatible with 14.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/986921
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=22
2022-07-05 20:50:14 +00:00
Dominique Leuenberger
cd5bb12435 Accepting request 983702 from devel:tools:compiler
- Update to version 14.0.5.
  * This release contains bug-fixes for the LLVM 14.0.0 release.
    This release is API and ABI compatible with 14.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/983702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=5
2022-06-20 13:36:56 +00:00
Aaron Puchert
85f66ead87 Accepting request 983701 from home:aaronpuchert:branches:devel:tools:compiler
- Update to version 14.0.5.
  * This release contains bug-fixes for the LLVM 14.0.0 release.
    This release is API and ABI compatible with 14.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/983701
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=20
2022-06-19 15:20:12 +00:00
Dominique Leuenberger
049aa24a98 Accepting request 979618 from devel:tools:compiler
- Update to version 14.0.4.
  * This release contains bug-fixes for the LLVM 14.0.0 release.
    This release is API and ABI compatible with 14.0.0.
- Don't use gold for linking anymore: on s390x we use ld.bfd with
  LLVMgold.so, on ppc64 we disable ThinLTO for now.
- 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.
- Prefer RPM macros over shell scripting, so that we can better
  inspect the build script with substitutions in place.
- More memory for stage 1 build jobs due to recent OOMs.
- Add %_libclang_sonum RPM macro to llvm-devel, since that might
  now diverge from %_llvm_sonum.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/979618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm14?expand=0&rev=4
2022-05-30 10:41:58 +00:00