The –j number dictates how many processes Holmake will fork/exec at once to run 
theory scripts.  On a 1 core machine (without hyperthreading), you will only 
get time-sliced concurrency between the scripts. As scripts do minimal I/O 
(reading the script and writing theory files at the end), you may not get much 
advantage from scripts able to run while others are blocked.

With –j1, Holmake doesn’t monitor the child process asynchronously, but uses 
“system” to run scripts one after the other.

Michael

On 26/10/17, 08:28, "Mario Castelán Castro" <marioxcc...@yandex.com> wrote:

    On 25/10/17 16:23, Chun Tian wrote:
    >> How do I know if I have to re-run “smart-configure.sml”? Also, is there
    >> some way I can run build jobs in parallel?
    > 
    > When that happens, the “bin/build” command will tell you to re-run 
smart-configure;    To build in parallel, you can use “bin/build -j 4” (or -j 
8).
    
    Thanks you.
    
    I used “bin/build -j 2” and it still used only 1 core most of the time.
    My CPU is 1 core.
    
    -- 
    Do not eat animals; respect them as you respect people.
    https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan
    
    

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
hol-info mailing list
hol-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hol-info

Reply via email to