查看: 440|回复: 6

OpenHarmony移植跑分压力测试工具7zip教程

[复制链接]

2

主题

0

回帖

16

积分

新手上路

积分
16
发表于 2025-4-16 09:32:09 | 显示全部楼层 |阅读模式
下载windows linux 源码
linux端源码:https://codeload.github.com/Distrotech/p7zip/zip/refs/heads/master


Linux端解压
unzip p7zip-master.zip
进入p7zip-master 文件夹
cd p7zip-master
首先修改makefile.linux_cross_arm 中的编译链选择
vim makefile.linux_cross_arm


保存并退出后需要进行软链接到makefile.machine
ln -s makefile.linux_cross_arm makefile.machine
再给p7zip-master/CPP/Windows/Error.cpp 修改如下代码打补丁,不然编译会因为编码标准问题报错
vim ./CPP/Windows/Error.cpp    即添加(DWORD)


执行make 编译
make
编译完成后进入p7zip-master/bin 文件下查看是否编译出7za可执行文件
cd ./ bin


将可执行文件发送到板卡上,此时可执行文件已经可以运行了,但是没有对应的库,所以需要移一个libc++_shared.so 库文件,此库文件已在本word文件夹下提供,注:不可随意找一个libc++_shared.so替代,此库文件是来自上述编译链下的库。


将此库文件也发送到板卡上
在板卡终端输入 以下命令 赋予权限
chmod 777 libc++_shared.so
然后移动到板卡下的/lib/lib64目录下
mv libc++_shared.so /lib64/
重新启动环境
source /lib64
至此 7z(loongarch64) 移植完成
在板卡上执行 ./7za b 进行cpu 跑分性能测试


目前存在一个已知bug,在连续运行大概1150次后,就会出现内存爆错,经过两张现有板卡多次测试已排查出为软件问题。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

0

主题

391

回帖

810

积分

高级会员

积分
810
发表于 2025-8-4 23:03:40 | 显示全部楼层
http://tuchkas.ru/

0

主题

92

回帖

196

积分

注册会员

积分
196
发表于 2025-8-12 08:12:09 | 显示全部楼层

Recommended Workspace Management And Moving Solutions Website

why not just google it

0

主题

92

回帖

196

积分

注册会员

积分
196
发表于 2025-8-15 07:24:24 | 显示全部楼层

Awesome Slot Gacor Site

To the people talking about apk play slot, bandar togel slot resmi, singapore hari ini, prediksi nomor jitu togel singapore hari ini, situs dewa togel terpercaya, situs poker deposit pulsa, slot online resmi indonesia, slot bisa deposit pulsa, slot live casino, bocoran sgp hari ini langsung dari pusat,  I highly recommend this recommended dvltoto login url or cara main game slot, agen slot terbesar dan terpercaya, situs slot deposit ovo, cara bermain slot pragmatic, 10 situs togel terbesar, togel online slot, angka togel hari, togel harian, rekomendasi situs judi terbaik, slot pulsa login, not forgetting sites such as this had me going about asian2bet link not to mention togel singapura untuk hari ini, data pengeluaran sdy, permainan slot online, poker judi online, website poker, 4d slot login, pasaran togel slot, hk siang, daftar situs terbaik, data sgp hari ini, which is worth considering with this our site about asian2bet info which is also great. Also, have a look at this helpful hints on 7rajatogel details bearing in mind live judi slot, cara bermain togel online, togel hk togel, nama aplikasi judi slot online, keluaran hk sdy sgp 2022 lengkap hari ini, slot sbo, situs slot ug gaming, idn slot terbaik, daftar casino, daftar slot online, alongside all this article source for tajir4d login tips on top of slot terpercaya indonesia, bermain slot online, game slot online, bandar togel terbesar, slot online hari ini,  read this post here on on top of hongkong resmi, bo togel slot, tentang judi slot online, depo slot via pulsa, deposit via pulsa slot,  for good measure. Check more @ Updated Slot Gacor Guide 647499e

0

主题

92

回帖

196

积分

注册会员

积分
196
发表于 2025-8-19 20:41:28 | 显示全部楼层

Useful Currency Conversion Site


In response to the lady inquiring about 1 dollar to shekel, euro to tnd, nok to usd, usd to byn, aed to pkr forecast, aed to inr forecast, western union exchange rate today, interbank rate, currency, lira to taka, inr to dollar, 1 eur uah, 1aud to inr, us dollar to russian ruble, 1 usd to nok,  I highly suggest this more bonuses on currency conversion site or foreign exchange near me, gbp to inr, gbp cny, 1600 usd to cad, us dollar to pkr, inr to tenge, pound to kwacha, pound to forint, cad to yen, dkk to pkr, hkd to cny, sgd to rmb, australian dollar rate today, 10000 cad to inr, pounds to canadian dollars, which is worth considering with this he has a good point about currency exchange site bearing in mind gbp to lkr, 2000 dollars to naira, 10 dollar in indian rupees, dominican peso to usd, 1 usd to turkish lira, aed to kwd, oanda exchange rate, us to peso, sgd to peso, 1500 usd to aud, baht to pkr, gbp rate today, huf to ron, rmb to sgd, dollar to forint, not forgetting sites such as this excellent currency rate details which is also great. Also, have a look at this updated currency rate info which is worth considering with rupee to taka, lira to taka, pound to baht, 1000 dirham to pkr, euro to ringgit, us dollar to egyptian pound, gbp to sek, 1 aud, dollars to colones, 100 aud to usd, dollar to rupee today, inr to aud, 200 pounds in rupees, pound to dollar rate, pound to afghani, bearing in mind this the advantage on currency exchange advice bearing in mind 1 in nepali rupees, us dollar to euro, aud to krw, us dollar to philippine peso rate today, dirham to egp,  my sources for and don't forget usd to cdn, 1 kwd to inr, sek to cad, kwd to lkr, eursek,  for good measure. Check more @ Useful Slot Gacor Site b0b048d

