* Wed Apr 03 2024 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Use old conflicts/provides for python3-clang on Leap.
* Wed Mar 06 2024 Michael Gorse <mgorse@suse.com>
- Explicitly define PYTHON3_EXECUTABLE, since python 3.11 is being
pulled in by cmake in SLE-15-SP6.
* Mon Mar 04 2024 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Fix PowerPC triples: use powerpc[64[le]] instead of ppc[64[le]].
- Disable test that fails on ppc64le.
* Fri Mar 01 2024 pgajdos@suse.com
- Use %patch -P N instead of deprecated %patchN.
* Thu Jan 11 2024 Fabian Vogt <fvogt@suse.com>
- Use %_target_* for determining the compiler host triple (boo#1218701)
* Thu Nov 30 2023 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Manage clang-cpp with update-alternatives like other binaries.
* Thu Jun 15 2023 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Fix conflicts/provides for python3-clang to point to
%python3_sitelib instead of %python3_sitearch.
* Tue May 09 2023 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Don't use gold for linking anymore: on s390x we use ld.bfd with
LLVMgold.so, on ppc64 we disable ThinLTO for now. (boo#1210688)
- Using ld.bfd on s390x exposed an issue with the existing
llvm_build_tablegen_component_as_shared_library.patch: linking
llvm-tblgen with libLLVM.so means we also have to link libraries
used for that (like LLVMTableGenGlobalISel) with libLLVM.so.
- Rewrite summary and description for llvm-gold to point out that
it can also be used with ld.bfd, recommend with binutils.
* Fri Mar 24 2023 Ben Greiner <code@bnavigator.de>
- Add llvm-gcc13-issue55711.patch
* Fix gh#llvm/llvm-project#55711 with gcc13
Version: 13.0.1-bp155.6.38
* Sun Oct 30 2022 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Add lldb-swig-4.1.0-build-fix.patch: Fix build with Swig 4.1.0.
* Sat Sep 03 2022 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Make sure we keep -DNDEBUG. At some point %{optflags} must have
lost it, perhaps because CMake usually adds it on top. So when
overriding CMAKE_{C,CXX}_FLAGS_RELWITHDEBINFO, we make sure to
take over the other flags. We drop LLVM_ENABLE_ASSERTIONS=OFF,
because that's the default anyway and hasn't helped here.
- Add llvm-glibc-2-36.patch in order to address boo#1202215.
* Sun Apr 24 2022 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Don't override default linker flags. (We were losing -Wl,-z,now.)
* Tue Nov 02 2021 Martin Liška <mliska@suse.cz>
- Backport llvm-fix-building-with-GCC-12.patch in order to fix building
with GCC 12.
Version: 13.0.1-bp154.2.18
* Sun Apr 03 2022 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Split up Clang libraries: libclang.so is no longer so-versioned
alongside LLVM but will stay at libclang.so.13 for now. So we
put it into a separate package from libclang-cpp.so. Since we
can't have multiple LLVM versions generate the same package, we
prefix it for the non-default LLVM with a mechanism inspired by
the GCC packaging.
- Patch exported clang/ClangTargets-relwithdebinfo.cmake to refer
to libclang only by soname, because the installed library might
be newer than the one originally build with the package.
- Use the same mechanism to for libc++ and package Clang scripts
only for the default version. This means we'll no longer have to
touch the package when a new major version comes out.
- Make sure we properly clean up the clang scripts if we're not
packaging them.
- Let python3-clang use libclang.so.XX, which means we can always
build it and makes it depend on libclang instead of clang-devel.
- Fix some rpmlint issues: we don't need explicit library
dependencies that are detected automatically, and we add proper
library dependencies to the *-devel packages.
- Merge llvm-LTO-devel into llvm-devel. That's where the header
files already are, and they are hard to separate.
- Let llvm-polly-devel depend on llvm-devel.
- Remove libLTO and *-devel packages from baselibs, they don't
seem to be needed. We mostly need libLLVM and maybe libclang-cpp.
- Consistently set host triple as *-suse-linux-gnu*.
- Only suggest documentation packages.
* Wed Mar 09 2022 Dirk Müller <dmueller@suse.com>
- Add llvm-rust-mangle-for-fastcall.patch for rust 1.59.
* Sun Mar 06 2022 Dirk Müller <dmueller@suse.com>
- Fix armv6hl cpu architecture typo.
* Sat Feb 19 2022 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Let clang-devel accept a newer version of clang-tools:
we don't keep multiple versions of the latter.
* Tue Feb 15 2022 Aaron Puchert <aaronpuchert@alice-dsl.net>
- AND instead of OR in License tag after sr#954337.
* Mon Feb 14 2022 Aaron Puchert <aaronpuchert@alice-dsl.net>
- More conflicts for addition to Leap: clang-tools conflicts with
llvm9 because that doesn't have the move of hmaptool yet, and
llvm13-devel with llvm{5,7} as they used to have FileCheck.1.gz.
* Tue Feb 08 2022 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Add SUSE_Backports_policy-SLE_conflict to rpmlintrc, we're
deliberately conflicting with SLE here to offer a newer version
than what SUSE wants to support.
(https://code.opensuse.org/leap/features/issue/55)
* Thu Feb 03 2022 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 13.0.1.
* This release contains bug-fixes for the LLVM 13.0.0 release.
This release is API and ABI compatible with 13.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Drop obsolete patches:
* llvm-fix-building-with-GCC-12.patch
- Drop RUNPATH from packaged binaries, instead set LD_LIBRARY_PATH
for building and testing to simulate behavior of actual package.
* Mon Jan 31 2022 Andreas Schwab <schwab@suse.de>
- Update constraints for riscv64
* Thu Jan 20 2022 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Add support for experimental targets and enable the M68k backend
- Add patch to fix testsuite after enabling the M68k backend
+ llvm-update-extract-section-script.patch
* Sat Dec 18 2021 Aaron Puchert <aaronpuchert@alice-dsl.net>
- BuildRequires: python-rpm-macros to fix Leap 15.3 build.
- More memory for GCC compile jobs.
* Fri Nov 12 2021 Alberto Planas Dominguez <aplanas@suse.com>
- Add FileCheck into the devel package, as is required for testing
Rust (boo#1192629)
* Tue Nov 02 2021 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Let clang recommend gcc and glibc-devel as we need both for
building executables. No hard requirement because Clang can be
used as a frontend only. (boo#1191587)
- Set minimal CMake version required.
* Tue Nov 02 2021 Martin Li?ka <mliska@suse.cz>
- Backport llvm-fix-building-with-GCC-12.patch in order to fix building
with GCC 12.
* Sat Oct 02 2021 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 13.0.0.
* For details, see the release notes:
- https://releases.llvm.org/13.0.0/docs/ReleaseNotes.html
- https://releases.llvm.org/13.0.0/tools/clang/docs/ReleaseNotes.html
- https://releases.llvm.org/13.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
- https://releases.llvm.org/13.0.0/projects/libcxx/docs/ReleaseNotes.html
- https://releases.llvm.org/13.0.0/tools/lld/docs/ReleaseNotes.html
* New LLVM tools:
- llvm-otool: Mach-O object file displaying tool.
- llvm-sim: LLVM IR Similarity Visualizer.
- llvm-tapi-diff: Diff tool for tbd files.
- llvm-windres: Tool to manipulate Windows resources.
* llvm-elfabi was removed.
* New Clang tools:
- clang-repl, an interactive interpreter for C/C++.
- intercept-build, analyze-build: the former intercepts build
commands to build a compilation database, the latter runs
the static analyzer over all translation units.
- scan-build-py: Python reimplementation of scan-build.
- Rebase patches:
* link-clang-shared.patch
* llvm-do-not-install-static-libraries.patch
* llvm-exegesis-link-dylib.patch
- Drop patches that have landed upstream:
* tablegen-test-link-static.patch
- Run tests on more architectures, disable those that seem to hang.
Don't run libcxx tests at all anymore because they take so long.
- Relax constraints so that we can build on more machines.
* Sat Sep 18 2021 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Set CMAKE_LINKER to workaround CMake wanting to use lld just
because we're using clang as compiler. Fixes build on aarch64.
(https://bugs.llvm.org/show_bug.cgi?id=51115)
* Sat Jul 10 2021 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 12.0.1.
* This release contains bug-fixes for the LLVM 12.0.0 release.
This release is API and ABI compatible with 12.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Drop obsolete patches:
* clangd-cmake-non-standard-layout.patch
* compiler-rt-Remove-cyclades-inclusion-in-sanitizer.patch
* lld-no-version-on-undefined-weak-lazy-symbols.patch
* Fri Jul 02 2021 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Add compiler-rt-Remove-cyclades-inclusion-in-sanitizer.patch:
Fix build with linux-glibc-devel 5.13.
* Thu May 13 2021 Martin Li?ka <mliska@suse.cz>
- Set memory limits for DWZ to 4x.
* Fri Apr 16 2021 Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 12.0.0.
* For details, see the release notes:
- https://releases.llvm.org/12.0.0/docs/ReleaseNotes.html
- https://releases.llvm.org/12.0.0/tools/clang/docs/ReleaseNotes.html
- https://releases.llvm.org/12.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
- https://releases.llvm.org/12.0.0/projects/libcxx/docs/ReleaseNotes.html
- https://releases.llvm.org/12.0.0/tools/lld/docs/ReleaseNotes.html
- Rebase patches:
* assume-opensuse.patch
* lldb-cmake.patch
* llvm-better-detect-64bit-atomics-support.patch
* llvm-do-not-install-static-libraries.patch
* llvm_build_tablegen_component_as_shared_library.patch
- Drop patches that have landed upstream:
* Fix-missing-include.patch
- Always use ld.bfd for stage 1, use lld for stage 2 where we use
ThinLTO and where it's supported, gold where lld doesn't work,
and ld.bfd where we don't use ThinLTO. (boo#1181621)
- Add lld-no-version-on-undefined-weak-lazy-symbols.patch to fix a
bug in lld that made libLLVM.so contain a corrupt symbol version.
- Add clangd-cmake-non-standard-layout.patch to fix build in our
non-monorepo layout.