automatic version update by autodist [release 16.0.4-1mamba;Fri May 19 2023]
This commit is contained in:
parent
9eff950405
commit
1fb822c7bf
@ -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
|
||||
|
10
clang-16.0.4-arm-add-latomic.patch
Normal file
10
clang-16.0.4-arm-add-latomic.patch
Normal 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
|
80
clang.spec
80
clang.spec
@ -2,7 +2,7 @@
|
||||
%define MAJver %(echo %version | cut -d. -f1)
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
Name: clang
|
||||
Version: 15.0.7
|
||||
Version: 16.0.4
|
||||
Release: 1mamba
|
||||
Summary: C language family frontend for LLVM
|
||||
Group: Development/Languages
|
||||
@ -12,7 +12,9 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://llvm.org/
|
||||
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
|
||||
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
|
||||
License: NCSA
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
@ -26,6 +28,7 @@ BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: llvm = %{version}
|
||||
BuildRequires: llvm >= 14.0.3-3mamba
|
||||
BuildRequires: python-recommonmark-py310
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description
|
||||
@ -68,15 +71,19 @@ This package includes the lib%{name} API documentation.
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -a1 -n %{name}-%{version}.src
|
||||
#% setup -q -n %{name}-%{version}.src
|
||||
#-D -T
|
||||
%setup -q -c -a0 -a1 -a2 -a3
|
||||
#% setup -q -D -T
|
||||
#:<< _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
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch 0 -p1
|
||||
cd clang
|
||||
%patch 1 -p1
|
||||
cd ..
|
||||
%endif
|
||||
|
||||
%build
|
||||
@ -87,7 +94,6 @@ cd build
|
||||
cmake .. -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON \
|
||||
-DCLANG_LINK_CLANG_DYLIB=ON \
|
||||
@ -98,8 +104,10 @@ cmake .. -G Ninja \
|
||||
-DLLVM_INCLUDE_DOCS=ON \
|
||||
-DLLVM_BUILD_DOCS=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"
|
||||
|
||||
ninja %{_smp_mflags}
|
||||
@ -126,25 +134,27 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/analyze-build
|
||||
%{_bindir}/c-index-test
|
||||
%{_bindir}/amdgpu-arch
|
||||
%{_bindir}/nvptx-arch
|
||||
%{_bindir}/clang
|
||||
%{_bindir}/clang++
|
||||
%{_bindir}/clang-*
|
||||
%{_bindir}/clangd
|
||||
#%{_bindir}/clangd
|
||||
%{_bindir}/diagtool
|
||||
%{_bindir}/find-all-symbols
|
||||
#%{_bindir}/find-all-symbols
|
||||
%{_bindir}/git-clang-format
|
||||
%{_bindir}/hmaptool
|
||||
%{_bindir}/intercept-build
|
||||
%{_bindir}/modularize
|
||||
%{_bindir}/pp-trace
|
||||
%{_bindir}/run-clang-tidy
|
||||
#%{_bindir}/modularize
|
||||
#%{_bindir}/pp-trace
|
||||
#%{_bindir}/run-clang-tidy
|
||||
%{_bindir}/scan-build
|
||||
%{_bindir}/scan-build-py
|
||||
%{_bindir}/scan-view
|
||||
%dir %{_prefix}/lib/libear
|
||||
%{_prefix}/lib/libear/*
|
||||
%dir %{_prefix}/lib/libscanbuild
|
||||
%{_prefix}/lib/libscanbuild/*
|
||||
#%dir %{_prefix}/lib/libear
|
||||
#%{_prefix}/lib/libear/*
|
||||
#%dir %{_prefix}/lib/libscanbuild
|
||||
#%{_prefix}/lib/libscanbuild/*
|
||||
# FIXME: should be libexec64 on 64 bits archs
|
||||
%{_prefix}/libexec/*
|
||||
%dir %{_datadir}/clang/
|
||||
@ -155,14 +165,18 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
||||
%{_datadir}/scan-view/*
|
||||
%{_mandir}/man1/clang.1*
|
||||
%{_mandir}/man1/diagtool.1*
|
||||
%{_mandir}/man1/extraclangtools.1*
|
||||
#%{_mandir}/man1/extraclangtools.1*
|
||||
%{_mandir}/man1/scan-build.1*
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libclang*.so.*
|
||||
%{_libdir}/libfindAllSymbols.so.*
|
||||
%doc LICENSE.TXT
|
||||
%dir %{_libdir}/libear
|
||||
%{_libdir}/libear/*
|
||||
%dir %{_libdir}/libscanbuild
|
||||
%{_libdir}/libscanbuild/*
|
||||
#%{_libdir}/libfindAllSymbols.so.*
|
||||
%doc clang/LICENSE.TXT
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
@ -170,17 +184,17 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
||||
%{_includedir}/clang-c/*.h
|
||||
%dir %{_includedir}/clang
|
||||
%{_includedir}/clang/*
|
||||
%dir %{_includedir}/clang-tidy
|
||||
%{_includedir}/clang-tidy/*
|
||||
#%dir %{_includedir}/clang-tidy
|
||||
#%{_includedir}/clang-tidy/*
|
||||
%{_libdir}/libclang*.so
|
||||
%{_libdir}/libfindAllSymbols.so
|
||||
#%{_libdir}/libfindAllSymbols.so
|
||||
%dir %{_libdir}/clang
|
||||
%dir %{_libdir}/clang/*
|
||||
%dir %{_libdir}/clang/*/include
|
||||
%{_libdir}/clang/*/include/*
|
||||
%dir %{_libdir}/cmake/clang
|
||||
%{_libdir}/cmake/clang/*.cmake
|
||||
%doc NOTES.txt README.txt
|
||||
%doc clang/NOTES.txt clang/README.txt
|
||||
|
||||
%files -n lib%{name}-apidocs
|
||||
%defattr(-,root,root)
|
||||
@ -189,12 +203,18 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
||||
%dir %{_docdir}/Clang/clang/html
|
||||
%{_datadir}/doc/Clang/clang/html/*
|
||||
%{_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
|
||||
#%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
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user