deplinenoise / tundra

Tundra is a code build system that tries to be accurate and fast for incremental builds
MIT License
438 stars 74 forks source link

Fixes for max CPU count of 64 #347

Closed deplinenoise closed 1 month ago

deplinenoise commented 1 month ago

Change static arrays to dynamically allocated arrays. I think we can afford two allocations per run of the tool.

The root cause was a bug where a copy of the configuration was taken before the clamp was applied.

However I'm still not sure why some Linux distributions lie and pretend to have 128 CPUs.

Fixes #346