Add an option to sim build to disable parallel building

Issue #1198 resolved
Ian Hinder created an issue

It would be useful to have an option to "sim build" to disable parallel build. We could then ask users to run with this when they have build problems so that we can clearly see the error.

This would need a more structured "make" simfactory variable. Perhaps there could be a MAKE_TASKS variable, and then we could set "make = make -j@MAKE_TASKS@". MAKE_TASKS could be set either by an entry in the machine database, an option in the optionlist, or by simfactory when a --no-parallel-build option was set.

Keyword:

Comments (3)

  1. Erik Schnetter
    • removed comment

    We could just ask them to say "make sim-debug"...

    Simfactory is not supposed to offer people many options. Simfactory is supposed to do thing automatically. There are many features of the Cactus build system that Simfactoy doesn't support (cleandeps, clean, build, ...)

  2. Roland Haas

    Such an option exists as of git hash 85946a3c "sim-build: fix --jobs case where MAKEJOBS is specified in ini file" of simfactory2 actually using almost exactly the logic Ian suggested (but “invented” independently though I just made simfactory accept a --jobs or -j option to set MAKEJOBS and take a default from the machine database).

  3. Log in to comment