Package: netw-ib-ox-ag
Version: 5.39.0-1.5
Severity: wishlist
Tags: patch
User:[email protected]
Usertags: loongarch64
Dear maintainers,
When I compiled netw-ib-ox-ag for loongarch architecture, it reported
missing architecture support.
The error message is following:
System architecture selection
Error: Could not guess NETWIBDEF_SYSARCH.
Edit genemake to set NETWIBDEF_SYSARCH, and rerun genemake.
Please contact Laurent to permanently solve this problem.
make: *** [debian/rules:30: build-stamp] Error 1
We have added loongarch architecture support for netw-ib-ox-ag, the patch
can be found in the attachment.
If you have any questions, you can contact me at any time.
--- netw-ib-ox-ag-5.39.0.orig/src/netwib-src/src/genemake
+++ netw-ib-ox-ag-5.39.0/src/netwib-src/src/genemake
@@ -130,6 +130,9 @@ case $unamem in
"riscv64" )
NETWIBDEF_SYSARCH="riscv64"
;;
+ "loongarch64" )
+ NETWIBDEF_SYSARCH="loongarch64"
+ ;;
* )
echo "Error: Could not guess NETWIBDEF_SYSARCH.";
echo "Edit genemake to set NETWIBDEF_SYSARCH, and rerun genemake.";