Compare commits

...

21 Commits

Author SHA1 Message Date
6f5ec8b2a1 automatic version update by autodist [release 20.1.8-1mamba;Fri Jul 11 2025] 2025-07-12 19:02:51 +02:00
6d9663fde0 automatic version update by autodist [release 20.1.7-1mamba;Mon Jun 16 2025] 2025-06-16 21:29:00 +02:00
5845cf3559 automatic version update by autodist [release 20.1.6-1mamba;Sat May 31 2025] 2025-06-02 22:36:40 +02:00
42517fb526 automatic version update by autodist [release 20.1.5-1mamba;Sat May 24 2025] 2025-05-25 00:03:13 +02:00
1c00c0fe09 automatic version update by autodist [release 20.1.4-1mamba;Sat May 17 2025] 2025-05-23 21:02:23 +02:00
3d1a08add9 fix python bindings by installing in %python3_sitearch [release 19.1.7-2mamba;Sat Jan 25 2025] 2025-01-26 17:51:52 +01:00
41ecd9bc0f automatic version update by autodist [release 19.1.7-1mamba;Wed Jan 15 2025] 2025-01-16 15:12:06 +01:00
1bf3039cd1 automatic version update by autodist [release 19.1.6-1mamba;Wed Dec 18 2024] 2024-12-19 12:19:00 +01:00
97d14c445a automatic version update by autodist [release 19.1.5-1mamba;Wed Dec 04 2024] 2024-12-04 20:59:40 +01:00
8f8d6360e8 automatic version update by autodist [release 19.1.4-1mamba;Wed Nov 20 2024] 2024-11-21 13:54:00 +01:00
f6c1d4919b automatic version update by autodist [release 19.1.3-1mamba;Fri Nov 01 2024] 2024-11-02 11:31:53 +01:00
68e086757d automatic version update by autodist [release 19.1.2-1mamba;Wed Oct 16 2024] 2024-10-17 21:50:32 +02:00
f88b7f94a6 automatic version update by autodist [release 19.1.1-1mamba;Sat Oct 05 2024] 2024-10-07 08:56:33 +02:00
cac5fb3218 automatic version update by autodist [release 18.1.8-1mamba;Tue Jun 25 2024] 2024-06-27 18:45:23 +02:00
beac436c67 automatic version update by autodist [release 18.1.7-1mamba;Sat Jun 08 2024] 2024-06-08 14:54:03 +02:00
d41942d98b automatic version update by autodist [release 18.1.6-1mamba;Mon May 20 2024] 2024-05-22 21:27:26 +02:00
9521b669f8 automatic version update by autodist [release 18.1.5-1mamba;Mon May 06 2024] 2024-05-08 18:43:53 +02:00
a88a192214 automatic version update by autodist [release 18.1.4-1mamba;Fri Apr 19 2024] 2024-04-20 11:51:11 +02:00
6730a3d729 automatic version update by autodist [release 18.1.3-1mamba;Fri Apr 12 2024] 2024-04-13 13:47:20 +02:00
3863838b5b automatic version update by autodist [release 18.1.2-1mamba;Thu Mar 21 2024] 2024-03-22 17:10:58 +01:00
74870730af automatic version update by autodist [release 18.1.1-1mamba;Thu Mar 14 2024] 2024-03-19 19:44:55 +01:00
3 changed files with 89 additions and 42 deletions

View File

@ -1,8 +0,0 @@
--- clang-15.0.6.src/lib/Lex/CMakeLists.txt.orig 2022-12-04 10:07:15.091016947 +0100
+++ clang-15.0.6.src/lib/Lex/CMakeLists.txt 2022-12-04 10:07:23.000931110 +0100
@@ -29,4 +29,5 @@
LINK_LIBS
clangBasic
+ atomic
)

View File

