SHA256
1
0
forked from pool/llvm18

43 Commits

Author SHA256 Message Date
a74e979b94 Accepting request 1298032 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/1298032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=15
2025-08-08 13:08:54 +00:00
Aaron Puchert
be437dc42b - Reference bug.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=43
2025-08-05 21:59:19 +00:00
Aaron Puchert
7e60eb5ebf - Add compiler-rt-remove-termio-interceptors.patch to fix build
with glibc 2.42.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=42
2025-08-05 21:58:42 +00:00
4908b3d10f Accepting request 1295972 from devel:tools:compiler
- Disable ASLR during build to make libomp.so reproducible (boo#1199076)
- 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/1295972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=14
2025-07-28 12:58:04 +00:00
Aaron Puchert
15c4dd591f - Disable ASLR during build to make libomp.so reproducible (boo#1199076)
- 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/package/show/devel:tools:compiler/llvm18?expand=0&rev=40
2025-07-27 17:00:35 +00:00
d921adcedc Accepting request 1277902 from devel:tools:compiler
- Add gcc15-add-necessary-includes.patch in order to add four
  instances of a missing include of cstdint which is necessary with
  GCC15's libstdc++. (boo#1237099, boo#1243186)

OBS-URL: https://build.opensuse.org/request/show/1277902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=13
2025-05-23 12:27:43 +00:00
Aaron Puchert
6d4cc64446 - Fix include order in patch.
- Also mention boo#1237099.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=38
2025-05-15 22:32:20 +00:00
Aaron Puchert
4444659f01 - Add gcc15-add-necessary-includes.patch in order to add four
instances of a missing include of cstdint which is necessary with
  GCC15's libstdc++. [boo#1243186]

If the change is OK, please forward it to Factory soon too so that we
can switch the default compiler.  Thanks!

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=37
2025-05-15 22:20:39 +00:00
651e287e19 Accepting request 1248580 from devel:tools:compiler
- add libcxx-use-shlex-quote.patch to fix build with python 3.13

- Use correct LLVM_HOST_TRIPLE for riscv64
- Rebase llvm-do-not-install-static-libraries.patch.
- Add upstream patch to export compiler-rt FuzzedDataProvider header,
  * compiler-rt-move-fdp.patch
- Drop llvm5-devel-static. llvm5-devel contains shared library with
- Package libLLVMFuzzer
- Use gcc6 on SLE12
- Package license & credits
  * See
- Enable BPF for all arches bsc#1026191
- libc++ must depend on libc++abi
- Disable libcxx/lldb/openmp for SLE fate#319582
- Update rpmlintrc to whitelist libLTO.so
- Re-enable glibc-2.23 patch for Tumbleweed
- Add glibc-2.23-libcxx.patch to fix test failures with glibc 2.23
-  Remove FFI support because its fragile
- Enable OpenMP for x86, x86_64, ppc64 and ppc64le
- Enable all targets on x86, x86_64
- fix build on s390x (one typo in ifarch and one change in filelist)
- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs.
- Rename llvm-remove-werror-date-time.patch to
- Require llvm-clang not just clang
- Add libcxxabi-exceptions.patch to fix libcxxabi exception handling
- Remove asan-disable-hugemalloctest.patch and
- build compiler-rt on ppc64 (don't delete it)
- complete ifarchs for s390
- Remove non-existing doc subpackage
- Update to r196371 from release_34 branch

OBS-URL: https://build.opensuse.org/request/show/1248580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=12
2025-02-27 13:49:01 +00:00
Aaron Puchert
ef8f01691b Accepting request 1225866 from home:dirkmueller:Factory
- add libcxx-use-shlex-quote.patch to fix build with python 3.13

- Use correct LLVM_HOST_TRIPLE for riscv64
- Rebase llvm-do-not-install-static-libraries.patch.
- Add upstream patch to export compiler-rt FuzzedDataProvider header,
  * compiler-rt-move-fdp.patch
- Drop llvm5-devel-static. llvm5-devel contains shared library with
- Package libLLVMFuzzer
- Use gcc6 on SLE12
- Package license & credits
  * See
- Enable BPF for all arches bsc#1026191
- libc++ must depend on libc++abi
- Disable libcxx/lldb/openmp for SLE fate#319582
- Update rpmlintrc to whitelist libLTO.so
- Re-enable glibc-2.23 patch for Tumbleweed
- Add glibc-2.23-libcxx.patch to fix test failures with glibc 2.23
-  Remove FFI support because its fragile
- Enable OpenMP for x86, x86_64, ppc64 and ppc64le
- Enable all targets on x86, x86_64
- fix build on s390x (one typo in ifarch and one change in filelist)
- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs.
- Rename llvm-remove-werror-date-time.patch to
- Require llvm-clang not just clang
- Add libcxxabi-exceptions.patch to fix libcxxabi exception handling
- Remove asan-disable-hugemalloctest.patch and
- build compiler-rt on ppc64 (don't delete it)
- complete ifarchs for s390
- Remove non-existing doc subpackage
- Update to r196371 from release_34 branch

OBS-URL: https://build.opensuse.org/request/show/1225866
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=35
2024-12-03 23:47:11 +00:00
6bc9269362 Accepting request 1224681 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/1224681
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=11
2024-11-18 18:57:15 +00:00
Aaron Puchert
c416dc0004 - 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/llvm18?expand=0&rev=33
2024-11-17 14:23:54 +00:00
6468483621 Accepting request 1223459 from devel:tools:compiler
- Require libffi when we build openmp for offloading.
- Update llvm18.keyring from upstream.
- Enable lldb on s390x and ppc64le (bsc#1232906).

OBS-URL: https://build.opensuse.org/request/show/1223459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=10
2024-11-13 14:26:51 +00:00
Aaron Puchert
89cfe7cb8d - Require libffi when we build openmp for offloading.
- Update llvm18.keyring from upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=31
2024-11-12 01:02:13 +00:00
Aaron Puchert
d7a7048ab3 - Enable lldb on s390x and ppc64le (bsc#1232906).
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=30
2024-11-12 00:33:30 +00:00
333eaa8a14 Accepting request 1199059 from devel:tools:compiler
- Enable zstd compression support again.

OBS-URL: https://build.opensuse.org/request/show/1199059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=9
2024-09-06 15:17:32 +00:00
85220898dc Accepting request 1195858 from devel:tools:compiler
- Split off clang shared runtime libraries into libclang_rtX, so
  that they can be used by other packages without requiring the
  entire compiler tool chain. This is still not ergonomical: the
  libraries don't sit in %{_libdir}, so an RPATH or setting
  LD_LIBRARY_PATH is required, and they don't have an SO version,
  so zypper won't know which version to is needed. (boo#1225784)
- Add minor version to Python shebangs. (boo#1212476)
- Remove shebang and executable bit where not needed.

OBS-URL: https://build.opensuse.org/request/show/1195858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=8
2024-08-26 20:05:28 +00:00
Aaron Puchert
2fef1f329f - Some clang_rt files don't exist on all architectures.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=26
2024-08-24 21:45:48 +00:00
Aaron Puchert
cc2963bddf - Fix typo.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=25
2024-08-24 02:11:23 +00:00
Aaron Puchert
ba65734252 - Split off clang shared runtime libraries into libclang_rtX, so
that they can be used by other packages without requiring the
  entire compiler tool chain. This is still not ergonomical: the
  libraries don't sit in %{_libdir}, so an RPATH or setting
  LD_LIBRARY_PATH is required, and they don't have an SO version,
  so zypper won't know which version to is needed. (boo#1225784)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=24
2024-08-23 22:46:50 +00:00
Aaron Puchert
2bcdc17738 - Fix quotes.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=23
2024-08-21 21:36:02 +00:00
Aaron Puchert
e82017e2cb - Make sure we also rewrite /usr/bin/python3 and not just
/usr/bin/python.
- Use correct conditional for lldb python bindings.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=22
2024-08-21 17:16:15 +00:00
Aaron Puchert
d4c29faf97 - Remove shebang from lldb python modules.
- Add proper conditionals.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=21
2024-08-21 00:52:48 +00:00
Aaron Puchert
e8d8e6eaa8 - 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/llvm18?expand=0&rev=20
2024-08-20 23:23:41 +00:00
Aaron Puchert
7b38b2dadb - Fix shebang of the script to use the explicit version of Python
(bsc#1212476).

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=19
2024-08-19 21:04:11 +00:00
82c3358398 Accepting request 1184151 from devel:tools:compiler
- Update to version 18.1.8.
  * Fix a regression from the 18.1.6 release, which could result in
    compiler crashes in the PPCMergeStringPool pass when compiling
    for PowerPC targets.
  * Fixes clang-format regressions (since 18.1.1) on breaking
    before a stream insertion operator (<<) when both operands are
    string literals.
  * Fixes a clang-format regression (since 17.0.6) on formatting
    goto labels in macro definitions.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/1184151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=7
2024-07-03 18:26:27 +00:00
Aaron Puchert
d908d9fcff - Update to version 18.1.8.
* Fix a regression from the 18.1.6 release, which could result in
    compiler crashes in the PPCMergeStringPool pass when compiling
    for PowerPC targets.
  * Fixes clang-format regressions (since 18.1.1) on breaking
    before a stream insertion operator (<<) when both operands are
    string literals.
  * Fixes a clang-format regression (since 17.0.6) on formatting
    goto labels in macro definitions.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=17
2024-06-30 18:04:58 +00:00
f396e9fb89 Accepting request 1175712 from devel:tools:compiler
- Update to version 18.1.6.
  * Fixes issues where LLVM is either generating the incorrect thunk
    for a function with aligned parameters or didn't correctly pass
    through the return value when StructRet was used.
  * `-Xclang -target-feature -Xclang +unaligned-scalar-mem` can be
    used to enable unaligned scalar memory accesses for CPUs that
    do not support unaligned vector accesses. `-mno-strict-align`
    will enable unaligned scalar and vector memory accesses.
  * Don't replace an aliasee with an alias that has weak linkage.
    This avoids incorrect linkage that can lead to using the wrong
    symbols during linking time.
  * Fixes build failures when compiling AVX512 code using
    `-march=native` on machines without AVX512. The problem was
    introduced in LLVM 18.1.5.
  * Fixes crash in AArch64 backend when having `true` or `false` as
    operand for `fcmp` instruction on IR level.
  * Fixes compiler crash when user specifies `-mno-evex512` with
    AVX512 features but no AVX512VL.
  * Fixes a bug that tries to do VBROADCAST_LOAD for `f16` without
    AVX2.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/1175712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=6
2024-05-23 13:34:35 +00:00
Aaron Puchert
eec5053c44 - Update to version 18.1.6.
* Fixes issues where LLVM is either generating the incorrect thunk
    for a function with aligned parameters or didn't correctly pass
    through the return value when StructRet was used.
  * `-Xclang -target-feature -Xclang +unaligned-scalar-mem` can be
    used to enable unaligned scalar memory accesses for CPUs that
    do not support unaligned vector accesses. `-mno-strict-align`
    will enable unaligned scalar and vector memory accesses.
  * Don't replace an aliasee with an alias that has weak linkage.
    This avoids incorrect linkage that can lead to using the wrong
    symbols during linking time.
  * Fixes build failures when compiling AVX512 code using
    `-march=native` on machines without AVX512. The problem was
    introduced in LLVM 18.1.5.
  * Fixes crash in AArch64 backend when having `true` or `false` as
    operand for `fcmp` instruction on IR level.
  * Fixes compiler crash when user specifies `-mno-evex512` with
    AVX512 features but no AVX512VL.
  * Fixes a bug that tries to do VBROADCAST_LOAD for `f16` without
    AVX2.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=15
2024-05-22 00:16:52 +00:00
bb9687421d Accepting request 1172615 from devel:tools:compiler
- Update to version 18.1.5.
  * This release contains bug-fixes for the LLVM 18.1.0 release.
    This release is API and ABI compatible with 18.1.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/1172615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=5
2024-05-09 10:07:44 +00:00
Aaron Puchert
71d4264176 - Update to version 18.1.5.
* This release contains bug-fixes for the LLVM 18.1.0 release.
    This release is API and ABI compatible with 18.1.0.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=13
2024-05-07 22:56:09 +00:00
800195152e Accepting request 1169036 from devel:tools:compiler
- Update to version 18.1.4.
  * Fixes an issue with Arm64EC code generation where calls to some
    intrinsics implemented in compiler-rt used the wrong name
    mangling, eventually resulting in unresolved symbol errors
    during linking.
  * Fixed an incorrect poison-generating flag preservation in
    `InstSimplify`. It will fix a miscompilation on RISCV, which
    turns the incorrect `or disjoint` into an `add`.
  * Save/restore routines for RV32E/RV64E are added to compiler-rt.
  * Fix regressions introduced in LLVM 18.1.3 in MIPS atomicrmw
    min/max codegen.
- Include module files for libc++ in libc++-devel.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/1169036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=4
2024-04-21 18:24:21 +00:00
Aaron Puchert
47f93a59f6 - Update to version 18.1.4.
* Fixes an issue with Arm64EC code generation where calls to some
    intrinsics implemented in compiler-rt used the wrong name
    mangling, eventually resulting in unresolved symbol errors
    during linking.
  * Fixed an incorrect poison-generating flag preservation in
    `InstSimplify`. It will fix a miscompilation on RISCV, which
    turns the incorrect `or disjoint` into an `add`.
  * Save/restore routines for RV32E/RV64E are added to compiler-rt.
  * Fix regressions introduced in LLVM 18.1.3 in MIPS atomicrmw
    min/max codegen.
- Include module files for libc++ in libc++-devel.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=11
2024-04-18 22:37:36 +00:00
d04136df17 Accepting request 1164981 from devel:tools:compiler
- Update to version 18.1.3.
  * Fixes ThreadSanitizer failures for glibc's LoongArch and
    certain RISC-V ports when fstat is used.
  * `transform.structured.convert_to_loops` now properly deletes
    its target op.
  * Fix a `llvm.usub.with.overflow.i128` wrong code generation
    regression that was introduced with LLVM 18.1.0.
  * MemorySanitizer on Linux can now run even when maximum-entropy
    address-space layout randomization is configured globally (as
    is becoming increasingly common). MemorySanitizer can
    automatically re-exec ASLR-off for the process if needed,
    instead of aborting.
  * Fixed a Clang 18.x regression which increased binary size and
    stack usage with `-ftrivial-auto-var-init`.
- Set directories for configuration files: /etc/clang for system-
  wide configuration and ~/.config/clang for users. For details see
  https://clang.llvm.org/docs/UsersManual.html#configuration-files.
- Use old conflicts/provides for python3-clang on Leap.

OBS-URL: https://build.opensuse.org/request/show/1164981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=3
2024-04-05 18:24:31 +00:00
Aaron Puchert
fc1c271ced - Update to version 18.1.3.
* Fixes ThreadSanitizer failures for glibc's LoongArch and
    certain RISC-V ports when fstat is used.
  * `transform.structured.convert_to_loops` now properly deletes
    its target op.
  * Fix a `llvm.usub.with.overflow.i128` wrong code generation
    regression that was introduced with LLVM 18.1.0.
  * MemorySanitizer on Linux can now run even when maximum-entropy
    address-space layout randomization is configured globally (as
    is becoming increasingly common). MemorySanitizer can
    automatically re-exec ASLR-off for the process if needed,
    instead of aborting.
  * Fixed a Clang 18.x regression which increased binary size and
    stack usage with `-ftrivial-auto-var-init`.
- Set directories for configuration files: /etc/clang for system-
  wide configuration and ~/.config/clang for users. For details see
  https://clang.llvm.org/docs/UsersManual.html#configuration-files.
- Use old conflicts/provides for python3-clang on Leap.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=9
2024-04-04 14:42:23 +00:00
d0da0cc792 Accepting request 1161128 from devel:tools:compiler
- Update to version 18.1.2.
  * This release contains bug-fixes for the LLVM 18.1.0 release.
    This release is API and ABI compatible with 18.1.0.
- Rebase patches:
  * llvm-do-not-install-static-libraries.patch
  * llvm-normally-versioned-libllvm.patch
- Prefer ld.bfd for now to get THP-compatible section layout.

OBS-URL: https://build.opensuse.org/request/show/1161128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=2
2024-03-25 20:06:08 +00:00
Aaron Puchert
342a6531bc - Adapt change log.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=7
2024-03-24 13:57:39 +00:00
Aaron Puchert
76c5c0d6fa - Stick to ld.lld on %{arm}: ld.bfd + LLVMgold.so doesn't work.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=6
2024-03-24 13:52:56 +00:00
Aaron Puchert
697eceabb4 - Update to version 18.1.2.
* This release contains bug-fixes for the LLVM 18.1.0 release.
    This release is API and ABI compatible with 18.1.0.
- Rebase patches:
  * llvm-do-not-install-static-libraries.patch
  * llvm-normally-versioned-libllvm.patch
- Use ld.bfd for now to get THP-compatible section layout.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=5
2024-03-23 22:57:05 +00:00
204ca550b9 Accepting request 1156747 from devel:tools:compiler
- New package based on version 18.1.1.
  * For details, see the release notes:
    - https://releases.llvm.org/18.1.0/docs/ReleaseNotes.html
    - https://releases.llvm.org/18.1.0/tools/clang/docs/ReleaseNotes.html
    - https://releases.llvm.org/18.1.0/tools/clang/tools/extra/docs/ReleaseNotes.html
    - https://releases.llvm.org/18.1.0/projects/libcxx/docs/ReleaseNotes.html
    - https://releases.llvm.org/18.1.0/tools/lld/docs/ReleaseNotes.html
  * New LLVM tool: llvm-readtapi, LLVM TAPI file reader and
    transformer.
  * Removed LLVM tools: llvm-tapi-diff, llvm-remark-size-diff.
  * New LLDB tool: lldb-dap debug adapter.
  * Removed LLDB tool: lldb-vscode.
- Rename libomp-devel symbolic name to libomp-devel-provider.
  We want to introduce a metapackage named libomp-devel.
- Rebase patches:
  * assume-opensuse.patch
  * link-clang-tools-extra-shared.patch
  * llvm_build_tablegen_component_as_shared_library.patch
  * llvm-do-not-install-static-libraries.patch
  * llvm-fix-find-gcc5-install.patch
  * llvm-normally-versioned-libllvm.patch
  * llvm-suse-implicit-gnu.patch
- Add patches to fix tests:
  * clang-fix-modules-test-riscv.patch
  * clang-fix-openmp-test-non-x86.patch
  * clang-fix-openmp-test.patch
  * llvm-fix-cov-test-i586.patch
- Restructure version macros in specfile for new versioning scheme.
- 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.

OBS-URL: https://build.opensuse.org/request/show/1156747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=1
2024-03-15 19:28:13 +00:00
Aaron Puchert
651588ceaa - 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
2024-03-10 13:45:51 +00:00
Aaron Puchert
2a443a1721 - Update to version 18.1.1.
- Remove llvm-Remove-RC-suffix.patch that landed upstream.
- Fix generation of ld update-alternatives symlink.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=2
2024-03-10 01:18:49 +00:00
Aaron Puchert
8a40ab05bb Accepting request 1156665 from home:aaronpuchert:llvm-next
- New package based on version 18.1.0.
  * For details, see the release notes:
    - https://releases.llvm.org/18.1.0/docs/ReleaseNotes.html
    - https://releases.llvm.org/18.1.0/tools/clang/docs/ReleaseNotes.html
    - https://releases.llvm.org/18.1.0/tools/clang/tools/extra/docs/ReleaseNotes.html
    - https://releases.llvm.org/18.1.0/projects/libcxx/docs/ReleaseNotes.html
    - https://releases.llvm.org/18.1.0/tools/lld/docs/ReleaseNotes.html
  * New LLVM tool: llvm-readtapi, LLVM TAPI file reader and
    transformer.
  * Removed LLVM tools: llvm-tapi-diff, llvm-remark-size-diff.
  * New LLDB tool: lldb-dap debug adapter.
  * Removed LLDB tool: lldb-vscode.
- Rename libomp-devel symbolic name to libomp-devel-provider.
  We want to introduce a metapackage named libomp-devel.
- Rebase patches:
  * assume-opensuse.patch
  * link-clang-tools-extra-shared.patch
  * llvm_build_tablegen_component_as_shared_library.patch
  * llvm-do-not-install-static-libraries.patch
  * llvm-fix-find-gcc5-install.patch
  * llvm-normally-versioned-libllvm.patch
  * llvm-suse-implicit-gnu.patch
- Add patches to fix tests:
  * clang-fix-modules-test-riscv.patch
  * clang-fix-openmp-test-non-x86.patch
  * clang-fix-openmp-test.patch
  * llvm-fix-cov-test-i586.patch
- Add llvm-Remove-RC-suffix.patch to remove the "rc" suffix from
  library SO names. Upstream seems to have forgotten that.
- Restructure version macros in specfile for new versioning scheme.
- Fix packaging of ld.lld as ld alternative.

OBS-URL: https://build.opensuse.org/request/show/1156665
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=1
2024-03-09 22:15:02 +00:00
8 changed files with 528 additions and 127 deletions

View File

@@ -0,0 +1,26 @@
diff --git a/clang/tools/clang-shlib/CMakeLists.txt b/clang/tools/clang-shlib/CMakeLists.txt
index 298d3a9d18fe..830f2b138ffa 100644
--- a/clang/tools/clang-shlib/CMakeLists.txt
+++ b/clang/tools/clang-shlib/CMakeLists.txt
@@ -48,6 +48,14 @@ add_clang_library(clang-cpp
${_OBJECTS}
LINK_LIBS
${_DEPS})
+
+configure_file(simple_version_script.map.in simple_version_script.map)
+
+if (NOT LLVM_LINKER_IS_SOLARISLD AND NOT MINGW)
+ # Solaris ld does not accept global: *; so there is no way to version *all* global symbols
+ target_link_options(clang-cpp PRIVATE LINKER:--version-script,${CMAKE_CURRENT_BINARY_DIR}/simple_version_script.map)
+endif()
+
# Optimize function calls for default visibility definitions to avoid PLT and
# reduce dynamic relocations.
if (NOT APPLE AND NOT MINGW AND NOT LLVM_LINKER_IS_SOLARISLD_ILLUMOS)
diff --git a/clang/tools/clang-shlib/simple_version_script.map.in b/clang/tools/clang-shlib/simple_version_script.map.in
new file mode 100644
index 000000000000..cb2306d1f596
--- /dev/null
+++ b/clang/tools/clang-shlib/simple_version_script.map.in
@@ -0,0 +1 @@
+@LLVM_SHLIB_SYMBOL_VERSION@ { global: *; };

View File

@@ -0,0 +1,64 @@
From 59978b21ad9c65276ee8e14f26759691b8a65763 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar@redhat.com>
Date: Mon, 28 Apr 2025 13:45:11 -0700
Subject: [PATCH] [sanitizer_common] Remove interceptors for deprecated struct
termio (#137403)
This struct will be removed from glibc-2.42 and has been deprecated for
a very long time.
Fixes #137321
---
.../sanitizer_common_interceptors_ioctl.inc | 8 --------
.../sanitizer_common/sanitizer_platform_limits_posix.cpp | 3 ---
.../sanitizer_common/sanitizer_platform_limits_posix.h | 1 -
3 files changed, 12 deletions(-)
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc b/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
index f88f914b1d149..bc8f02826c614 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
@@ -342,17 +342,9 @@ static void ioctl_table_fill() {
_(SOUND_PCM_WRITE_CHANNELS, WRITE, sizeof(int));
_(SOUND_PCM_WRITE_FILTER, WRITE, sizeof(int));
_(TCFLSH, NONE, 0);
-#if SANITIZER_GLIBC
- _(TCGETA, WRITE, struct_termio_sz);
-#endif
_(TCGETS, WRITE, struct_termios_sz);
_(TCSBRK, NONE, 0);
_(TCSBRKP, NONE, 0);
-#if SANITIZER_GLIBC
- _(TCSETA, READ, struct_termio_sz);
- _(TCSETAF, READ, struct_termio_sz);
- _(TCSETAW, READ, struct_termio_sz);
-#endif
_(TCSETS, READ, struct_termios_sz);
_(TCSETSF, READ, struct_termios_sz);
_(TCSETSW, READ, struct_termios_sz);
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
index b4d87ab6228e5..7a89bf1c74985 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
@@ -494,9 +494,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
unsigned struct_input_id_sz = sizeof(struct input_id);
unsigned struct_mtpos_sz = sizeof(struct mtpos);
unsigned struct_rtentry_sz = sizeof(struct rtentry);
-#if SANITIZER_GLIBC || SANITIZER_ANDROID
- unsigned struct_termio_sz = sizeof(struct termio);
-#endif
unsigned struct_vt_consize_sz = sizeof(struct vt_consize);
unsigned struct_vt_sizes_sz = sizeof(struct vt_sizes);
unsigned struct_vt_stat_sz = sizeof(struct vt_stat);
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
index 348bb4f27aec3..fdc52aa56c493 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
@@ -1063,7 +1063,6 @@ extern unsigned struct_hd_geometry_sz;
extern unsigned struct_input_absinfo_sz;
extern unsigned struct_input_id_sz;
extern unsigned struct_mtpos_sz;
-extern unsigned struct_termio_sz;
extern unsigned struct_vt_consize_sz;
extern unsigned struct_vt_sizes_sz;
extern unsigned struct_vt_stat_sz;

View File

@@ -0,0 +1,49 @@
Index: llvm-18.1.8.src/include/llvm/ADT/SmallVector.h
===================================================================
--- llvm-18.1.8.src.orig/include/llvm/ADT/SmallVector.h
+++ llvm-18.1.8.src/include/llvm/ADT/SmallVector.h
@@ -19,6 +19,7 @@
#include <algorithm>
#include <cassert>
#include <cstddef>
+#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <functional>
Index: llvm-18.1.8.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
===================================================================
--- llvm-18.1.8.src.orig/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
+++ llvm-18.1.8.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
@@ -13,6 +13,7 @@
#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
+#include <cstdint>
#include <memory>
#include <string>
Index: llvm-18.1.8.src/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
===================================================================
--- llvm-18.1.8.src.orig/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
+++ llvm-18.1.8.src/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
@@ -15,6 +15,7 @@
#ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUMCTARGETDESC_H
#define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUMCTARGETDESC_H
+#include <cstdint>
#include <memory>
namespace llvm {
Index: llvm-18.1.8.src/tools/lldb/include/lldb/Utility/AddressableBits.h
===================================================================
--- llvm-18.1.8.src.orig/lldb-18.1.8.src/include/lldb/Utility/AddressableBits.h
+++ llvm-18.1.8.src/lldb-18.1.8.src/include/lldb/Utility/AddressableBits.h
@@ -10,6 +10,8 @@
#define LLDB_UTILITY_ADDRESSABLEBITS_H
#include "lldb/lldb-forward.h"
+
+#include <cstdint>
namespace lldb_private {

View File

@@ -0,0 +1,52 @@
From d3ce1078186389ce39505f06c2a0100dce9187a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Mon, 27 May 2024 19:26:56 +0200
Subject: [PATCH] [libcxx] [test] Use `shlex.quote()` to fix Python 3.13
compatibility (#93376)
Replace the use of `pipes.quote()` with `shlex.quote()` to fix
compatibility with Python 3.13. The former was always an undocumented
alias to the latter, and the `pipes` module was removed completely in
Python 3.13.
Fixes #93375
---
libcxx/test/libcxx/lit.local.cfg | 5 +++--
libcxx/utils/libcxx/test/dsl.py | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/libcxx/test/libcxx/lit.local.cfg b/libcxx/test/libcxx/lit.local.cfg
index 147367323d4a6d..4467d8070cc708 100644
--- a/libcxx/test/libcxx/lit.local.cfg
+++ b/libcxx/test/libcxx/lit.local.cfg
@@ -1,4 +1,5 @@
# The tests in this directory need to run Python
-import pipes, sys
+import shlex
+import sys
-config.substitutions.append(("%{python}", pipes.quote(sys.executable)))
+config.substitutions.append(("%{python}", shlex.quote(sys.executable)))
diff --git a/libcxx/utils/libcxx/test/dsl.py b/libcxx/utils/libcxx/test/dsl.py
index 387862ae6f496d..7ac66d449b1cf4 100644
--- a/libcxx/utils/libcxx/test/dsl.py
+++ b/libcxx/utils/libcxx/test/dsl.py
@@ -8,8 +8,8 @@
import os
import pickle
-import pipes
import platform
+import shlex
import shutil
import tempfile
@@ -290,7 +290,7 @@ def hasAnyLocale(config, locales):
}
#endif
"""
- return programSucceeds(config, program, args=[pipes.quote(l) for l in locales])
+ return programSucceeds(config, program, args=[shlex.quote(l) for l in locales])
@_memoizeExpensiveOperation(lambda c, flags="": (c.substitutions, c.environment, flags))

View File

@@ -1,3 +1,47 @@
-------------------------------------------------------------------
Tue Aug 5 21:57:03 UTC 2025 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Add compiler-rt-remove-termio-interceptors.patch to fix build
with glibc 2.42. (boo#1247576)
-------------------------------------------------------------------
Sat Jul 26 16:17:06 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Disable ASLR during build to make libomp.so reproducible (boo#1199076)
- Add reproducible.patch to make libomp.so reproducible (boo#1199076)
- Replace usage of %jobs for reproducible builds (boo#1237231)
-------------------------------------------------------------------
Wed May 14 10:30:28 UTC 2025 - Martin Jambor <mjambor@suse.com>
- Add gcc15-add-necessary-includes.patch in order to add four
instances of a missing include of cstdint which is necessary with
GCC15's libstdc++. (boo#1237099, boo#1243186)
-------------------------------------------------------------------
Fri Nov 22 17:12:00 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add libcxx-use-shlex-quote.patch to fix build with python 3.13
-------------------------------------------------------------------
Sat Nov 16 22:38:02 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- 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)
-------------------------------------------------------------------
Mon Nov 11 22:53:32 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Require libffi when we build openmp for offloading.
- Update llvm18.keyring from upstream.
-------------------------------------------------------------------
Wed Nov 6 15:24:59 UTC 2024 - Michal Suchanek <msuchanek@suse.de>
- Enable lldb on s390x and ppc64le (bsc#1232906).
-------------------------------------------------------------------
Tue Sep 3 13:30:40 UTC 2024 - Martin Liška <martin.liska@hey.com>
@@ -449,7 +493,7 @@ Wed Sep 21 21:21:19 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
-------------------------------------------------------------------
Mon Sep 12 07:29:54 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Use correct LLVM_HOST_TRIPLE for riscv64
- Use correct LLVM_HOST_TRIPLE for riscv64
-------------------------------------------------------------------
Tue Sep 6 20:23:14 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
@@ -536,7 +580,7 @@ Mon Jul 4 21:29:11 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- 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.
- Rebase llvm-do-not-install-static-libraries.patch.
-------------------------------------------------------------------
Thu Jun 16 16:44:07 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
@@ -1082,9 +1126,9 @@ Sat Jan 11 20:14:12 UTC 2020 - Andreas Schwab <schwab@suse.de>
-------------------------------------------------------------------
Fri Jan 8 15:30:21 UTC 2020 - Jaime Caamaño Ruiz <jcaamano@suse.com>
- Add upstream patch to export compiler-rt FuzzedDataProvider header,
- Add upstream patch to export compiler-rt FuzzedDataProvider header,
required by Envoy 1.12.2:
* compiler-rt-move-fdp.patch
* compiler-rt-move-fdp.patch
-------------------------------------------------------------------
Mon Jan 6 19:31:23 UTC 2020 - Andreas Schwab <schwab@suse.de>
@@ -1699,7 +1743,7 @@ Fri Oct 13 09:09:15 UTC 2017 - msrb@suse.com
-------------------------------------------------------------------
Tue Oct 10 12:14:31 UTC 2017 - msrb@suse.com
- Drop llvm5-devel-static. llvm5-devel contains shared library with
- Drop llvm5-devel-static. llvm5-devel contains shared library with
the same content.
-------------------------------------------------------------------
@@ -1784,7 +1828,7 @@ Fri Jun 2 12:42:08 UTC 2017 - idonmez@suse.com
-------------------------------------------------------------------
Tue May 9 08:29:31 UTC 2017 - idonmez@suse.com
- Package libLLVMFuzzer
- Package libLLVMFuzzer
-------------------------------------------------------------------
Wed Apr 19 15:08:25 UTC 2017 - dmueller@suse.com
@@ -1801,18 +1845,18 @@ Wed Apr 5 12:09:39 UTC 2017 - afaerber@suse.de
-------------------------------------------------------------------
Tue Apr 4 09:14:41 UTC 2017 - idonmez@suse.com
- Use gcc6 on SLE12
- Use gcc6 on SLE12
-------------------------------------------------------------------
Thu Mar 30 11:33:27 UTC 2017 - idonmez@suse.com
- Package license & credits
- Package license & credits
-------------------------------------------------------------------
Mon Mar 27 07:58:36 UTC 2017 - idonmez@suse.com
- Update to version 4.0.0
* See
* See
+ http://releases.llvm.org/4.0.0/docs/ReleaseNotes.html and
+ http://releases.llvm.org/4.0.0/tools/clang/docs/ReleaseNotes.html
+ http://releases.llvm.org/4.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
@@ -1828,12 +1872,12 @@ Mon Mar 27 07:58:36 UTC 2017 - idonmez@suse.com
-------------------------------------------------------------------
Fri Feb 24 13:26:11 UTC 2017 - idonmez@suse.com
- Enable BPF for all arches bsc#1026191
- Enable BPF for all arches bsc#1026191
-------------------------------------------------------------------
Wed Jan 25 12:06:36 UTC 2017 - idonmez@suse.com
- libc++ must depend on libc++abi
- libc++ must depend on libc++abi
-------------------------------------------------------------------
Wed Jan 25 10:13:44 UTC 2017 - idonmez@suse.com
@@ -2016,17 +2060,17 @@ Wed May 18 13:22:17 UTC 2016 - ronisbr@gmail.com
-------------------------------------------------------------------
Wed May 18 11:14:38 UTC 2016 - idonmez@suse.com
- Disable libcxx/lldb/openmp for SLE fate#319582
- Disable libcxx/lldb/openmp for SLE fate#319582
-------------------------------------------------------------------
Mon Apr 25 07:25:22 UTC 2016 - idonmez@suse.com
- Update rpmlintrc to whitelist libLTO.so
- Update rpmlintrc to whitelist libLTO.so
-------------------------------------------------------------------
Mon Apr 11 08:45:56 UTC 2016 - idonmez@suse.com
- Re-enable glibc-2.23 patch for Tumbleweed
- Re-enable glibc-2.23 patch for Tumbleweed
-------------------------------------------------------------------
Sun Apr 10 19:18:41 UTC 2016 - dmueller@suse.com
@@ -2067,22 +2111,22 @@ Tue Mar 8 18:52:11 UTC 2016 - idonmez@suse.com
-------------------------------------------------------------------
Wed Mar 2 09:08:12 UTC 2016 - idonmez@suse.com
- Add glibc-2.23-libcxx.patch to fix test failures with glibc 2.23
- Add glibc-2.23-libcxx.patch to fix test failures with glibc 2.23
-------------------------------------------------------------------
Sat Oct 3 17:00:28 UTC 2015 - mimi.vx@gmail.com
- Remove FFI support because its fragile
- Remove FFI support because its fragile
-------------------------------------------------------------------
Sun Sep 27 12:03:57 UTC 2015 - idonmez@suse.com
- Enable OpenMP for x86, x86_64, ppc64 and ppc64le
- Enable OpenMP for x86, x86_64, ppc64 and ppc64le
-------------------------------------------------------------------
Mon Sep 14 13:10:49 UTC 2015 - idonmez@suse.com
- Enable all targets on x86, x86_64
- Enable all targets on x86, x86_64
-------------------------------------------------------------------
Wed Sep 2 08:14:39 UTC 2015 - idonmez@suse.com
@@ -2096,7 +2140,7 @@ Wed Sep 2 08:14:39 UTC 2015 - idonmez@suse.com
-------------------------------------------------------------------
Tue May 26 11:54:49 CEST 2015 - ro@suse.de
- fix build on s390x (one typo in ifarch and one change in filelist)
- fix build on s390x (one typo in ifarch and one change in filelist)
-------------------------------------------------------------------
Mon May 25 13:59:37 UTC 2015 - idonmez@suse.com
@@ -2107,7 +2151,7 @@ Mon May 25 13:59:37 UTC 2015 - idonmez@suse.com
-------------------------------------------------------------------
Fri Apr 24 12:19:33 UTC 2015 - idonmez@suse.com
- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs.
- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs.
-------------------------------------------------------------------
Mon Mar 2 10:12:32 UTC 2015 - idonmez@suse.com
@@ -2149,7 +2193,7 @@ Tue Oct 21 08:39:22 UTC 2014 - dmueller@suse.com
-------------------------------------------------------------------
Mon Sep 29 09:40:52 UTC 2014 - idonmez@suse.com
- Rename llvm-remove-werror-date-time.patch to
- Rename llvm-remove-werror-date-time.patch to
llvm-remove-clang-only-flags.patch and remove more clang only
flags.
@@ -2161,7 +2205,7 @@ Fri Sep 26 08:54:08 UTC 2014 - idonmez@suse.com
-------------------------------------------------------------------
Thu Sep 25 10:16:50 UTC 2014 - idonmez@suse.com
- Require llvm-clang not just clang
- Require llvm-clang not just clang
-------------------------------------------------------------------
Wed Sep 17 11:01:31 UTC 2014 - idonmez@suse.com
@@ -2192,9 +2236,9 @@ Thu Sep 4 12:26:10 UTC 2014 - idonmez@suse.com
* Major update, see http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html
- Use upstream pristine tarballs
- Add libc++/libc++abi support clang (only on x86_64)
- Add libcxxabi-exceptions.patch to fix libcxxabi exception handling
- Add libcxxabi-exceptions.patch to fix libcxxabi exception handling
- Add libcxx-libdir.patch to fix libdir on 64bit arches
- Remove asan-disable-hugemalloctest.patch and
- Remove asan-disable-hugemalloctest.patch and
cmake-patchversion.patch, fixed upstream.
-------------------------------------------------------------------
@@ -2229,7 +2273,7 @@ Sat Jun 21 13:40:52 UTC 2014 - arnaud@versini.eu
-------------------------------------------------------------------
Tue May 13 10:44:33 UTC 2014 - peter.trommler@ohm-hochschule.de
- build compiler-rt on ppc64 (don't delete it)
- build compiler-rt on ppc64 (don't delete it)
-------------------------------------------------------------------
Thu Apr 3 11:58:28 UTC 2014 - idonmez@suse.com
@@ -2240,12 +2284,12 @@ Thu Apr 3 11:58:28 UTC 2014 - idonmez@suse.com
-------------------------------------------------------------------
Sat Feb 22 18:18:57 CET 2014 - ro@suse.de
- complete ifarchs for s390
- complete ifarchs for s390
-------------------------------------------------------------------
Fri Jan 24 13:15:48 UTC 2014 - idonmez@suse.com
- Remove non-existing doc subpackage
- Remove non-existing doc subpackage
-------------------------------------------------------------------
Fri Jan 24 09:23:08 UTC 2014 - idonmez@suse.com
@@ -2325,7 +2369,7 @@ Wed Dec 4 13:33:55 UTC 2013 - idonmez@suse.com
-------------------------------------------------------------------
Wed Dec 4 10:07:59 UTC 2013 - idonmez@suse.com
- Update to r196371 from release_34 branch
- Update to r196371 from release_34 branch
-------------------------------------------------------------------
Wed Dec 4 03:27:29 UTC 2013 - termim@gmail.com
@@ -2364,7 +2408,7 @@ Thu Oct 17 10:23:32 UTC 2013 - schwab@suse.de
-------------------------------------------------------------------
Wed Oct 9 11:16:08 UTC 2013 - dmueller@suse.com
- use %arm, not arm in arch conditions
- use %arm, not arm in arch conditions
- add arm-remove-xfails.diff: remove XFAILs in testsuite
that pass and thereby make check fail
@@ -2388,7 +2432,7 @@ Wed Aug 28 11:07:16 UTC 2013 - schwab@suse.de
-------------------------------------------------------------------
Wed Aug 28 11:02:06 UTC 2013 - idonmez@suse.com
- Add s390x support
- Add s390x support
-------------------------------------------------------------------
Wed Aug 28 10:57:32 UTC 2013 - idonmez@suse.com
@@ -2409,24 +2453,24 @@ Thu Aug 22 10:59:28 UTC 2013 - idonmez@suse.com
-------------------------------------------------------------------
Wed Aug 21 11:04:35 UTC 2013 - idonmez@suse.com
- Only enable PowerPC on ppc64
- Only enable PowerPC on ppc64
-------------------------------------------------------------------
Mon Aug 12 16:43:26 UTC 2013 - idonmez@suse.com
- Disable shared libs on PowerPC
- Disable shared libs on PowerPC
- Disable ARCMT, it only makes sense for iOS/OSX
-------------------------------------------------------------------
Tue Aug 6 05:51:46 UTC 2013 - idonmez@suse.com
- Fix build
- Fix build
-------------------------------------------------------------------
Wed Jul 17 12:54:40 UTC 2013 - idonmez@suse.com
- Disable building unit-tests, should fix undefined reference
problem on ARM & PowerPC
problem on ARM & PowerPC
-------------------------------------------------------------------
Tue Jul 16 08:35:00 UTC 2013 - coolo@suse.com
@@ -2491,7 +2535,7 @@ Tue May 14 11:23:07 UTC 2013 - idonmez@suse.com
-------------------------------------------------------------------
Thu May 9 09:05:41 UTC 2013 - idonmez@suse.com
- Add unreachable-code.patch to fix unreachable code warnings on SLE
- Add unreachable-code.patch to fix unreachable code warnings on SLE
-------------------------------------------------------------------
Wed May 8 08:56:28 UTC 2013 - idonmez@suse.com
@@ -2519,7 +2563,7 @@ Wed Jan 16 18:38:01 UTC 2013 - llunak@suse.com
-------------------------------------------------------------------
Fri Jan 11 11:56:09 UTC 2013 - idonmez@suse.com
- Add pre-generated doc files, remove sphinx dependency
- Add pre-generated doc files, remove sphinx dependency
-------------------------------------------------------------------
Tue Jan 8 15:16:56 UTC 2013 - llunak@suse.com
@@ -2596,7 +2640,7 @@ Fri Nov 30 07:27:46 UTC 2012 - idonmez@suse.com
-------------------------------------------------------------------
Tue Nov 20 08:59:09 UTC 2012 - idonmez@suse.com
- Stop excluding ppc64 architecture
- Stop excluding ppc64 architecture
-------------------------------------------------------------------
Tue Nov 20 08:25:54 UTC 2012 - idonmez@suse.com
@@ -2685,12 +2729,12 @@ Mon Jun 18 20:26:51 UTC 2012 - llunak@suse.com
-------------------------------------------------------------------
Tue May 15 09:01:26 UTC 2012 - idonmez@suse.com
- Update to final 3.1 release
- Update to final 3.1 release
-------------------------------------------------------------------
Thu May 10 11:40:06 UTC 2012 - idonmez@suse.com
- Depend on python-base so we don't pull whole Mesa
- Depend on python-base so we don't pull whole Mesa
-------------------------------------------------------------------
Tue May 8 08:21:42 UTC 2012 - llunak@suse.com
@@ -2732,74 +2776,74 @@ Thu Apr 26 10:55:02 UTC 2012 - idonmez@suse.com
-------------------------------------------------------------------
Wed Apr 25 09:40:32 UTC 2012 - idonmez@suse.com
- More fixes to llvm-config
- More fixes to llvm-config
-------------------------------------------------------------------
Tue Apr 24 10:12:32 UTC 2012 - idonmez@suse.com
- Fix llvm-config --libs output
- Fix llvm-config --libs output
-------------------------------------------------------------------
Sun Apr 22 19:24:24 UTC 2012 - idonmez@suse.com
- Update to svn revision 155320 from 3.1 branch
* AVX fixes
* AVX fixes
-------------------------------------------------------------------
Tue Apr 17 07:48:50 UTC 2012 - idonmez@suse.com
- Update to svn revision 154914 from 3.1 branch
- Update to svn revision 154914 from 3.1 branch
Major new features:
* AddressSanitizer, a fast memory error detector.
* MachineInstr Bundles, Support to model instruction
* MachineInstr Bundles, Support to model instruction
bundling / packing.
* ARM Integrated Assembler, A full featured assembler
* ARM Integrated Assembler, A full featured assembler
and direct-to-object support for ARM.
* Basic Block Placement Probability driven basic block placement.
LLVM IR and Core Improvements
* IR support for half float
* IR support for vectors of pointers, including vector GEPs.
* Module flags have been introduced.
* Loads can now have range metadata attached to them to
describe the possible values being loaded.
* Inline cost heuristics have been completely overhauled
and now closely model constant propagation through call sites,
disregard trivially dead code costs, and
* Loads can now have range metadata attached to them to
describe the possible values being loaded.
* Inline cost heuristics have been completely overhauled
and now closely model constant propagation through call sites,
disregard trivially dead code costs, and
can model C++ STL iterator patterns.
Optimizer Improvements
* The loop unroll pass now is able to unroll loops with
run-time trip counts. This feature is turned off by default,
* The loop unroll pass now is able to unroll loops with
run-time trip counts. This feature is turned off by default,
and is enabled with the -unroll-runtime flag.
* A new basic-block autovectorization pass is available.
Pass -vectorize to run this pass along with some associated
post-vectorization cleanup passes.
* A new basic-block autovectorization pass is available.
Pass -vectorize to run this pass along with some associated
post-vectorization cleanup passes.
X86-32 and X86-64 Target Improvements
* Bug fixes and improved support for AVX1
* Support for AVX2 (still incomplete at this point)
ARM Target Improvements
* The constant island pass now supports basic block and
* The constant island pass now supports basic block and
constant pool entry alignments greater than 4 bytes.
Clang Changes
* New: -Wdangling-else, -Wstrncat-size
* Improved: -Wformat, -Wempty-body, -Wliteral-conversion
* Clang 3.1 adds support for anonymous structs and anonymous unions,
added in the latest ISO C standard. Use -std=c11 or -std=gnu11
to enable support for the new language standard.
The new C11 features are backwards-compatible and are available
* Clang 3.1 adds support for anonymous structs and anonymous unions,
added in the latest ISO C standard. Use -std=c11 or -std=gnu11
to enable support for the new language standard.
The new C11 features are backwards-compatible and are available
as an extension in all language modes.
* All warning and language selection flags which previously accepted
* All warning and language selection flags which previously accepted
c1x have been updated to accept c11. The old c1x forms have been removed.
* Generalized constant expressions
* Lambda expressions
@@ -2808,22 +2852,22 @@ Tue Apr 17 07:48:50 UTC 2012 - idonmez@suse.com
* User-defined literals
* Forward-declared enumerations
* Atomics (both libc++'s and libstdc++4.7's <atomic> are supported)
-------------------------------------------------------------------
Tue Mar 20 12:40:27 UTC 2012 - idonmez@suse.com
- Target i586-linux for 32bit builds
- Target i586-linux for 32bit builds
-------------------------------------------------------------------
Tue Dec 27 21:33:48 UTC 2011 - idonmez@suse.com
- Add upstream fix for llvm PR11642
- Add upstream fix for llvm PR11642
-------------------------------------------------------------------
Sun Dec 25 15:29:46 UTC 2011 - idonmez@suse.com
- Don't run gcc for ada files, just fail instead.
- Don't run gcc for ada files, just fail instead.
-------------------------------------------------------------------
Thu Dec 22 15:33:24 UTC 2011 - idonmez@suse.com
@@ -2834,12 +2878,12 @@ Thu Dec 22 15:33:24 UTC 2011 - idonmez@suse.com
-------------------------------------------------------------------
Mon Dec 5 13:19:22 UTC 2011 - idoenmez@suse.de
- Switch to 3-stage bootstrap
- Switch to 3-stage bootstrap
-------------------------------------------------------------------
Fri Dec 2 12:22:07 UTC 2011 - idoenmez@suse.de
- Build first stage compiler with -O0 to workaround gcc 4.5 bug
- Build first stage compiler with -O0 to workaround gcc 4.5 bug
-------------------------------------------------------------------
Thu Dec 1 18:04:15 UTC 2011 - idoenmez@suse.de
@@ -2861,7 +2905,7 @@ Wed Nov 16 14:28:17 UTC 2011 - idonmez@suse.com
-------------------------------------------------------------------
Thu Nov 10 14:54:50 UTC 2011 - idonmez@suse.com
- Disable ARM support, VM goes out of memory while compiling it
- Disable ARM support, VM goes out of memory while compiling it
-------------------------------------------------------------------
Thu Nov 10 10:33:01 UTC 2011 - idonmez@suse.com
@@ -2878,12 +2922,12 @@ Mon Nov 7 15:05:52 UTC 2011 - idonmez@suse.com
-------------------------------------------------------------------
Mon Nov 7 09:17:40 UTC 2011 - idonmez@suse.com
- Fix LLVMgold.so path for x86-64
- Fix LLVMgold.so path for x86-64
-------------------------------------------------------------------
Sun Nov 6 22:03:12 UTC 2011 - idonmez@suse.com
- Enable ld gold support
- Enable ld gold support
-------------------------------------------------------------------
Tue Nov 1 11:31:57 UTC 2011 - idonmez@suse.com
@@ -2894,12 +2938,12 @@ Tue Nov 1 11:31:57 UTC 2011 - idonmez@suse.com
-------------------------------------------------------------------
Fri Oct 28 20:54:16 UTC 2011 - idonmez@suse.com
- Add llvm-pr9614-part{1,2}.patch to fix LLVM PR9614
- Add llvm-pr9614-part{1,2}.patch to fix LLVM PR9614
-------------------------------------------------------------------
Fri Oct 28 08:23:03 UTC 2011 - idonmez@suse.com
- Fixup dependencies so that llvm-clang doesn't depend
- Fixup dependencies so that llvm-clang doesn't depend
on llvm-clang-devel
-------------------------------------------------------------------
@@ -2917,12 +2961,12 @@ Fri Oct 21 06:57:07 UTC 2011 - idonmez@suse.com
-------------------------------------------------------------------
Thu Oct 20 17:56:08 UTC 2011 - idonmez@suse.com
- Enable ARM code generation
- Enable ARM code generation
-------------------------------------------------------------------
Wed Oct 19 15:47:10 UTC 2011 - idonmez@suse.com
- Fix libdir on x86_64
- Fix libdir on x86_64
-------------------------------------------------------------------
Tue Oct 18 10:42:09 UTC 2011 - idonmez@suse.com
@@ -2932,12 +2976,12 @@ Tue Oct 18 10:42:09 UTC 2011 - idonmez@suse.com
* -Wc++98-compat warnings for the lexer
* Add flags for the remaining shift related warnings
(-Wshift-count-negative, -Wshift-count-overflow).
* Only warn in -Wliteral-conversion if the conversion
* Only warn in -Wliteral-conversion if the conversion
loses information
* Added clang_getCompletionAnnotation and
clang_getCompletionNumAnnotations to retrieve annotations
* Added clang_getCompletionAnnotation and
clang_getCompletionNumAnnotations to retrieve annotations
from completion string.
* Add support for -std=gnu90 and -std=c++03, for compatibility
* Add support for -std=gnu90 and -std=c++03, for compatibility
with modern gcc.
- Switch to tar.bz2 and remove xz dependency
@@ -2979,7 +3023,7 @@ Fri Aug 12 09:22:18 UTC 2011 - idonmez@novell.com
-------------------------------------------------------------------
Wed Aug 3 11:18:31 UTC 2011 - idonmez@novell.com
- Update to r136773
- Update to r136773
* Many AVX fixes
* Support for C++0x unicode string and character literals
@@ -2993,19 +3037,19 @@ Tue Jul 19 14:03:21 UTC 2011 - vljn@ovi.com
Mon Jul 11 08:33:59 UTC 2011 - idonmez@novell.com
- Update to r134888
* Type system rewrite
* Type system rewrite
-------------------------------------------------------------------
Sat Jul 9 09:27:17 UTC 2011 - idonmez@novell.com
- Update to r134813
* Mainly gcc compatibility fixes
* Mainly gcc compatibility fixes
-------------------------------------------------------------------
Fri Jul 8 11:31:27 UTC 2011 - idonmez@novell.com
- Update to r134698
* Up to 80x speed improvements with -Wuninitialized
* Up to 80x speed improvements with -Wuninitialized
-------------------------------------------------------------------
Thu Jul 7 11:37:40 UTC 2011 - idonmez@novell.com
@@ -3014,7 +3058,7 @@ Thu Jul 7 11:37:40 UTC 2011 - idonmez@novell.com
- Disable assertions because they are not thread safe
- Update to r134611
* Many C++ fixes and speedups
* Updates for AVX instruction support
* Updates for AVX instruction support
* gcc 4.6.1 support
-------------------------------------------------------------------
@@ -3025,19 +3069,19 @@ Sat Jul 2 19:31:38 UTC 2011 - idonmez@novell.com
-------------------------------------------------------------------
Sun Jun 5 14:39:53 UTC 2011 - idonmez@novell.com
- Update to r132667
- Update to r132667
-------------------------------------------------------------------
Sun May 29 16:34:46 UTC 2011 - idonmez@novell.com
- Update to use cmake buildsystem
- Remove unmaintained ocaml support
- Remove unmaintained ocaml support
-------------------------------------------------------------------
Thu May 26 11:01:57 UTC 2011 - idonmez@novell.com
- Drop ocaml support because its unmaintained
- Update to latest svn revision 132050
- Update to latest svn revision 132050
+ Start of the upcoming 3.0 version
+ Support for gcc 4.6 c++ headers
+ Better support for C++0x
@@ -3045,7 +3089,7 @@ Thu May 26 11:01:57 UTC 2011 - idonmez@novell.com
-------------------------------------------------------------------
Fri Apr 29 12:07:59 UTC 2011 - idoenmez@novell.com
- Fix ocaml dependency
- Fix ocaml dependency
-------------------------------------------------------------------
Thu Apr 7 08:22:48 UTC 2011 - idoenmez@novell.com
@@ -3070,7 +3114,7 @@ Mon Mar 7 20:09:51 CET 2011 - jslaby@suse.de
Wed Dec 22 11:41:15 UTC 2010 - dmacvicar@suse.de
- Do not require specific ffi version but gather the
appropiate one from the distro
appropiate one from the distro
-------------------------------------------------------------------
Fri Dec 10 04:57:21 UTC 2010 - reddwarf@opensuse.org
@@ -3080,7 +3124,7 @@ Fri Dec 10 04:57:21 UTC 2010 - reddwarf@opensuse.org
-------------------------------------------------------------------
Mon Nov 29 10:31:49 UTC 2010 - ismail@namtrac.org
- Fix C include paths
- Fix C include paths
-------------------------------------------------------------------
Fri Nov 26 12:48:54 UTC 2010 - ismail@namtrac.org
@@ -3088,7 +3132,7 @@ Fri Nov 26 12:48:54 UTC 2010 - ismail@namtrac.org
- Fix header path for openSUSE 11.4
- Enabled PIC for x86 for loadable module support
- Enable package tests for llvm and clang
- Disable package timestamps to silence an rpmlint warning
- Disable package timestamps to silence an rpmlint warning
-------------------------------------------------------------------
Wed Jun 2 00:00:00 UTC 2010 - anschneider@exsuse.de

View File

@@ -1,3 +1,4 @@
# Tobias Hieta <tobias@hieta.se>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGLtemUBDADClvDIromq0Y4TX+wyRyYCq5WusPQheQuY8dVCXd9KhMpYAv8U
@@ -39,6 +40,8 @@ w2nCoGWkAcfeuih+jfyEjN24NK+sE/bM+krwVv430ewJwm1bVUqKrbOb9aa6V9gP
9RmlwZlOTFGcWBYl/cfRONn9qi9a6w==
=Lvw+
-----END PGP PUBLIC KEY BLOCK-----
# Tom Stellard <tstellar@redhat.com>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFrqgT0BEAC7xo0WH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ammad Omair Javaid (LLVM Release Signing Key) <omair.javaid@linaro.org>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEZw7PSRYJKwYBBAHaRw8BAQdABNbFOdYdCukaIGdkMQpHrSeDIZt/7bUSVwYD
dX7JnHy0Sk11aGFtbWFkIE9tYWlyIEphdmFpZCAoTExWTSBSZWxlYXNlIFNpZ25p
bmcgS2V5KSA8b21haXIuamF2YWlkQGxpbmFyby5vcmc+iJMEExYKADsWIQQPuWgk
YG0V/dVMPQkv/GKdP1Y73AUCZw7PSQIbAwULCQgHAgIiAgYVCgkICwIEFgIDAQIe
BwIXgAAKCRAv/GKdP1Y73LHWAPoDDIf+zv4qbPmdSNN1JwjB6/U+3ZfW0bDhrxhF
1TzU9gEAyeG9bPukFmygisr2FBt+YV0Xe/il5zhYfTyP4pNNqQq4OARnDs9JEgor
BgEEAZdVAQUBAQdA8W6MXoRWNhKJEWM/AgeJwy19kkflnK+yFVEXnWaPXGIDAQgH
iHgEGBYKACAWIQQPuWgkYG0V/dVMPQkv/GKdP1Y73AUCZw7PSQIbDAAKCRAv/GKd
P1Y73KmXAP0R/TCQcZy3E2eqgBhVUY3/0N0amRWDjssxw/O/7P/PcwD/aFQdB9Vt
f9xntjl+EcZ58U5mbwhBTYLmHpCqZUP+ugk=
=s2el
-----END PGP PUBLIC KEY BLOCK-----

View File

@@ -1,7 +1,7 @@
#
# spec file for package llvm18
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -48,7 +48,7 @@
%bcond_without use_lld
%endif
%ifarch aarch64 x86_64
%ifarch aarch64 ppc64le s390x x86_64
%bcond_without lldb
%if %{suse_version} > 1600
%bcond_without lldb_python
@@ -117,7 +117,7 @@
# Set max_<type>_jobs so that every job of the given type has at least the
# given amount of memory.
%define set_jobs() \
max_%{1}_jobs="%{?jobs:%{jobs}}" \
max_%{1}_jobs="$(echo %{?_smp_mflags} | cut -c 3-)" \
if test -n "$max_%{1}_jobs" -a "$max_%{1}_jobs" -gt 1 ; then \
max_jobs="$(($avail_mem / %2))" \
test "$max_%{1}_jobs" -gt "$max_jobs" && max_%{1}_jobs="$max_jobs" && echo "Warning: Reducing number of %{1} jobs to $max_jobs because of memory limits" \
@@ -413,6 +413,8 @@ Patch16: llvm-workaround-superfluous-branches.patch
Patch17: llvm-suse-implicit-gnu.patch
# PATCH-FIX-OPENSUSE: No need to run {amdgpu,nvptx}-arch because we don't have the toolchains installed anyway.
Patch18: openmp-dont-run-gpu-arch.patch
# PATCH-FIX-UPSTREAM: make libomp reproducible (boo#1199076)
Patch19: reproducible.patch
Patch20: llvm_build_tablegen_component_as_shared_library.patch
Patch21: tests-use-python3.patch
Patch24: opt-viewer-Find-style-css-in-usr-share.patch
@@ -429,6 +431,14 @@ Patch28: llvm-fix-cov-test-i586.patch
Patch29: clang-fix-modules-test-riscv.patch
# PATCH-FIX-UPSTREAM: Test using avx512f requires x86 target.
Patch30: clang-fix-openmp-test-non-x86.patch
# PATCH-FIX-UPSTREAM: Use symbol versioning also for libclang-cpp.so.
Patch31: clang-shlib-symbol-versioning.patch
# PATCH-FIX-UPSTREAM: use shlib.quote to fix Python 3.13 compatibility
Patch32: libcxx-use-shlex-quote.patch
# PATCH-FIX-UPSTREAM: Fix missing include necessary when building with GCC 15 libstdc++
Patch33: gcc15-add-necessary-includes.patch
# PATCH-FIX-UPSTREAM: Remove interceptors for deprecated struct termio
Patch34: compiler-rt-remove-termio-interceptors.patch
BuildRequires: binutils-devel >= 2.21.90
BuildRequires: cmake >= 3.13.4
BuildRequires: fdupes
@@ -446,7 +456,7 @@ Requires(post): update-alternatives
Requires(postun): update-alternatives
# llvm does not work on s390
ExcludeArch: s390
%if %{with ffi}
%if %{with ffi} || %{with openmp}
BuildRequires: pkgconfig(libffi)
%endif
%if %{with valgrind}
@@ -877,6 +887,7 @@ This package contains the development files for Polly.
%patch -P 24 -p1
%patch -P 25 -p2
%patch -P 28 -p2
%patch -P 33 -p1
pushd clang-%{_version}.src
%patch -P 2 -p1
@@ -887,6 +898,7 @@ pushd clang-%{_version}.src
%patch -P 27 -p2
%patch -P 29 -p2
%patch -P 30 -p2
%patch -P 31 -p2
# We hardcode openSUSE
rm unittests/Driver/DistroTest.cpp
@@ -900,6 +912,10 @@ pushd clang-tools-extra-%{_version}.src
%patch -P 10 -p2
popd
pushd compiler-rt-%{_version}.src
%patch -P 34 -p2
popd
pushd openmp-%{_version}.src
%patch -P 18 -p1
popd
@@ -923,6 +939,7 @@ sed -i '/set(LLVM_COMMON_CMAKE_UTILS/ s/CMAKE_CURRENT_SOURCE_DIR/CMAKE_SOURCE_DI
sed -i '\"runtimes/cmake/Modules" s/CMAKE_CURRENT_SOURCE_DIR/CMAKE_SOURCE_DIR/g' libcxx{,abi}-%{_version}.src/CMakeLists.txt
pushd libcxx-%{_version}.src
%patch -P 15 -p2
%patch -P 32 -p2
rm test/libcxx/thread/thread.threads/thread.thread.this/sleep_for.pass.cpp
rm test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp
rm test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp
@@ -950,6 +967,7 @@ mv lldb-%{_version}.src tools/lldb
%if %{with openmp}
mv openmp-%{_version}.src projects/openmp
%patch -P 19 -p1
%endif
%if %{with libcxx}
@@ -1079,12 +1097,13 @@ max_link_jobs=1
%if %{with thin_lto} && %{with use_lld}
%global lld_ldflag --ld-path=%{sourcedir}/stage1/bin/ld.lld
%ifarch %{arm} i586 ppc
%if %{jobs} > 8
%global lto_limit_threads -Wl,--thinlto-jobs=8
jobs=$(echo %{?_smp_mflags} | cut -c 3-)
if [ "$jobs" -gt 8 ] ; then
lto_limit_threads=-Wl,--thinlto-jobs=8
fi
%endif
%endif
%endif
%define build_ldflags -Wl,--build-id=sha1 %{?lld_ldflag} %{?lto_limit_threads}
%define build_ldflags -Wl,--build-id=sha1 %{?lld_ldflag} ${lto_limit_threads}
# The build occasionally uses tools linking against previously built
# libraries (mostly libLLVM.so), but we don't want to set RUNPATHs.
export LD_LIBRARY_PATH=%{sourcedir}/build/%{_lib}
@@ -1157,6 +1176,7 @@ MALLOC_CHECK_BACK=$MALLOC_CHECK_
unset MALLOC_CHECK_
%endif
setarch -R \
ninja -v %{?_smp_mflags}
%if %{with thin_lto}

47
reproducible.patch Normal file
View File

@@ -0,0 +1,47 @@
From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
Date: Fri, 11 Jul 2025 08:26:10 +0200
Subject: [PATCH] Drop timestamp in generated source code
Fixes #72206
This helps reproducible builds of libomp.so
probably because LLVM's LTO computed a hash of inputs
to generate its symbol names.
This patch was done while working on reproducible builds for openSUSE.
---
Index: openmp-15.0.7.src/docs/conf.py
===================================================================
--- a/projects/openmp/docs/conf.py
+++ b/projects/openmp/docs/conf.py
@@ -12,7 +12,6 @@
# serve to show the default.
import sys, os
-from datetime import date
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@@ -42,7 +41,7 @@ master_doc = "index"
# General information about the project.
project = "LLVM/OpenMP"
-copyright = "2013-%d, LLVM/OpenMP" % date.today().year
+copyright = "2013-%d, LLVM/OpenMP" % 2023
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Index: openmp-15.0.7.src/runtime/tools/message-converter.pl
===================================================================
--- a/projects/openmp/runtime/tools/message-converter.pl
+++ b/projects/openmp/runtime/tools/message-converter.pl
@@ -50,7 +50,7 @@ sub _generate_comment($$$) {
my $bulk =
$open . " Do not edit this file! " . $close . "\n" .
$open . " The file was generated from " . get_file( $data->{ "%meta" }->{ source } ) .
- " by " . $tool . " on " . localtime() . ". " . $close . "\n";
+ " by " . $tool . ". " . $close . "\n";
return $bulk;
}; # sub _generate_comment