- removed comment
Add an option to sim build to disable parallel building
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)
-
-
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 setMAKEJOBS
and take a default from the machine database). -
- changed status to resolved
- edited description
- Log in to 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, ...)