Source: fio
Version: 3.36-1
Severity: wishlist
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

Maybe we need to add build support for loongarch64.
I hope to give you feedback in advance.
Please consider the patch I have attached.

I would like to remind you that the compilation dependency of fio is not yet satisfied. Depends on the librbd-dev and libnbd-dev packages when compiling fio. About the dependencies packages, such as librbd-dev and libnbd-dev, we have also submitted bug separately to BTS to add loongarch64 support. The fio source package was compiled successfully on my local loong64 rootfs environment, for example:

```
make[1]: Leaving directory '/home/fio/fio-3.36'
   dh_auto_test
   make -j32 test "TESTSUITEFLAGS=-j32 --verbose" VERBOSE=1
make[1]: Entering directory '/home/fio/fio-3.36'
./fio --minimal --thread --exitall_on_error --runtime=1s --name=nulltest --ioengine=null --rw=randrw --iodepth=2 --norandommap --random_generator=tausworthe64 --size=16T --name=verifyfstest --filename=fiotestfile.tmp --unlink=1 --rw=write --verify=crc32c --verify_state_save=0 --size=16K
3;fio-3.36;nulltest;0;0;2045220;2045220;511305;1000;0;83;0.104989;0.118888;0;49;0.541493;0.089076;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=2;0%=0;0%=0;0%=0;0;84;0.646483;0.150796;2046475;2046475;100.000000%;2046475.000000;0.000000;2042196;2042196;510549;1000;0;3;0.107921;0.010351;0;14;0.542254;0.044376;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=2;0%=0;0%=0;0%=0;0;14;0.650175;0.045519;2043635;2043635;100.000000%;2043635.000000;0.000000;99.700000%;0.000000%;2;0;0;100.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.0%;99.99%;0.01%;0.01%;0.01%;0.01%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
......
dpkg-deb: building package 'fio-dbgsym' in '../fio-dbgsym_3.36-1_loong64.deb'. dpkg-deb: building package 'fio-examples' in '../fio-examples_3.36-1_all.deb'.
dpkg-deb: building package 'fio' in '../fio_3.36-1_loong64.deb'.
```

If you have any questions, you can contact me at any time.

thanks,
Dandan Zhang

diff -Nru fio-3.36/debian/control fio-3.36/debian/control
--- fio-3.36/debian/control     2023-10-23 09:47:12.000000000 +0000
+++ fio-3.36/debian/control     2023-10-23 09:47:12.000000000 +0000
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Martin Steigerwald <martin.steigerw...@proact.de>
-Build-Depends: debhelper-compat (= 13), libaio-dev [linux-any], zlib1g-dev, 
librdmacm-dev [linux-any], libibverbs-dev [linux-any], librbd-dev [linux-amd64 
linux-arm64 linux-ppc64el linux-ppc64 linux-riscv64 linux-mips64el linux-s390x 
linux-ia64 linux-sparc64], libcairo2-dev, libnuma-dev [linux-any], flex, bison, 
sphinx, python3-sphinx, libglusterfs-dev [amd64 arm64 ppc64el ppc64 riscv64 
mips64el s390x ia64 sparc64], libpmem-dev [amd64 arm64 ppc64el], libnbd-dev
+Build-Depends: debhelper-compat (= 13), libaio-dev [linux-any], zlib1g-dev, 
librdmacm-dev [linux-any], libibverbs-dev [linux-any], librbd-dev [linux-amd64 
linux-arm64 linux-loong64 linux-ppc64el linux-ppc64 linux-riscv64 
linux-mips64el linux-s390x linux-ia64 linux-sparc64], libcairo2-dev, 
libnuma-dev [linux-any], flex, bison, sphinx, python3-sphinx, libglusterfs-dev 
[amd64 arm64 loong64 ppc64el ppc64 riscv64 mips64el s390x ia64 sparc64], 
libpmem-dev [amd64 arm64 ppc64el], libnbd-dev
 Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: https://github.com/axboe/fio

Reply via email to