automatic version update by autodist [release 16.0.4-1mamba;Fri May 19 2023]

This commit is contained in:
Automatic Build System 2024-01-05 21:24:35 +01:00
parent 9eff950405
commit 1fb822c7bf
3 changed files with 60 additions and 40 deletions

View File

@ -1,10 +0,0 @@
--- clang-15.0.5.src/tools/extra/clangd/CMakeLists.txt.orig 2022-11-21 10:01:09.540739747 +0100
+++ clang-15.0.5.src/tools/extra/clangd/CMakeLists.txt 2022-11-21 10:01:38.080499208 +0100
@@ -166,6 +166,7 @@
target_link_libraries(clangDaemon
PRIVATE
${LLVM_PTHREAD_LIB}
+ atomic
clangTidy

View File

@ -0,0 +1,10 @@
--- 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,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: 15.0.7 Version: 16.0.4
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,9 @@ 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-15.0.5-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
Patch0: clang-16.0.4-arm-add-latomic.patch
Patch1: clang-15.0.6-arm-add-latomic.patch Patch1: clang-15.0.6-arm-add-latomic.patch
License: NCSA License: NCSA
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -26,6 +28,7 @@ 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-py310
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description %description
@ -68,15 +71,19 @@ 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 #% setup -q -D -T
#-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
mv cmake-%{version}.src cmake
mv third-party-%{version}.src third-party
%ifarch arm %ifarch arm
%patch0 -p1 %patch 0 -p1
%patch1 -p1 cd clang
%patch 1 -p1
cd ..
%endif %endif
%build %build
@ -87,7 +94,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 \ -DBUILD_SHARED_LIBS=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \
-DCLANG_LINK_CLANG_DYLIB=ON \ -DCLANG_LINK_CLANG_DYLIB=ON \
@ -98,8 +104,10 @@ cmake .. -G Ninja \
-DLLVM_INCLUDE_DOCS=ON \ -DLLVM_INCLUDE_DOCS=ON \
-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"
ninja %{_smp_mflags} ninja %{_smp_mflags}
@ -126,25 +134,27 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%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}/clangd
%{_bindir}/diagtool %{_bindir}/diagtool
%{_bindir}/find-all-symbols #%{_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}/modularize
%{_bindir}/pp-trace #%{_bindir}/pp-trace
%{_bindir}/run-clang-tidy #%{_bindir}/run-clang-tidy
%{_bindir}/scan-build %{_bindir}/scan-build
%{_bindir}/scan-build-py %{_bindir}/scan-build-py
%{_bindir}/scan-view %{_bindir}/scan-view
%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 # FIXME: should be libexec64 on 64 bits archs
%{_prefix}/libexec/* %{_prefix}/libexec/*
%dir %{_datadir}/clang/ %dir %{_datadir}/clang/
@ -155,14 +165,18 @@ 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/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.* %dir %{_libdir}/libear
%doc LICENSE.TXT %{_libdir}/libear/*
%dir %{_libdir}/libscanbuild
%{_libdir}/libscanbuild/*
#%{_libdir}/libfindAllSymbols.so.*
%doc clang/LICENSE.TXT
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
@ -170,17 +184,17 @@ 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 #%dir %{_includedir}/clang-tidy
%{_includedir}/clang-tidy/* #%{_includedir}/clang-tidy/*
%{_libdir}/libclang*.so %{_libdir}/libclang*.so
%{_libdir}/libfindAllSymbols.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)
@ -189,12 +203,18 @@ 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
%dir %{_docdir}/Clang/clang-tools/html #%dir %{_docdir}/Clang/clang-tools/html
%{_datadir}/doc/Clang/clang-tools/html/* #%{_datadir}/doc/Clang/clang-tools/html/*
%{_datadir}/doc/Clang/clang-tools/html/.buildinfo #%{_datadir}/doc/Clang/clang-tools/html/.buildinfo
%changelog %changelog
* 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 * Fri Jan 13 2023 Automatic Build System <autodist@mambasoft.it> 15.0.7-1mamba
- automatic version update by autodist - automatic version update by autodist