0

主题

92

回帖

196

积分

注册会员

积分
196
发表于 2025-8-19 20:53:20 | 显示全部楼层

Excellent Currency Conversion Website


In reply to the people asking about baht to inr, usd to hryvnia, usd rub, xe exchange, convert euro to cad, aed to rs, dinar to peso, canadian currency, dirhams to philippine peso today, euro to pkr open market, 1000 yen to usd, yen to sek, usd rate today, 100 dollar to naira, jpy to hkd,  I highly suggest this great currency rate info or 1600 usd to cad, dubai dirham to inr, 200 usd to php, aed to inr forecast, google currency converter, pound sterling live, idr to usd, 1 qar to inr, 1 sgd to thb, dollars to pounds calculator, 1 usd to sgd, 1000 aed to usd, pln currency, 2000 cad to inr, rouble to dollar, not to mention this i loved this for currency rate site together with sgd to rmb, 20 dollars in rands, cny currency, 600 euros in pounds, 5000 dollars in rands, usd to nok, exchange rate cad to php, usd to hrk, 1 eur to chf, 500 euros in pounds, usd to pkr, baht to sgd, euro to lkr, aud to vnd, 60 dollars in rupees, bearing in mind this for beginners for currency rate link which is also great. Also, have a look at this official source for currency exchange link together with 1usd to cad, forex rates today, idr to inr, 100 euro to pkr, 1500 usd to aud, exchange rate dollar to pound, 200 euro to inr, cad to pln, 1000 pounds to naira, 3000 yen to usd, 100 usd to egp, 1dollars in rupees, euro to dollar conversion, 100 euro to cad, 15 euros in pounds, and don't forget this source on currency rate site and don't forget today dollar, 500 usd to aed, dkk currency, kuna to euro, aud cad,  my sources about as well as gbp to rmb, 1 usd to lira, rand to taka, pound to euro, convert dollars to rands,  for good measure. Check more @ Top Rated Slot Gacor Info 895b0b0

0

主题

92

回帖

196

积分

注册会员

积分
196
发表于 2025-8-19 20:54:58 | 显示全部楼层

High Rated Currency Exchange Tips

FrankJScott ??? 2025-8-19 20:41
In response to the lady inquiring about 1 dollar to shekel, euro to tnd, nok to usd, usd to byn, a ...

In response to the guy inquiring about thb to gbp, forex rates today, us dollar to philippine peso today, doller price, usd to nzd, 500 dollars in pakistani rupees, 500 euro to inr, american to canadian dollar, pakistani currency rate today, 25 euros to dollars, idr to aud, usd to pkr forecast, 5000 usd to aud, pound to dirham, brazilian currency,  I highly recommend this awesome currency rate blog or 1 nzd to inr, ringgit to inr, convert pounds to euros, 1dollars in pakistani rupees, cad to huf, 1 zloty to inr, 1 dollar to 1 pakistani rupee, aud to rub, dollar to canadian dollar, dolar denar, euro to cad, 1 pound to inr, gbp to dollar, 50 dollars to philippine peso, rand to gbp, which is worth considering with this full article about currency exchange info and don't forget euro to rm, 1200 usd to inr, 1 dirham in nepali rupees, 100 usd to php, best euro exchange rate, gbp brl, rand to ksh, inr to usd today, to lkr, currency exchange calculator, sgd to peso, 1 eur uah, 400 euros to dollars, yuan to aud, gbp to usd forecast, alongside all this find out more about currency exchange advice which is also great. Also, have a look at this continue about currency rate url which is worth considering with dollar to gbp, 250 euros to dollars, usd to indian rupees, vnd to php, exchange rate dollar to naira, malaysian ringgit to inr, php to dollar, us dollar to npr, 1 usd to lkr, naira to euro, sek to pln, usd to cad, 1 usd to myr, 30000 pesos to dollars, 3000 dollars to naira, bearing in mind this this guy on currency exchange link alongside all pound to myr, exchange rate euro to rand, forex rate, 1 aed in rupees, 200 euro to naira,  killer deal for which is worth considering with 1000 yen to myr, 1 usd to huf, eur to qar, 2000 baht to usd, baht to vnd,  for good measure. Check more @ Cool Slot Gacor Tips f3770ea
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表