@ -1,10 +0,0 @@
--- clang-16.0.4/clang-tools-extra/clangd/CMakeLists.txt.orig 2023-05-21 17:00:45.855038060 +0200
+++ clang-16.0.4/clang-tools-extra/clangd/CMakeLists.txt 2023-05-21 17:00:52.854996865 +0200
@@ -177,6 +177,7 @@
target_link_libraries(clangDaemon
PRIVATE
${LLVM_PTHREAD_LIB}
+ atomic
clangIncludeCleaner
clangPseudo

View File

@ -2,8 +2,8 @@
%define MAJver %(echo %version | cut -d. -f1)
%define majver %(echo %version | cut -d. -f1-2)
Name: clang
Version: 17.0.6
Release: 2mamba
Version: 20.1.8
Release: 1mamba
Summary: C language family frontend for LLVM
Group: Development/Languages
Vendor: openmamba
@ -14,21 +14,21 @@ Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-tools-extra-%{version}.src.tar.xz
Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/cmake-%{version}.src.tar.xz
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/third-party-%{version}.src.tar.xz
Patch0: clang-16.0.4-arm-add-latomic.patch
Patch1: clang-15.0.6-arm-add-latomic.patch
License: NCSA
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libllvm-devel
BuildRequires: libperl
BuildRequires: libpython311-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: llvm = %{version}
BuildRequires: llvm >= 14.0.3-3mamba
BuildRequires: python-recommonmark-py310
BuildRequires: python-recommonmark-py3
BuildRequires: python-myst_parser-py3
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
@ -68,7 +68,8 @@ Requires: gtk-doc
%description -n lib%{name}-apidocs
This package includes the lib%{name} API documentation.
%debug_package
## Don't clean build at the end
#% global __spec_rmbuild_cmd /bin/true
%prep
%setup -q -c -a0 -a1 -a2 -a3
@ -79,13 +80,6 @@ mv clang-tools-extra-%{version}.src clang-tools-extra
mv cmake-%{version}.src cmake
mv third-party-%{version}.src third-party
%ifarch arm
%patch 0 -p1
cd clang
%patch 1 -p1
cd ..
%endif
%build
#:<< __EOF
mkdir -p build
@ -119,18 +113,18 @@ ninja %{_smp_mflags}
cd build
export DESTDIR=%{buildroot}
ninja install
cd ..
# Move scanbuild-py into site-packages and install Python bindings
install -d %{buildroot}%{python3_sitearch}
mv %{buildroot}%{_prefix}/lib/{libear,libscanbuild} %{buildroot}%{python3_sitearch}/
cp -a clang/bindings/python/clang %{buildroot}%{python3_sitearch}/
rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
## legacy libclang.so.11 symlink to libclang.so.11.1
#ln -s libclang.so.%{majver} %{buildroot}%{_libdir}/libclang.so.%{MAJver}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/analyze-build
@ -149,6 +143,12 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%{_bindir}/scan-view
# FIXME: should be libexec64 on 64 bits archs
%{_prefix}/libexec/*
%dir %{python3_sitearch}/clang
%{python3_sitearch}/clang/*
%dir %{python3_sitearch}/libear
%{python3_sitearch}/libear/*
%dir %{python3_sitearch}/libscanbuild
%{python3_sitearch}/libscanbuild/*
%dir %{_datadir}/clang/
%{_datadir}/clang/*
%dir %{_datadir}/scan-build
@ -162,10 +162,6 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libclang*.so.*
%dir %{_libdir}/libear
%{_libdir}/libear/*
%dir %{_libdir}/libscanbuild
%{_libdir}/libscanbuild/*
%doc clang/LICENSE.TXT
%files -n lib%{name}-devel
@ -182,7 +178,7 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%{_libdir}/clang/*/include/*
%dir %{_libdir}/cmake/clang
%{_libdir}/cmake/clang/*.cmake
%doc clang/NOTES.txt clang/README.txt
%doc clang/NOTES.txt
%files -n lib%{name}-apidocs
%defattr(-,root,root)
@ -193,6 +189,75 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%{_datadir}/doc/Clang/clang/html/.buildinfo
%changelog
* Fri Jul 11 2025 Automatic Build System <autodist@openmamba.org> 20.1.8-1mamba
- automatic version update by autodist
* Mon Jun 16 2025 Automatic Build System <autodist@openmamba.org> 20.1.7-1mamba
- automatic version update by autodist
* Sat May 31 2025 Automatic Build System <autodist@openmamba.org> 20.1.6-1mamba
- automatic version update by autodist
* Sat May 24 2025 Automatic Build System <autodist@openmamba.org> 20.1.5-1mamba
- automatic version update by autodist
* Sat May 17 2025 Automatic Build System <autodist@openmamba.org> 20.1.4-1mamba
- automatic version update by autodist
* Sat Mar 08 2025 Automatic Build System <autodist@openmamba.org> 20.1.0-1mamba
- automatic version update by autodist
* Sat Jan 25 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 19.1.7-2mamba
- fix python bindings by installing in %python3_sitearch
* Wed Jan 15 2025 Automatic Build System <autodist@openmamba.org> 19.1.7-1mamba
- automatic version update by autodist
* Wed Dec 18 2024 Automatic Build System <autodist@openmamba.org> 19.1.6-1mamba
- automatic version update by autodist
* Wed Dec 04 2024 Automatic Build System <autodist@openmamba.org> 19.1.5-1mamba
- automatic version update by autodist
* Wed Nov 20 2024 Automatic Build System <autodist@openmamba.org> 19.1.4-1mamba
- automatic version update by autodist
* Fri Nov 01 2024 Automatic Build System <autodist@openmamba.org> 19.1.3-1mamba
- automatic version update by autodist
* Wed Oct 16 2024 Automatic Build System <autodist@openmamba.org> 19.1.2-1mamba
- automatic version update by autodist
* Sat Oct 05 2024 Automatic Build System <autodist@openmamba.org> 19.1.1-1mamba
- automatic version update by autodist
* Sun Sep 22 2024 Automatic Build System <autodist@openmamba.org> 19.1.0-1mamba
- automatic version update by autodist
* Tue Jun 25 2024 Automatic Build System <autodist@openmamba.org> 18.1.8-1mamba
- automatic version update by autodist
* Sat Jun 08 2024 Automatic Build System <autodist@openmamba.org> 18.1.7-1mamba
- automatic version update by autodist
* Mon May 20 2024 Automatic Build System <autodist@openmamba.org> 18.1.6-1mamba
- automatic version update by autodist
* Mon May 06 2024 Automatic Build System <autodist@openmamba.org> 18.1.5-1mamba
- automatic version update by autodist
* Fri Apr 19 2024 Automatic Build System <autodist@openmamba.org> 18.1.4-1mamba
- automatic version update by autodist
* Fri Apr 12 2024 Automatic Build System <autodist@openmamba.org> 18.1.3-1mamba
- automatic version update by autodist
* Thu Mar 21 2024 Automatic Build System <autodist@openmamba.org> 18.1.2-1mamba
- automatic version update by autodist
* Thu Mar 14 2024 Automatic Build System <autodist@openmamba.org> 18.1.1-1mamba
- automatic version update by autodist
* Thu Jan 18 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 17.0.6-2mamba
- removed BUILD_SHARED_LIBS=ON see https://github.com/llvm/llvm-project/issues/46461
- added -DLLVM_LINK_LLVM_DYLIB=ON