Compare commits

...

26 Commits

Author SHA1 Message Date
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
39da44d8c9 removed BUILD_SHARED_LIBS=ON see https://github.com/llvm/llvm-project/issues/46461
added -DLLVM_LINK_LLVM_DYLIB=ON [release 17.0.6-2mamba;Thu Jan 18 2024]
2024-01-19 17:55:00 +01:00
670702e924 automatic version update by autodist [release 17.0.6-1mamba;Sat Dec 02 2023] 2024-01-05 21:24:41 +01:00
af07739d46 automatic version update by autodist [release 17.0.5-1mamba;Wed Nov 15 2023] 2024-01-05 21:24:40 +01:00
1f4abd4228 automatic version update by autodist [release 17.0.4-1mamba;Fri Nov 03 2023] 2024-01-05 21:24:39 +01:00
2385bd687b automatic version update by autodist [release 17.0.3-1mamba;Fri Oct 20 2023] 2024-01-05 21:24:38 +01:00
fbd8362b27 automatic version update by autodist [release 16.0.6-1mamba;Thu Jun 15 2023] 2024-01-05 21:24:36 +01:00
0c6f0e95f8 automatic version update by autodist [release 16.0.5-1mamba;Sat Jun 03 2023] 2024-01-05 21:24:36 +01:00
1fb822c7bf automatic version update by autodist [release 16.0.4-1mamba;Fri May 19 2023] 2024-01-05 21:24:35 +01:00
9eff950405 automatic version update by autodist [release 15.0.7-1mamba;Fri Jan 13 2023] 2024-01-05 21:24:34 +01:00
d5d24fb9b8 update to 15.0.6 [release 15.0.6-1mamba;Sat Dec 03 2022] 2024-01-05 21:24:33 +01:00
21b63d004d automatic version update by autodist [release 15.0.5-1mamba;Sat Nov 19 2022] 2024-01-05 21:24:33 +01:00
4127a4bcc9 automatic version update by autodist [release 14.0.6-1mamba;Sun Jun 26 2022] 2024-01-05 21:24:33 +01:00
2 changed files with 109 additions and 43 deletions

View File

@ -1,10 +0,0 @@
--- clang-13.0.0.src/tools/extra/clangd/CMakeLists.txt.orig 2021-11-02 16:57:53.561981660 +0100
+++ clang-13.0.0.src/tools/extra/clangd/CMakeLists.txt 2021-11-02 16:58:11.225804323 +0100
@@ -168,6 +168,7 @@
clangTidy
clangdSupport
+ atomic
)
if(CLANGD_TIDY_CHECKS)
target_link_libraries(clangDaemon PRIVATE ${ALL_CLANG_TIDY_CHECKS})

View File

