Ticket #170 (new enhancement)

Opened 9 months ago

Reminder: spawn less processes

Reported by: Anonymous Assigned to: Gregor
Priority: minor Milestone:
Component: DSSS Version:
Keywords: Cc: thecybershadow@gmail.com

Description

Here's the tree that approximates a typical DSSS build process on Windows:

 DSSS build
 -> CMD
    -> rebuild ... -testversion=GNU
       -> DMD -c rebuild_tmp.d
 -> CMD
    -> rebuild ... -testversion=DigitalMars
       -> DMD -c rebuild_tmp.d
 -> CMD
    -> rebuild ... -shlib-support
       -> DMD -c rebuild_tmp.d
 -> CMD
    -> rebuild -rfProjectName.ext.rf
       -> DMD -c rebuild_tmp.d
       -> CMD 
          -> dmd @link.rf
             -> link @_CMDLINE

It would be preferred to reduce the number of spawned processes: by combining and/or caching flag tests, by spawning rebuild directly (and not via CMD), etc.