riscv-software-src / homebrew-riscv

homebrew (macOS) packages for RISC-V toolchain
https://riscv.org
310 stars 50 forks source link

Suggest adding approximate size requirements in README #45

Closed timmyjose closed 3 years ago

timmyjose commented 3 years ago

I would recommend adding explicit size requirements in the README so that people can chooose upfront whether to install this formula or not. On my system (10.14.6), it started cloning the source code (as the README mentions correctly), but when it started eating GBs of hard disk, then I had to kill it. This information should be shared upfront so that people are aware of how much space (and time) they'll need, upfront.

sbeamer commented 3 years ago

Warning added.

This is an unfortunate perfect storm. Homebrew aggressively recursively clones when building from git. riscv-gnu-toolchain includes quite a few submodules such as QEMU which become quite big when recursively cloned and it is not even used for this context. Will definitely appreciate if anyone has ideas on how to prevent Homebrew from doing recursive. Perhaps from zip and then manually init the needed submodules?

timmyjose commented 3 years ago

Warning added.

This is an unfortunate perfect storm. Homebrew aggressively recursively clones when building from git. riscv-gnu-toolchain includes quite a few submodules such as QEMU which become quite big when recursively cloned and it is not even used for this context. Will definitely appreciate if anyone has ideas on how to prevent Homebrew from doing recursive. Perhaps from zip and then manually init the needed submodules?

That's sort of what I suspected as well. I don't know of a good all round solution for this either, but adding the warning bit is still very much appreciated, and I think useful! :-)

I'll close this issue now.