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 Name: ldc
Version: 1.32.2 Version: 1.35.0
Release: 1mamba Release: 2mamba
Summary: The LLVM-based D Compiler Summary: The LLVM-based D Compiler
Group: Applications/Development Group: Applications/Development
Vendor: openmamba Vendor: openmamba
@ -24,12 +24,14 @@ License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: liblld-devel BuildRequires: libllvm16-devel
BuildRequires: libllvm-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libldc-devel >= 1.35.0-1mamba
BuildRequires: liblld-devel >= 17.0.4-1mamba
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libllvm-devel >= 16.0.4 BuildRequires: llvm16
BuildRequires: libllvm16-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description %description
@ -67,21 +69,20 @@ This package contains libraries and header files for developing applications tha
%setup -q %setup -q
%endif %endif
%patch 0 -p1 -b .llvm-16-update_to_ir_include #%patch 0 -p1 -b .llvm-16-update_to_ir_include
%patch 1 -p1 -b .llvm-16-context_usage #%patch 1 -p1 -b .llvm-16-context_usage
%patch 2 -p1 -b .llvm-16-add_llvm_profdata #%patch 2 -p1 -b .llvm-16-add_llvm_profdata
%patch 3 -p1 -b .llvm-16-fix-ms_cxx_helper #%patch 3 -p1 -b .llvm-16-fix-ms_cxx_helper
%patch 4 -p1 -b .llvm-16-stop_using_aggressive_combine #%patch 4 -p1 -b .llvm-16-stop_using_aggressive_combine
%patch 5 -p1 -b .llvm-16-fix-aarch64-support #%patch 5 -p1 -b .llvm-16-fix-aarch64-support
%patch 6 -p1 -b .llvm-16-use_std_optional_api #%patch 6 -p1 -b .llvm-16-use_std_optional_api
%patch 7 -p1 -b .llvm-16.0.4-use_std_optional_api #%patch 7 -p1 -b .llvm-16.0.4-use_std_optional_api
%build %build
%cmake -d build \ %cmake -d build \
-DBUILD_SHARED_LIBS=BOTH \ -DBUILD_SHARED_LIBS=BOTH \
-DBUILD_LTO_LIBS=ON \ -DBUILD_LTO_LIBS=ON \
-DD_COMPILER_FLAGS="-link-defaultlib-shared=false --flto=thin" \ -DLLVM_CONFIG:PATH=%{_libdir}/llvm16/bin/llvm-config \
-DADDITIONAL_DEFAULT_LDC_SWITCHES="\"-link-defaultlib-shared\"" \
-DINCLUDE_INSTALL_DIR=%{_includedir}/dlang/ldc \ -DINCLUDE_INSTALL_DIR=%{_includedir}/dlang/ldc \
%if "%{?bootstrap}" != "" %if "%{?bootstrap}" != ""
%ifarch x86_64 %ifarch x86_64
@ -92,10 +93,6 @@ This package contains libraries and header files for developing applications tha
%endif %endif
%endif %endif
#%ifarch %{ix86}
# -DD_COMPILER=`pwd`/../ldc2-1.2.0-linux-x86/bin/ldmd2
#%endif
%make -j1 %make -j1
%install %install
@ -110,7 +107,8 @@ This package contains libraries and header files for developing applications tha
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/ldc2.conf %config(noreplace) %{_sysconfdir}/ldc2.conf
%{_bindir}/ldc-build-plugin
%{_bindir}/ldc-build-runtime %{_bindir}/ldc-build-runtime
%{_bindir}/ldc-profdata %{_bindir}/ldc-profdata
%{_bindir}/ldc-prune-cache %{_bindir}/ldc-prune-cache
@ -142,6 +140,12 @@ This package contains libraries and header files for developing applications tha
%doc README.md %doc README.md
%changelog %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 * Sun May 28 2023 Automatic Build System <autodist@mambasoft.it> 1.32.2-1mamba
- automatic version update by autodist - automatic version update by autodist