-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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: include deps/v8/test/torque in source tarball #29712
Conversation
Builds from the source tarball were broken by the recent V8 upate to 7.7 as a file needed to build torque wasn't included in the source tarball as it resides in deps/v8/test.
See also #25097. I first tried to just remove Line 85 in 4d2856e
../../deps/v8/src/builtins/array.tq:35:3: Lint error: Macro 'IsJSArray' is never used.
../../deps/v8/src/builtins/base.tq:462:1: Lint error: Macro 'NewJSArray' is never used.
../../deps/v8/src/builtins/base.tq:3121:1: Lint error: Macro 'VerifiedUnreachable' is never used.
../../deps/v8/src/builtins/base.tq:446:3: Lint error: Macro 'IsEmpty' is never used.
/bin/sh: line 1: 41272 Aborted (core dumped) |
The regular CI doesn't build the source tarball. I tested this locally on Linux (running |
We don't need to distribute that file because it's only used by V8's cctest target, which we don't build. Only lightly tested but I think this is all we need: diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
index 00e285ec2c..4bc8817261 100644
--- a/tools/v8_gypfiles/v8.gyp
+++ b/tools/v8_gypfiles/v8.gyp
@@ -82,7 +82,6 @@
"<(V8_ROOT)/src/builtins/typed-array-subarray.tq",
"<(V8_ROOT)/src/builtins/typed-array.tq",
"<(V8_ROOT)/third_party/v8/builtins/array-sort.tq",
- "<(V8_ROOT)/test/torque/test-torque.tq",
],
'torque_output_root': '<(SHARED_INTERMEDIATE_DIR)/torque-output-root',
'torque_files_replaced': ['<!@pymod_do_main(ForEachReplace ".tq" "-tq-csa" <@(torque_files))'], |
@bnoordhuis Tried that already. See #29712 (comment). |
Ah, it fails with lint errors emitted by run-torque...
edit: sorry, didn't see your comments. I had this page open for a bit but GH didn't auto-refresh for some reason. |
This includes |
Yep, filling up @ https://nodejs.org/download/test/v13.0.0-test20190926b516994392/ |
I've downloaded https://nodejs.org/download/test/v13.0.0-test20190926b516994392/node-v13.0.0-test20190926b516994392.tar.gz and built it successfully on Linux. So I think this is ready bar another review or so. cc @nodejs/releasers FYI if another quick release is desired. |
I will try to prepare a patch release with this and #29472 Please +1 to allow fast-tracking. |
Builds from the source tarball were broken by the recent V8 upate to 7.7 as a file needed to build torque wasn't included in the source tarball as it resides in deps/v8/test. PR-URL: #29712 Fixes: #29709 Refs: #28918 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Landed in f21818e |
What are the chances of getting some tarball builds happening so that any potential tarball issues are unlikely to happen in the future? |
@mhart given multiple failures with source tarballs it's probably appropriate we start testing it. Would you mind opening an issue in nodejs/build for it? What would help most getting this off the ground is some bash to run through a build & test that works for any arbitrary commit--not just releases, or a sensible way to mock a release for the purpose of tarball creation so it can be run on every test run. |
Builds from the source tarball were broken by the recent V8 upate
to 7.7 as a file needed to build torque wasn't included in the source
tarball as it resides in deps/v8/test.
Refs: #28918
Fixes: #29709
cc @nodejs/build-files @nodejs/v8-update
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes