rebuilt by autoport with build requirements: libldc-devel>=1.35.0-1mamba [release 1.35.0-2mamba;Sun Nov 05 2023]

This commit is contained in:
Automatic Build System 2024-01-06 03:35:26 +01:00
parent af12608fcd
commit 3fa48ecdf8

View File

@ -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 <autodist@mambasoft.it> 1.35.0-2mamba
- rebuilt by autoport with build requirements: libldc-devel>=1.35.0-1mamba
* Sat Nov 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.35.0-1mamba
- update to 1.35.0
* Sun May 28 2023 Automatic Build System <autodist@mambasoft.it> 1.32.2-1mamba
- automatic version update by autodist