opencobra / cobratoolbox

The COnstraint-Based Reconstruction and Analysis Toolbox. Documentation:
https://opencobra.github.io/cobratoolbox
Other
246 stars 308 forks source link

Improve installation time via shallow updates of submodules #2034

Closed carrascomj closed 1 year ago

carrascomj commented 2 years ago

Please include a short description of enhancement here During installation, submodule updates were taking hours. Shallow updating made it much faster for me (under a minute).

Just a suggestion since there are some trade-offs:

Also, setting a jobs=$n_cores env variable might also shorten the installation time.

I hereby confirm that I have:

(Note: You may replace [ ] with [X] to check the box)