Skip to content

Increase Boost Python function arity only when necessary

Alex Henrie requested to merge alex.henrie/graph-tool:arity into master

Even with parallel compilation disabled, the latest version of graph-tool (2.33) requires more RAM than the 16 GB my computer has and consequently fails with an out-of-memory error. This patch gets the memory requirement for compilation under 16 GB by turning on support for high-argument-count functions only when the functions being compiled actually have a high argument count.

Merge request reports