Changes between Initial Version and Version 1 of Ticket #12373, comment 23


Ignore:
Timestamp:
Apr 6, 2016, 11:14:05 AM (8 years ago)
Author:
ttcoder

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12373, comment 23

    initial v1  
    2424}}}
    2525
    26 This is not clean however (not guaranteed to work in parallel builds with `jam -j` I guess).. Looking into ChMod's internal, usage of `Depends` ..etc now ..
     26~~This is not clean however (not guaranteed to work in parallel builds with `jam -j` I guess).. Looking into ChMod's internal, usage of `Depends` ..etc now ..~~
     27
     28EDIT:
     29
     30Seems I had an excessively paranoid view of "jam -j" :-)
     31
     32It can run independant ''targets'' out of order, but it's not going to execute a given rule's lines out of order
     33
     34It's clear from the [https://swarm.workshop.perforce.com/files/guest/perforce_software/jam/src/Jambase original Jambase] that `rule Chmod` and `Link` do not rely on any dependancy to execute in-order
     35
     36And the OverridenJamRules's `Link` works the same
     37
     38So `Ld` should be guaranteed to execute before `Chmod` if it's called before
     39
     40