From bfcafdb7dfab64f9f3ab321fff1c217649b6eedc Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 06:25:26 +0100 Subject: [PATCH] automatic version update by autodist [release 16.0.4-1mamba;Mon May 22 2023] --- lld.spec | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/lld.spec b/lld.spec index 5100129..d98ccf2 100644 --- a/lld.spec +++ b/lld.spec @@ -1,7 +1,7 @@ %define gccver %(gcc -dumpversion) %define majver %(echo %version | cut -d. -f1-2) Name: lld -Version: 15.0.7 +Version: 16.0.4 Release: 1mamba Summary: Linker from the LLVM project Group: Development/Languages @@ -11,7 +11,8 @@ Packager: Silvan Calarco URL: https://llvm.org/ Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/lld-%{version}.src.tar.xz Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libunwind-%{version}.src.tar.xz -Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/llvm-%{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}/llvm-%{version}.src.tar.xz Patch0: lld-9.0.1-sphinx-2.patch Patch1: lld-13.0.0-arm-link-atomic.patch License: NCSA @@ -21,6 +22,7 @@ BuildRequires: libgcc BuildRequires: libllvm-devel BuildRequires: libstdc++6-devel BuildRequires: libz-devel +BuildRequires: libzstd-devel ## AUTOBUILDREQ-END BuildRequires: llvm Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} @@ -55,28 +57,30 @@ This package includes the lib%{name} API documentation. %debug_package %prep -%setup -q -c -a1 -a2 +%setup -q -c -a1 -a2 -a3 #% setup -q -c -D -T #:<< _EOF + +mv lld-%{version}.src lld +mv libunwind-%{version}.src libunwind +mv cmake-%{version}.src cmake +mv llvm-%{version}.src llvm + #%ifarch arm #cd %{name}-%{version}.src #%patch1 -p1 #cd .. #%endif -mv libunwind-%{version}.src libunwind - %build #:<< _EOF -cd %{name}-%{version}.src mkdir -p build cd build -cmake .. -G Ninja \ +cmake -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DPYTHON_EXECUTABLE=%{__python3} \ -DLLVM_LINK_LLVM_DYLIB=ON \ -DLLVM_INCLUDE_TESTS=ON \ -DLLVM_BUILD_TESTS=ON \ @@ -84,14 +88,16 @@ cmake .. -G Ninja \ -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_EXTERNAL_LIT=%{_bindir}/lit \ - -DLLVM_MAIN_SRC_DIR="%{_builddir}/%{name}-%{version}/llvm-%{version}.src/" \ - -Wno-dev + -Wno-dev \ + ../lld + +# -DLLVM_MAIN_SRC_DIR="%{_builddir}/%{name}-%{version}/llvm-%{version}.src/" \ ninja %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -cd %{name}-%{version}.src/build +cd build export DESTDIR=%{buildroot} ninja install @@ -108,7 +114,7 @@ ninja install %{_bindir}/ld.lld %{_bindir}/lld %{_bindir}/lld-link -%doc %{name}-%{version}.src/LICENSE.TXT +%doc lld/LICENSE.TXT %files -n lib%{name} %defattr(-,root,root) @@ -128,6 +134,9 @@ ninja install %{_docdir}/lld/* %changelog +* Mon May 22 2023 Automatic Build System 16.0.4-1mamba +- automatic version update by autodist + * Thu Jan 12 2023 Automatic Build System 15.0.7-1mamba - automatic version update by autodist