53 Commits

Author SHA256 Message Date
280b31de9a Accepting request 1301085 from devel:tools:compiler
- Add compiler-rt-remove-termio-interceptors.patch to fix build
  with glibc 2.42. (boo#1247576)

OBS-URL: https://build.opensuse.org/request/show/1301085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=21
2025-08-25 18:37:29 +00:00
Aaron Puchert
8381ca2cf2 - Add compiler-rt-remove-termio-interceptors.patch to fix build
with glibc 2.42. (boo#1247576)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=52
2025-08-23 12:59:32 +00:00
9242e32330 Accepting request 1295844 from devel:tools:compiler
- Disable ASLR during build to make libomp.so reproducible (boo#1199076)

OBS-URL: https://build.opensuse.org/request/show/1295844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=20
2025-07-26 11:42:22 +00:00
Aaron Puchert
4a8e1523f8 Accepting request 1295705 from home:bmwiedemann:branches:devel:tools:compiler
Disable ASLR during build to make libomp.so reproducible (boo#1199076)

OBS-URL: https://build.opensuse.org/request/show/1295705
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=50
2025-07-25 22:16:04 +00:00
4c80d82ebe Accepting request 1292354 from devel:tools:compiler
- Add reproducible.patch to make libomp.so reproducible (boo#1199076)
- Replace usage of %jobs for reproducible builds (boo#1237231)

OBS-URL: https://build.opensuse.org/request/show/1292354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=19
2025-07-14 08:51:22 +00:00
Aaron Puchert
b77491c68f Accepting request 1292274 from home:bmwiedemann:branches:devel:tools:compiler
* Add reproducible.patch to make libomp.so reproducible (boo#1199076)
* Replace usage of %jobs for reproducible builds (boo#1237231)

OBS-URL: https://build.opensuse.org/request/show/1292274
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=48
2025-07-12 13:35:42 +00:00
1fdcda9e5b Accepting request 1289504 from devel:tools:compiler
- Add llvm-fix-gcc15-build.patch to fix build with GCC 15.

OBS-URL: https://build.opensuse.org/request/show/1289504
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=18
2025-07-02 10:10:29 +00:00
Aaron Puchert
cd8e4b2271 Accepting request 1289500 from home:aaronpuchert:branches:devel:tools:compiler
- Add llvm-fix-gcc15-build.patch to fix build with GCC 15.

OBS-URL: https://build.opensuse.org/request/show/1289500
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=46
2025-07-01 11:34:21 +00:00
dde2f00f7f Accepting request 1251062 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/1251062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=17
2025-03-07 15:43:36 +00:00
Aaron Puchert
c88e469334 Accepting request 1250571 from home:dgarcia:branches:devel:tools:compiler
- Add patches, to actually fix the build with Python 3.13:
  * libcxx-use-shlex-quote.patch
  * libcxx-remove-unused-imports.patch
  * lldb-support-python-3.13.patch
  * use-shlex-quote.patch

OBS-URL: https://build.opensuse.org/request/show/1250571
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=44
2025-03-06 23:47:08 +00:00
68d5a73d27 Accepting request 1224728 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/1224728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=16
2024-11-18 19:01:19 +00:00
Aaron Puchert
eaf7b0c1d9 - 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/llvm15?expand=0&rev=42
2024-11-17 20:09:14 +00:00
5fed43fb08 Accepting request 1195708 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/1195708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=15
2024-08-25 10:09:55 +00:00
Aaron Puchert
2df142065a - 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/llvm15?expand=0&rev=40
2024-08-23 01:13:33 +00:00
Aaron Puchert
f18f9a48db Accepting request 1181916 from home:mcepl:branches:devel:tools:compiler
- Add %python3_fix_shebang_path to fix binaries dependency on
  /usr/bin/python3 (bsc#1212476).

OBS-URL: https://build.opensuse.org/request/show/1181916
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=39
2024-08-19 21:04:44 +00:00
e0badf6f27 Accepting request 1164601 from devel:tools:compiler
- Use old conflicts/provides for python3-clang on Leap.

OBS-URL: https://build.opensuse.org/request/show/1164601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=14
2024-04-05 18:27:30 +00:00
Aaron Puchert
a837bf9a27 - Use old conflicts/provides for python3-clang on Leap.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=37
2024-04-03 21:17:46 +00:00
f6f78bc610 Accepting request 1156031 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]].
- Require 8 GB memory for 64-bit architectures to prevent OOM.
- Disable test that fails on ppc64le.
- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1156031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=13
2024-03-08 17:08:30 +00:00
Aaron Puchert
9772e0eb02 - 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/llvm15?expand=0&rev=35
2024-03-07 01:34:54 +00:00
Aaron Puchert
5173b22d20 - 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/llvm15?expand=0&rev=34
2024-03-04 21:57:00 +00:00
Aaron Puchert
597a6e87ef - Disable test that fails on ppc64le.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=33
2024-03-04 00:33:31 +00:00
Aaron Puchert
7c4073c90d Accepting request 1154120 from home:pgajdos:l
- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1154120
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=32
2024-03-01 21:56:06 +00:00
8d87b077bc Accepting request 1146032 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1146032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=12
2024-02-12 17:52:39 +00:00
Aaron Puchert
a8fdfaebcf - Use %_target_* for determining the compiler host triple (boo#1218701)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=30
2024-02-04 20:50:18 +00:00
1107d8ec70 Accepting request 1130466 from devel:tools:compiler
- Manage clang-cpp with update-alternatives like other binaries.

OBS-URL: https://build.opensuse.org/request/show/1130466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=11
2023-12-03 19:48:29 +00:00
Aaron Puchert
0bde367707 - Manage clang-cpp with update-alternatives like other binaries.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=28
2023-12-01 21:36:48 +00:00
579c663635 Accepting request 1119116 from devel:tools:compiler
- Disable zstd support for now regardless of whether libzstd-devel
  is installed. (boo#1216121)

OBS-URL: https://build.opensuse.org/request/show/1119116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=10
2023-11-10 11:28:41 +00:00
Aaron Puchert
2d0004abe1 - Disable zstd support for now regardless of whether libzstd-devel
is installed. (boo#1216121)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=26
2023-10-20 00:42:33 +00:00
9f417b9f21 Accepting request 1093401 from devel:tools:compiler
- Make python3-clang noarch again and fix conflicts/provides to
  point to %python3_sitelib instead of %python3_sitearch.

OBS-URL: https://build.opensuse.org/request/show/1093401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=9
2023-06-17 20:20:11 +00:00
Aaron Puchert
d91a57bfb9 - 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/llvm15?expand=0&rev=24
2023-06-16 01:10:14 +00:00
8a464db58f Accepting request 1070944 from devel:tools:compiler
- Add llvm-suse-implicit-gnu.patch to recognize <arch>-suse-linux
  as implicitly GNU. Without this we would get library calls for
  fused-multiply-add even if it's available in hardware.
- Add openmp-drop-rpath.patch: backport revert of adding RUNPATH
  to openmp executables. (boo#1206837)
- update constraints to exclude workers with very slow CPU

OBS-URL: https://build.opensuse.org/request/show/1070944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=8
2023-03-13 11:39:55 +00:00
Aaron Puchert
5fd255a9be - Add llvm-suse-implicit-gnu.patch to recognize <arch>-suse-linux
as implicitly GNU. Without this we would get library calls for
  fused-multiply-add even if it's available in hardware.
- Add openmp-drop-rpath.patch: backport revert of adding RUNPATH
  to openmp executables. (boo#1206837)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=22
2023-03-11 14:10:21 +00:00
Aaron Puchert
6925c0629e Accepting request 1070516 from home:dirkmueller:Factory
- update constraints to exclude workers with very slow CPU

OBS-URL: https://build.opensuse.org/request/show/1070516
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=21
2023-03-10 20:27:29 +00:00
613dbdafdb Accepting request 1059871 from devel:tools:compiler
- Update to version 15.0.7.
  * This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Build stage 2 with -fno-plt on x86_64: since building with
  -Wl,-z,now the PLT stubs are basically dead code, so eliminating
  the indirection reduces the number of branches and improves code
  locality for the quite frequent cross-DSO calls.
- Add llvm-workaround-superfluous-branches.patch: hints LLVM to
  eliminate branches until gh#llvm/llvm-project#28804 is solved.

OBS-URL: https://build.opensuse.org/request/show/1059871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=7
2023-01-21 18:09:53 +00:00
Aaron Puchert
caac3ff93e - Undo unnecessary changes.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=19
2023-01-19 22:47:39 +00:00
Aaron Puchert
7fe02d8c56 - Add llvm-workaround-superfluous-branches.patch: hints LLVM to
eliminate branches until gh#llvm/llvm-project#28804 is solved.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=18
2023-01-19 20:24:57 +00:00
Aaron Puchert
e99e3d7690 - Use quotes to prevent a line break.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=17
2023-01-14 17:06:31 +00:00
Aaron Puchert
8ce48f8cc3 - Drop line breaks from flags.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=16
2023-01-14 15:26:22 +00:00
Aaron Puchert
c702295924 - Update to version 15.0.7.
* This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Build stage 2 with -fno-plt if we're using LTO: since building
  with -Wl,-z,now the PLT stubs are basically dead code, and
  eliminating the indirection should improve code locality and
  reduce BTB pressure for the quite frequent cross-DSO calls.
  With LTO we should not need linker relaxation.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=15
2023-01-14 14:15:05 +00:00
b75480de02 Accepting request 1040098 from devel:tools:compiler
- Update to version 15.0.6.
  * This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/1040098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=6
2022-12-07 16:33:18 +00:00
Aaron Puchert
c81c7c75d8 - Update to version 15.0.6.
* This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=13
2022-12-04 21:49:01 +00:00
4109b0cdd0 Accepting request 1036301 from devel:tools:compiler
- Update to version 15.0.5.
  * This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Remove obsolete lldb-swig-4.1.0-build-fix.patch.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/1036301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=5
2022-11-18 14:42:47 +00:00
Aaron Puchert
31ed0bfb68 - Update to version 15.0.5.
* This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Remove obsolete lldb-swig-4.1.0-build-fix.patch.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=11
2022-11-17 00:32:10 +00:00
026517715f Accepting request 1035533 from devel:tools:compiler
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1035533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=4
2022-11-15 12:18:08 +00:00
Aaron Puchert
82688752f5 - Update to version 15.0.4.
* This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=9
2022-11-06 19:16:50 +00:00
ef4cfdc484 Accepting request 1031948 from devel:tools:compiler
- Update to version 15.0.3.
  * This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Add llvm-armv7-fix-vector-compare-with-zero-lowering.patch: Fix
  lowering of non-canonical vector comparison with zero on armv7,
  preventing a crash (boo#1204267, gh#llvm/llvm-project#58514).
- Add lldb-swig-4.1.0-build-fix.patch: Fix build with Swig 4.1.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/1031948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=3
2022-10-29 18:15:04 +00:00
Aaron Puchert
4d8d506fe1 - Update to version 15.0.3.
* This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Add llvm-armv7-fix-vector-compare-with-zero-lowering.patch: Fix
  lowering of non-canonical vector comparison with zero on armv7,
  preventing a crash (boo#1204267, gh#llvm/llvm-project#58514).
- Add lldb-swig-4.1.0-build-fix.patch: Fix build with Swig 4.1.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=7
2022-10-28 00:08:04 +00:00
115344a86a Accepting request 1008060 from devel:tools:compiler
- Update to version 15.0.2.
  * This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/1008060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=2
2022-10-11 16:01:42 +00:00
Aaron Puchert
aeb1929dd8 - Update to version 15.0.2.
* This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=5
2022-10-04 21:44:26 +00:00
2d5f5f7359 Accepting request 1005588 from devel:tools:compiler
- Initial submit based on version 15.0.1.
* For details, see the release notes:
- https://releases.llvm.org/15.0.0/docs/ReleaseNotes.html
- https://releases.llvm.org/15.0.0/tools/clang/docs/ReleaseNotes.html
- https://releases.llvm.org/15.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
- https://releases.llvm.org/15.0.0/projects/libcxx/docs/ReleaseNotes.html
- https://releases.llvm.org/15.0.0/tools/lld/docs/ReleaseNotes.html
* New LLVM tools:
- llvm-debuginfod: Provides debug info to remote hosts.
- llvm-dwarfutil: Can copy and manipulate debug info.
- llvm-remark-size-diff: Compute diff between remark files.
* New Clang tools:
- clang-offload-packager: Bundle multiple objects into single
fat binaries including offload code.
- clang-pseudo: Approximate heuristic parser for C++.
- Rebase patches:
* check-no-llvm-exegesis.patch
* link-clang-tools-extra-shared.patch
* lld-default-sha1.patch
* llvm-do-not-install-static-libraries.patch
* lto-disable-cache.patch
- Drop patches that have landed upstream:
* clang-repl-private-deps.patch
* llvm-glibc-2-36.patch
* llvm-scev-fix-isImpliedViaMerge.patch
- Drop llvm-lifetime-for-rust.patch: this is now solved via
attributes and LLVM doesn't need a hardcoded list of allocation
functions anymore.
- Add llvm-link-atomic.patch to fix build on ppc.
- Add libcxx-test-library-path.patch to fix libc++ tests failing
without RUNPATH on libc++.so.
- Add libcxxabi-fix-armv7-test.patch to fix tests on armv7l.
- Use correct LLVM_HOST_TRIPLE for riscv64.
- 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/1005588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm15?expand=0&rev=1
2022-10-04 18:37:23 +00:00