kejilion / sh

分享定制化的shell脚本!
526 stars 330 forks source link

OpenSSH编译优化 多核同时编译 #16

Closed AkarinLiu closed 4 months ago

AkarinLiu commented 4 months ago

新增多核同时编译选项

kejilion commented 4 months ago

你这不行 还让用户输入核心数 我要求自动判断核心数多线程编译啊

make -j$(nproc)

这样不行吗?

阿卡林刘 @.***> 于2024年7月6日周六 17:54写道:

新增多核同时编译选项

You can view, comment on, or merge this pull request online at:

https://github.com/kejilion/sh/pull/16 Commit Summary

File Changes

(1 file https://github.com/kejilion/sh/pull/16/files)

Patch Links:

— Reply to this email directly, view it on GitHub https://github.com/kejilion/sh/pull/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7O6ZHKFKAVA47FZC5B2DT3ZK65G3AVCNFSM6AAAAABKOJJUVSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TGNBZHAZDSNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

AkarinLiu commented 4 months ago

已经更改好了,麻烦审阅一下

kejilion commented 4 months ago

更新了 请测试下 谢谢

阿卡林刘 @.***> 于2024年7月6日周六 20:38写道:

已经更改好了,麻烦审阅一下

— Reply to this email directly, view it on GitHub https://github.com/kejilion/sh/pull/16#issuecomment-2211758357, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7O6ZHNBLRXPUBZ5BDJ4FZTZK7QNDAVCNFSM6AAAAABKOJJUVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRG42TQMZVG4 . You are receiving this because you commented.Message ID: @.***>

AkarinLiu commented 4 months ago

代码单独测试了一下,发现有问题。 image

kejilion commented 4 months ago

改回去了

阿卡林刘 @.***> 于2024年7月6日周六 21:59写道:

代码单独测试了一下,发现有问题。 image.png (view on web) https://github.com/kejilion/sh/assets/58081491/da8d605c-fc73-4680-9ef5-5e189ebf50a0

— Reply to this email directly, view it on GitHub https://github.com/kejilion/sh/pull/16#issuecomment-2211775789, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7O6ZHMNBTKEFSAUXO5JT2DZK7Z55AVCNFSM6AAAAABKOJJUVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRG43TKNZYHE . You are receiving this because you commented.Message ID: @.***>

AkarinLiu commented 4 months ago

测试了一下,还是白干了