@ -2,7 +2,7 @@
%define MAJver %(echo %version | cut -d. -f1) %define MAJver %(echo %version | cut -d. -f1)
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: clang Name: clang
Version: 14.0.5 Version: 19.1.6
Release: 1mamba Release: 1mamba
Summary: C language family frontend for LLVM Summary: C language family frontend for LLVM
Group: Development/Languages Group: Development/Languages
@ -12,7 +12,8 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://llvm.org/ URL: https://llvm.org/
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-%{version}.src.tar.xz Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-%{version}.src.tar.xz
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-tools-extra-%{version}.src.tar.xz Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-tools-extra-%{version}.src.tar.xz
Patch0: clang-13.0.0-arm-add-latomic.patch 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
License: NCSA License: NCSA
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -25,6 +26,8 @@ BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: llvm = %{version} BuildRequires: llvm = %{version}
BuildRequires: llvm >= 14.0.3-3mamba BuildRequires: llvm >= 14.0.3-3mamba
BuildRequires: python-recommonmark-py3
BuildRequires: python-myst_parser-py3
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description %description
@ -67,14 +70,13 @@ This package includes the lib%{name} API documentation.
%debug_package %debug_package
%prep %prep
%setup -q -a1 -n %{name}-%{version}.src %setup -q -c -a0 -a1 -a2 -a3
#% setup -q -n %{name}-%{version}.src -D -T #% setup -q -D -T
#:<< _EOF #:<< _EOF
mv clang-tools-extra-%{version}.src tools/extra mv clang-%{version}.src clang
mv clang-tools-extra-%{version}.src clang-tools-extra
%ifarch arm mv cmake-%{version}.src cmake
%patch0 -p1 mv third-party-%{version}.src third-party
%endif
%build %build
#:<< __EOF #:<< __EOF
@ -84,8 +86,6 @@ cd build
cmake .. -G Ninja \ cmake .. -G Ninja \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DPYTHON_EXECUTABLE=/usr/bin/python \
-DBUILD_SHARED_LIBS=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \
-DCLANG_LINK_CLANG_DYLIB=ON \ -DCLANG_LINK_CLANG_DYLIB=ON \
-DCLANG_DEFAULT_CXX_STDLIB=libstdc++ \ -DCLANG_DEFAULT_CXX_STDLIB=libstdc++ \
@ -93,12 +93,16 @@ cmake .. -G Ninja \
-DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_RTTI=ON \
%endif %endif
-DLLVM_INCLUDE_DOCS=ON \ -DLLVM_INCLUDE_DOCS=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_INCLUDE_TESTS=OFF \
-DLLVM_BUILD_DOCS=ON \ -DLLVM_BUILD_DOCS=ON \
-DLLVM_ENABLE_SPHINX=ON \ -DLLVM_ENABLE_SPHINX=ON \
-DSPHINX_WARNINGS_AS_ERRORS=OFF -DSPHINX_WARNINGS_AS_ERRORS=OFF \
../clang
#-DPYTHON_EXECUTABLE=/usr/bin/python \
#-DLLVM_MAIN_SRC_DIR="$srcdir/llvm-$pkgver.src" #-DLLVM_MAIN_SRC_DIR="$srcdir/llvm-$pkgver.src"
:<< __EOF
ninja %{_smp_mflags} ninja %{_smp_mflags}
%install %install
@ -116,34 +120,29 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/analyze-build %{_bindir}/analyze-build
%{_bindir}/c-index-test %{_bindir}/c-index-test
%{_bindir}/amdgpu-arch
%{_bindir}/nvptx-arch
%{_bindir}/clang %{_bindir}/clang
%{_bindir}/clang++ %{_bindir}/clang++
%{_bindir}/clang-* %{_bindir}/clang-*
%{_bindir}/clangd
%{_bindir}/diagtool %{_bindir}/diagtool
%{_bindir}/find-all-symbols
%{_bindir}/git-clang-format %{_bindir}/git-clang-format
%{_bindir}/hmaptool %{_bindir}/hmaptool
%{_bindir}/intercept-build %{_bindir}/intercept-build
%{_bindir}/modularize
%{_bindir}/pp-trace
%{_bindir}/run-clang-tidy
%{_bindir}/scan-build %{_bindir}/scan-build
%{_bindir}/scan-build-py %{_bindir}/scan-build-py
%{_bindir}/scan-view %{_bindir}/scan-view
# FIXME: should be libexec64 on 64 bits archs
%{_prefix}/libexec/*
%dir %{_prefix}/lib/libear %dir %{_prefix}/lib/libear
%{_prefix}/lib/libear/* %{_prefix}/lib/libear/*
%dir %{_prefix}/lib/libscanbuild %dir %{_prefix}/lib/libscanbuild
%{_prefix}/lib/libscanbuild/* %{_prefix}/lib/libscanbuild/*
# FIXME: should be libexec64 on 64 bits archs
%{_prefix}/libexec/*
%dir %{_datadir}/clang/ %dir %{_datadir}/clang/
%{_datadir}/clang/* %{_datadir}/clang/*
%dir %{_datadir}/scan-build %dir %{_datadir}/scan-build
@ -152,14 +151,12 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%{_datadir}/scan-view/* %{_datadir}/scan-view/*
%{_mandir}/man1/clang.1* %{_mandir}/man1/clang.1*
%{_mandir}/man1/diagtool.1* %{_mandir}/man1/diagtool.1*
%{_mandir}/man1/extraclangtools.1*
%{_mandir}/man1/scan-build.1* %{_mandir}/man1/scan-build.1*
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libclang*.so.* %{_libdir}/libclang*.so.*
%{_libdir}/libfindAllSymbols.so.* %doc clang/LICENSE.TXT
%doc LICENSE.TXT
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
@ -167,17 +164,15 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%{_includedir}/clang-c/*.h %{_includedir}/clang-c/*.h
%dir %{_includedir}/clang %dir %{_includedir}/clang
%{_includedir}/clang/* %{_includedir}/clang/*
%dir %{_includedir}/clang-tidy %{_libdir}/libclang*.a
%{_includedir}/clang-tidy/*
%{_libdir}/libclang*.so %{_libdir}/libclang*.so
%{_libdir}/libfindAllSymbols.so
%dir %{_libdir}/clang %dir %{_libdir}/clang
%dir %{_libdir}/clang/* %dir %{_libdir}/clang/*
%dir %{_libdir}/clang/*/include %dir %{_libdir}/clang/*/include
%{_libdir}/clang/*/include/* %{_libdir}/clang/*/include/*
%dir %{_libdir}/cmake/clang %dir %{_libdir}/cmake/clang
%{_libdir}/cmake/clang/*.cmake %{_libdir}/cmake/clang/*.cmake
%doc NOTES.txt README.txt %doc clang/NOTES.txt clang/README.txt
%files -n lib%{name}-apidocs %files -n lib%{name}-apidocs
%defattr(-,root,root) %defattr(-,root,root)
@ -186,12 +181,93 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%dir %{_docdir}/Clang/clang/html %dir %{_docdir}/Clang/clang/html
%{_datadir}/doc/Clang/clang/html/* %{_datadir}/doc/Clang/clang/html/*
%{_datadir}/doc/Clang/clang/html/.buildinfo %{_datadir}/doc/Clang/clang/html/.buildinfo
%dir %{_docdir}/Clang/clang-tools
%dir %{_docdir}/Clang/clang-tools/html
%{_datadir}/doc/Clang/clang-tools/html/*
%{_datadir}/doc/Clang/clang-tools/html/.buildinfo
%changelog %changelog
* 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
* Sat Dec 02 2023 Automatic Build System <autodist@mambasoft.it> 17.0.6-1mamba
- automatic version update by autodist
* Wed Nov 15 2023 Automatic Build System <autodist@mambasoft.it> 17.0.5-1mamba
- automatic version update by autodist
* Fri Nov 03 2023 Automatic Build System <autodist@mambasoft.it> 17.0.4-1mamba
- automatic version update by autodist
* Fri Oct 20 2023 Automatic Build System <autodist@mambasoft.it> 17.0.3-1mamba
- automatic version update by autodist
* Thu Jun 15 2023 Automatic Build System <autodist@mambasoft.it> 16.0.6-1mamba
- automatic version update by autodist
* Sat Jun 03 2023 Automatic Build System <autodist@mambasoft.it> 16.0.5-1mamba
- automatic version update by autodist
* Fri May 19 2023 Automatic Build System <autodist@mambasoft.it> 16.0.4-1mamba
- automatic version update by autodist
* Sat May 13 2023 Automatic Build System <autodist@mambasoft.it> 16.0.3-1mamba
- automatic version update by autodist
* Fri Jan 13 2023 Automatic Build System <autodist@mambasoft.it> 15.0.7-1mamba
- automatic version update by autodist
* Sat Dec 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 15.0.6-1mamba
- update to 15.0.6
* Sat Nov 19 2022 Automatic Build System <autodist@mambasoft.it> 15.0.5-1mamba
- automatic version update by autodist
* Sun Jun 26 2022 Automatic Build System <autodist@mambasoft.it> 14.0.6-1mamba
- automatic version update by autodist
* Sun Jun 12 2022 Automatic Build System <autodist@mambasoft.it> 14.0.5-1mamba * Sun Jun 12 2022 Automatic Build System <autodist@mambasoft.it> 14.0.5-1mamba
- automatic version update by autodist - automatic version update by autodist