Skip to content

Commit 35e1d8c

Browse files
richardlautargos
authored andcommitted
build: include deps/v8/test/torque in source tarball
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>
1 parent ae46196 commit 35e1d8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,6 @@ $(TARBALL): release-only $(NODE_EXE) doc
10371037
$(RM) -r $(TARNAME)/deps/uv/samples
10381038
$(RM) -r $(TARNAME)/deps/uv/test
10391039
$(RM) -r $(TARNAME)/deps/v8/samples
1040-
$(RM) -r $(TARNAME)/deps/v8/test
10411040
$(RM) -r $(TARNAME)/deps/v8/tools/profviz
10421041
$(RM) -r $(TARNAME)/deps/v8/tools/run-tests.py
10431042
$(RM) -r $(TARNAME)/deps/zlib/contrib # too big, unused
@@ -1049,6 +1048,8 @@ $(TARBALL): release-only $(NODE_EXE) doc
10491048
$(RM) -r $(TARNAME)/tools/node_modules
10501049
$(RM) -r $(TARNAME)/tools/osx-*
10511050
$(RM) -r $(TARNAME)/tools/osx-pkg.pmdoc
1051+
find $(TARNAME)/deps/v8/test/* -type d ! -regex '.*/test/torque$$' | xargs $(RM) -r
1052+
find $(TARNAME)/deps/v8/test -type f ! -regex '.*/test/torque/.*' | xargs $(RM)
10521053
find $(TARNAME)/ -name ".eslint*" -maxdepth 2 | xargs $(RM)
10531054
find $(TARNAME)/ -type l | xargs $(RM) # annoying on windows
10541055
tar -cf $(TARNAME).tar $(TARNAME)

0 commit comments

Comments
 (0)