Skip to content

Conversation

@lance
Copy link
Member

@lance lance commented Jul 13, 2016

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

build

Description of change

Backported from
99bf6fa

We can tell when node-gyp is changed by creating a prerequisite on
deps/npm/node_modules/node-gyp/package.json. The prerequisite is added
to the test/addons/.buildstamp since build-addons is .PHONY.

Testing for this change was entirely manual.

$ make clean test-build # Initial build
$ make test-build # Make sure build-addons doesn't rebuild
$ touch deps/npm/node_modules/node-gyp/package.json # simulate change
$ make test-build # Ensure build-addons rebuilds

Original PR-URL: #6787

Backported from
99bf6fa

We can tell when `node-gyp` is changed by creating a prerequisite on
`deps/npm/node_modules/node-gyp/package.json`. The prerequisite is added
to the `test/addons/.buildstamp` since `build-addons` is .PHONY.

Testing for this change was entirely manual.

  $ make clean test-build # Initial build
  $ make test-build # Make sure build-addons doesn't rebuild
  $ touch deps/npm/node_modules/node-gyp/package.json # simulate change
  $ make test-build # Ensure build-addons rebuilds

Original PR-URL: #6787
@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Jul 13, 2016
@addaleax addaleax added the v4.x label Jul 13, 2016
@lance
Copy link
Member Author

lance commented Jul 13, 2016

CI: https://ci.nodejs.org/job/node-test-pull-request/3286/

Failed here, but it looks like it was a failure of git clean. I'm going to re-run, because this just seems flakey. Anyone seen this before?

https://ci.nodejs.org/job/node-test-binary-windows/RUN_SUBSET=2,VS_VERSION=vcbt2015,label=win10/2884/console

@lance
Copy link
Member Author

lance commented Jul 14, 2016

@lance lance changed the title build: update build-addons when node-gyp changes backport: update build-addons when node-gyp changes Jul 14, 2016
@MylesBorins
Copy link
Contributor

landed in 3932d36

@lance in future you can simply include the original meta data in the commit. Thanks for backporting 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to build files or the CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants