New
samurai 0.7
New features
- The environment variable
SAMUFLAGScan now be used to specify default-jor-voptions. $depfileand$rspfileare now removed by thecleansubtool.
Bug fixes
- Console was not getting released when a job using the console pool failed.
- Handle
argv = { NULL }by settingargv0to "samu" instead of crashing. $depfileand$rspfilepaths requiring shell quoting are now handled correctly.- The edge
inandoutarrays were incorrectly allocating space to store the entire node (72 bytes on 64-bit systems) instead of just the pointer (8 bytes), resulting in excess memory usage.
Memory usage
- Fixing the allocation bug of
inandoutarrays described above resulted in huge memory savings, roughly 35% in a no-op chromium build. - When evaluating
$inor$outwith path lists of length 1, re-use the existing string instead of making a copy. - Remove edge variable "cache", which didn't seem to help at all in practice.
Acknowledgements
Thanks to Andreas Baumann for implementing the SAMUFLAGS feature, Paolo Bonzini and orbea for reporting issues, and Earnestly and Eli Schwartz for testing development builds.