Updateo to 1.37.0

i9ce changed/i9ce/ldc-1.37.0-1.el9
Arkady L. Shane 9 months ago
parent 33120d9d32
commit b9a8ce5c30
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

2
.gitignore vendored

@ -1 +1 @@
SOURCES/ldc-1.35.0-src.tar.gz
SOURCES/ldc-1.37.0-src.tar.gz

@ -1 +1 @@
b65cd012c58908cf0ada4b16b189adf9658fb549 SOURCES/ldc-1.35.0-src.tar.gz
ea38c3225df3b21246d5ba55a2005b3e4248118b SOURCES/ldc-1.37.0-src.tar.gz

@ -1,24 +0,0 @@
From 87baf4a6f87c6776ba8f5dad276fb77e32e80065 Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Tue, 17 Oct 2023 10:44:24 +0200
Subject: [PATCH] LDC: Fix PPC support to compile without deprecation warnings
Fixes the following:
std/math/hardware.d(929): Deprecation: `asm` statement cannot be marked `@safe`, use `@system` or `@trusted` instead
---
std/math/hardware.d | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git ldc-1.35.0-src/runtime/phobos/std/math/hardware.d ldc-1.35.0-src/runtime/phobos/std/math/hardware.d
index 3e0c2fd6fbb..24fcbb89a63 100644
--- ldc-1.35.0-src/runtime/phobos/std/math/hardware.d
+++ ldc-1.35.0-src/runtime/phobos/std/math/hardware.d
@@ -926,7 +926,7 @@ private:
}
else version (PPC_Any)
{
- asm pure nothrow @nogc @safe
+ asm pure nothrow @nogc @trusted
{
`mtfsb0 24
mtfsb0 25

@ -3,7 +3,7 @@
%else
%global llvm_version 17
%endif
%global soversion 105
%global soversion 107
# bootstrapping is used for updating LDC to a newer version: it relies on an
# older, working LDC compiler in the buildroot, which is then used to build a
@ -16,8 +16,8 @@
Name: ldc
Epoch: 1
Version: 1.35.0
Release: 2%{?dist}
Version: 1.37.0
Release: 1%{?dist}
Summary: LLVM D Compiler
# The DMD frontend in dmd/* GPL version 1 or artistic license
@ -38,9 +38,6 @@ Patch: ldc-no-default-rpath.patch
Patch: 0001-Revert-Linux-Don-t-default-to-ld.gold-linker.patch
%endif
# https://github.com/ldc-developers/phobos/pull/72
Patch: fix-ppc-build.patch
ExclusiveArch: %{ldc_arches} ppc64le
BuildRequires: bash-completion
@ -125,6 +122,7 @@ install --mode=0644 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ldc
%{_bindir}/ldc-build-plugin
%{_bindir}/ldc-build-runtime
%{_bindir}/ldc-profdata
%{_bindir}/ldc-profgen
%{_bindir}/ldc-prune-cache
%{_bindir}/timetrace2txt
%{_rpmconfigdir}/macros.d/macros.ldc
@ -149,6 +147,9 @@ install --mode=0644 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ldc
%{_libdir}/libphobos2-ldc-shared.so.%{soversion}*
%changelog
* Thu May 02 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1:1.37.0-1
- Update to 1.37.0
* Thu May 02 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1:1.35.0-2
- Rebuilt for MSVSphere 9.4 against llvm 17

Loading…
Cancel
Save