Skip to content

Conversation

@lance
Copy link
Member

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-botnodejs-github-bot added the build Issues and PRs related to build files or the CI. label Jul 13, 2016
@lance
Copy link
MemberAuthor

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
MemberAuthor

@lancelance changed the title build: update build-addons when node-gyp changesbackport: update build-addons when node-gyp changesJul 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buildIssues and PRs related to build files or the CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@lance@MylesBorins@addaleax@nodejs-github-bot