Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kinder ninja, don't push load very high #635

Closed
2 of 9 tasks
lilydjwg opened this issue Jan 7, 2018 · 8 comments
Closed
2 of 9 tasks

kinder ninja, don't push load very high #635

lilydjwg opened this issue Jan 7, 2018 · 8 comments
Assignees

Comments

@lilydjwg
Copy link
Member

lilydjwg commented Jan 7, 2018

问题类型 / Type of issues

  • 其它 / other

受影响的软件包 / Affect packages

  • chromium-dev
  • corebird-git
  • dbus-broker
  • fcitx5-mozc-git
  • gnome-mpv
  • mozc
  • paraview
  • pamac-aur
  • vivaldi-ffmpeg-codecs

ninja 默认并行任务数为 CPU 核数,导致有其他人在打包时,会将编译机的 load 推得很高(或者,如果另一方是 make 的话,会导致 make 很慢)。在找到全局配置之前,请大家给 ninja 手动加上 -l$(nproc) 参数。

@lilydjwg
Copy link
Member Author

lilydjwg commented Jan 7, 2018

另外你们提交用关联在 GitHub 的邮件地址比较好,lilac 能找到。

@petronny
Copy link
Member

petronny commented Jan 8, 2018

看起来只有 depot-tools-git 这个包每天都更新
别的可能不用改吧。。。

@lilydjwg
Copy link
Member Author

lilydjwg commented Jan 8, 2018

还有 chromium-dev 更新也不少。

@yan12125
Copy link
Member

depot-tools-git其實不用改,他build沒用ninja。ninja只是放一個symlink在那邊給其他程式(e.g. chromium)用

@yan12125
Copy link
Member

BTW, 我是depot-tools-git的co-maintainer,我看目前archlinuxcn裡的包是track AUR的?如果有需要改上游,請和我說一聲,謝謝!

@lilydjwg
Copy link
Member Author

@yan12125 ok. 我是按依赖找的,没有去看每个包具体是怎么在用它。

@cuihaoleo cuihaoleo removed their assignment Jan 12, 2018
@petronny petronny removed their assignment Jan 12, 2018
@heavysink
Copy link
Contributor

pamac-aur 已经加上-l2

@lilydjwg
Copy link
Member Author

-l$(nproc) 就好啦。-l2 你得小心它会等很长时间。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants