Bug#1069718: ldc: add build support for loongarch64

2024-08-15 Thread zhangdandan

Hi mak,

On Tue, 23 Apr 2024 20:36:24 +0800 zhangdandan wrote:

> Source: ldc
> Version: 1:1.36.0-2
> Severity: normal
> Tags: patch
> User: debian-loonga...@lists.debian.org
> Usertags: loong64
>
> Dear maintainers,
>
> I have added build support for loongarch in ldc package.
>
> Please consider the patch I attached.
> Your opinions are welcome.

Based on the PR (Signed-Off-By: heiher) 
https://github.com/ldc-developers/ldc/pull/4652,

full support for the LoongArch architecture is complete in the ldc upstream.

1.Could you consider updating a new upstream version for Debian ldc 
source package?

I checked that the support for LoongArch was included in v1.39.0.
https://github.com/ldc-developers/ldc/tree/v1.39.0.

2.Could you enable build for loong64?
Please consider the patch I attached.
Patch can be found at 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069718#5.


Any questions, you can ask me at anytime on IRC (name: zhangdandan).

Sincerely,
Dandan


Bug#1069718: ldc: add build support for loongarch64

2024-04-23 Thread zhangdandan

Source: ldc
Version: 1:1.36.0-2
Severity: normal
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

I have added build support for loongarch in ldc package.

Please consider the patch I attached.
Your opinions are welcome.

Thanks,
Dandan Zhang

diff --git a/../org/ldc-1.36.0/debian/control b/debian/control
index ef38a72..c63b587 100644
--- a/../org/ldc-1.36.0/debian/control
+++ b/debian/control
@@ -27,7 +27,7 @@ Vcs-Git: https://salsa.debian.org/d-team/ldc.git
 Vcs-Browser: https://salsa.debian.org/d-team/ldc
 
 Package: ldc
-Architecture: amd64 arm64 armhf i386 riscv64
+Architecture: amd64 arm64 armhf i386 riscv64 loong64
 Provides: d-compiler,
   d-v2-compiler
 Depends: libphobos2-ldc-shared-dev (= ${binary:Version}),
@@ -42,7 +42,7 @@ Description: LLVM D Compiler
 
 Package: libphobos2-ldc-shared106
 Section: libs
-Architecture: amd64 arm64 armhf i386 riscv64
+Architecture: amd64 arm64 armhf i386 riscv64 loong64
 Multi-Arch: same
 Depends: ${misc:Depends},
  ${shlibs:Depends}
@@ -57,7 +57,7 @@ Description: LLVM D Compiler - Standard and runtime libraries
 
 Package: libphobos2-ldc-shared-dev
 Section: libdevel
-Architecture: amd64 arm64 armhf i386 riscv64
+Architecture: amd64 arm64 armhf i386 riscv64 loong64
 Depends: libphobos2-ldc-shared106 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}