Bug#1071606: ucx: FTBFS: add support for loongarch64

Gianfranco Costamagna locutusofborg at debian.org
Tue Jul 30 10:13:53 BST 2024


control: fixed -1 1.17.0+ds-2
control: close -1

thanks

On Wed, 22 May 2024 16:30:50 +0800 zhangdandan <zhangdandan at loongson.cn> wrote:
> Source: ucx
> Version: 1.16.0+ds-5
> Severity: normal
> Tags: ftbfs patch
> User: debian-loongarch at lists.debian.org
> Usertags: loong64
> 
> Dear maintainers,
> 
> Compiling the ucx failed for loong64 in my local ENV.
> 
> We need to add loong64 support in d/control.
> And we need to add loongarch64 support in ucx source.
> 
> The debian ucx source package is pulling the upstream 1.16.x version.
> The latest release version of ucx upstream is 1.17.x.
> Support for the new architecture will be committed to the ucx upstream 
> master branch.
> 
> Due to the large differences between the main branch and the 1.16.x 
> version of the ucx code, I prioritized adding support for loongarch in 
> the ucx 1.16.0+ds-5 source package.
> Please consider the patch I attached.
> Suggestion to consider adding the attached patch to the debian/patches.
> For now, it is recommended that the attached patch be maintained in the 
> debian ucx source package.
> With the attached patch, the ucx source package was built successfully 
> in my local ENV.
> Execute the constructed binary and the output is normal, e.g.
> ```
> root at localhost:/home/ucx/ucx-1.16.0+ds# ./debian/tmp/usr/bin/ucx_info -v
> # Library version: 1.16.0
> # Library path: 
> /home/ucx/ucx-1.16.0+ds/debian/tmp/usr/lib/loongarch64-linux-gnu/libucs.so.0
> # API headers version: 1.16.0
> # Git branch '<unknown>', revision 0000000
> # Configured with: --build=loongarch64-linux-gnu --prefix=/usr 
> --includedir=${prefix}/include......
> -enable-rc --enable-dc --enable-ud --with-mlx5-dv --enable-dm
> ```
> 
> In addition, I will add loongarch64 support to the ucx upstream master 
> branch.
> Future new upstream releases of the debian ucx source package will 
> include support for the loongarch architecture.
> 
> Your opinions are welcome.
> 
> Thanks,
> Dandan Zhang
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20240730/5aec9f00/attachment.sig>


More information about the debian-science-maintainers mailing list