GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools,gyp: don't force build actions with multiple outputs · nodejs/node@d8cedf5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools/gyp/pylib/gyp/generator
    • make.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/gyp/pylib/gyp/generator/make.py‎

Copy file name to clipboardExpand all lines: tools/gyp/pylib/gyp/generator/make.py
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1758,8 +1758,10 @@ def WriteMakeRule(self, outputs, inputs, actions=None, comment=None,
17581758
self.WriteLn('%s: %s' % (' '.join(outputs), intermediate))
17591759
self.WriteLn('\t%s' % '@:');
17601760
self.WriteLn('%s: %s' % ('.INTERMEDIATE', intermediate))
1761-
self.WriteLn('%s: %s%s' %
1762-
(intermediate, ' '.join(inputs), force_append))
1761+
# Don't add `force_append` (FORCE_DO_CMD) to the intermediate sentinal.
1762+
# Adding it makes the action run alway, even when there are no changes.
1763+
# (refack): AFAICT because `*.intermediate` files don't have build rules.
1764+
self.WriteLn('%s: %s' % (intermediate, ' '.join(inputs)))
17631765
actions.insert(0, '$(call do_cmd,touch)')
17641766

17651767
if actions:

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.