From 3fa48ecdf83aa2ef1dc5c0f9dfea1e8e51ca7fb7 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:35:26 +0100 Subject: [PATCH] rebuilt by autoport with build requirements: libldc-devel>=1.35.0-1mamba [release 1.35.0-2mamba;Sun Nov 05 2023] --- ldc.spec | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/ldc.spec b/ldc.spec index 1916add..62b69bd 100644 --- a/ldc.spec +++ b/ldc.spec @@ -1,7 +1,7 @@ -#% define bootstrap 0 +#% define bootstrap 1 Name: ldc -Version: 1.32.2 -Release: 1mamba +Version: 1.35.0 +Release: 2mamba Summary: The LLVM-based D Compiler Group: Applications/Development Vendor: openmamba @@ -24,12 +24,14 @@ License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc -BuildRequires: liblld-devel -BuildRequires: libllvm-devel +BuildRequires: libllvm16-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END +BuildRequires: libldc-devel >= 1.35.0-1mamba +BuildRequires: liblld-devel >= 17.0.4-1mamba BuildRequires: cmake -BuildRequires: libllvm-devel >= 16.0.4 +BuildRequires: llvm16 +BuildRequires: libllvm16-devel Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description @@ -67,21 +69,20 @@ This package contains libraries and header files for developing applications tha %setup -q %endif -%patch 0 -p1 -b .llvm-16-update_to_ir_include -%patch 1 -p1 -b .llvm-16-context_usage -%patch 2 -p1 -b .llvm-16-add_llvm_profdata -%patch 3 -p1 -b .llvm-16-fix-ms_cxx_helper -%patch 4 -p1 -b .llvm-16-stop_using_aggressive_combine -%patch 5 -p1 -b .llvm-16-fix-aarch64-support -%patch 6 -p1 -b .llvm-16-use_std_optional_api -%patch 7 -p1 -b .llvm-16.0.4-use_std_optional_api +#%patch 0 -p1 -b .llvm-16-update_to_ir_include +#%patch 1 -p1 -b .llvm-16-context_usage +#%patch 2 -p1 -b .llvm-16-add_llvm_profdata +#%patch 3 -p1 -b .llvm-16-fix-ms_cxx_helper +#%patch 4 -p1 -b .llvm-16-stop_using_aggressive_combine +#%patch 5 -p1 -b .llvm-16-fix-aarch64-support +#%patch 6 -p1 -b .llvm-16-use_std_optional_api +#%patch 7 -p1 -b .llvm-16.0.4-use_std_optional_api %build %cmake -d build \ -DBUILD_SHARED_LIBS=BOTH \ -DBUILD_LTO_LIBS=ON \ - -DD_COMPILER_FLAGS="-link-defaultlib-shared=false --flto=thin" \ - -DADDITIONAL_DEFAULT_LDC_SWITCHES="\"-link-defaultlib-shared\"" \ + -DLLVM_CONFIG:PATH=%{_libdir}/llvm16/bin/llvm-config \ -DINCLUDE_INSTALL_DIR=%{_includedir}/dlang/ldc \ %if "%{?bootstrap}" != "" %ifarch x86_64 @@ -92,10 +93,6 @@ This package contains libraries and header files for developing applications tha %endif %endif -#%ifarch %{ix86} -# -DD_COMPILER=`pwd`/../ldc2-1.2.0-linux-x86/bin/ldmd2 -#%endif - %make -j1 %install @@ -110,7 +107,8 @@ This package contains libraries and header files for developing applications tha %files %defattr(-,root,root) -%{_sysconfdir}/ldc2.conf +%config(noreplace) %{_sysconfdir}/ldc2.conf +%{_bindir}/ldc-build-plugin %{_bindir}/ldc-build-runtime %{_bindir}/ldc-profdata %{_bindir}/ldc-prune-cache @@ -142,6 +140,12 @@ This package contains libraries and header files for developing applications tha %doc README.md %changelog +* Sun Nov 05 2023 Automatic Build System 1.35.0-2mamba +- rebuilt by autoport with build requirements: libldc-devel>=1.35.0-1mamba + +* Sat Nov 04 2023 Silvan Calarco 1.35.0-1mamba +- update to 1.35.0 + * Sun May 28 2023 Automatic Build System 1.32.2-1mamba - automatic version update by autodist