#1121537 pytorch: please enable build on loong64

#1121537#5
Date:
2025-11-28 03:31:37 UTC
From:
To:
Dear maintainers,

Please enable build on loong64, patch attached.
Before building pytorch, please merge patch for sleef and build binary
packages.

Best regards,
Dandan Zhang

#1121537#10
Date:
2025-12-16 10:04:54 UTC
From:
To:
Hi,

Would you mind to send this request to upstream first?

Regards,
Aron

#1121537#15
Date:
2025-12-18 02:10:15 UTC
From:
To:
Hello,

On Tue, 16 Dec 2025 18:04:54 +0800 Aron Xu wrote:

 > Hi,
 >
 > On Fri, Nov 28, 2025 at 11:35 AM zhangdandan wrote:
 > >
 > > Please enable build on loong64, patch attached.
 > > Before building pytorch, please merge patch for sleef and build binary
 > > packages.
 > >
 >
 > Would you mind to send this request to upstream first?

For pytorch, we need add patch in d/control currently.
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1121537;filename=pytorch-enable-build-on-loong64.patch;msg=5

For sleef, sleef is pytorch's build-dependency. The pr of upstream is
https://github.com/shibatch/sleef/pull/672.  We also submitted bug and
patch for debian sleef.

Best regards,
Dandan Zhang