★ wanayoo — archive 1999 https://github.com/nodejs/node/pull/19746Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: make lint-ci work properly on Linux make #19746

Closed
wants to merge 1 commit into from

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Apr 2, 2018

I want to ditch the FreeBSD 10 machines from running node-test-lint and just get the jenkins-workspace machines to do it. Unfortunately it doesn't work because it seems we're using a quirk of gmake that ships with FreeBSD 10.

$(wildcard test/addons/??_*/*.cc test/addons/??_*/*.h) is executed when Makefile is loaded, and before the body of lint-addon-docs is executed. So in a pristine clone it expands to nothing, since those files are created by test/addons/.docbuildstamp which is a direct dependency of lint-addon-docs (it'd probably be OK if that was done before the call to $(MAKE) lint-addon-docs but then make lint-addon-docs as a stand-alone wouldn't work).

/cc @bnoordhuis who last tried to touch this stuff when attempting a refactor in d9b59de which was subsequently reverted
/cc @joyeecheung who introduced part of this functionality in #16377 and may have more of a clue than me about why this only seems to work on the FreeBSD 10 linter hosts

@rvagg rvagg requested review from bnoordhuis and joyeecheung and removed request for bnoordhuis Apr 2, 2018
@rvagg
Copy link
Member Author

@rvagg rvagg commented Apr 2, 2018

and /cc @nodejs/build

@joyeecheung
Copy link
Member

@joyeecheung joyeecheung commented Apr 2, 2018

/cc @joyeecheung who introduced part of this functionality in #16377 and may have more of a clue than me about why this only seems to work on the FreeBSD 10 linter hosts

I didn't know that we run linters on FreeBSD so yeah, this is probably just a quirk of gmake on FreeBSD.

@rvagg rvagg closed this Apr 3, 2018
@rvagg rvagg deleted the rvagg/make-lint-ci-linux branch Apr 3, 2018
rvagg added a commit that referenced this issue Apr 3, 2018
PR-URL: #19746
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@joyeecheung
Copy link
Member

@joyeecheung joyeecheung commented Apr 4, 2018

Looks like the commit sha is not posted here: c5928ab

BridgeAR added a commit to BridgeAR/node that referenced this issue May 1, 2018
PR-URL: nodejs#19746
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@ryzokuken
Copy link
Member

@ryzokuken ryzokuken commented Jun 11, 2018

Backporting this. Let's hope it's not a problem.

ryzokuken added a commit to ryzokuken/node that referenced this issue Jun 11, 2018
PR-URL: nodejs#19746
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
MylesBorins added a commit that referenced this issue Jun 14, 2018
PR-URL: #19746
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Jul 9, 2018
@rvagg
Copy link
Member Author

@rvagg rvagg commented Jul 26, 2018

@ryzokuken thanks for the backport on this, would you mind having a go for 6.x too? once we get full coverage of all of the active branches then we can properly implement changes in CI.

rvagg added a commit that referenced this issue Aug 16, 2018
PR-URL: #19746
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants