-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: switch realpath to pwd #31095
Conversation
@nodejs/build |
@nodejs/python @nodejs/build-files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the prefix at all? Other parts of node.gypi
also refer to source tree files using relative paths, so I’d expect that to work too
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@addaleax having experimented with our CI, it does seem that the path provided to the linker needs to be absolute; I've reverted to the prior |
This comment has been minimized.
This comment has been minimized.
Maybe fast track this to fix the coverage builds? |
PR-URL: #31095 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Landed in ce0fb0f. |
PR-URL: nodejs#31095 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: #31095 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: nodejs#31095 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: nodejs#31095 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Backport-PR-URL: nodejs#32092 PR-URL: nodejs#31095 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Our test coverage linux machine doesn't have the
realpath
bin, which I believe comes in as part ofcoreutils
?This became an issue in #30954, which I believe caused
realpath
to start getting invoked on these machines for the first time.I believe we can simply swap out the use of
realpath
topwd
, for our purposes.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes