Skip to content
  • Ben Boeckel's avatar
    cmake: put static executable links into a -j1 pool · 42494056
    Ben Boeckel authored
    Buildbots which do static builds (BUILD_SHARED_LIBS=OFF) are running out
    of memory (or hitting swap) while linking all of the static libraries
    into the resulting executables in ParaView because they link
    "everything" and all occur at the same time as a result of having the
    same dependency trees.
    
    Instead, place these links into a pool which only allows a single build
    rule to happen at a time. Only applicable for Ninja at the moment.
    42494056