From 88f31715f281a191809487d216edcf24071ce4e4 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Thu, 26 Sep 2019 02:07:53 -0400 Subject: [PATCH 1/2] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 725f80659b5d1a..777d22e187c0b7 100644 --- a/Makefile +++ b/Makefile @@ -1037,7 +1037,6 @@ $(TARBALL): release-only $(NODE_EXE) doc $(RM) -r $(TARNAME)/deps/uv/samples $(RM) -r $(TARNAME)/deps/uv/test $(RM) -r $(TARNAME)/deps/v8/samples - $(RM) -r $(TARNAME)/deps/v8/test $(RM) -r $(TARNAME)/deps/v8/tools/profviz $(RM) -r $(TARNAME)/deps/v8/tools/run-tests.py $(RM) -r $(TARNAME)/deps/zlib/contrib # too big, unused @@ -1049,6 +1048,7 @@ $(TARBALL): release-only $(NODE_EXE) doc $(RM) -r $(TARNAME)/tools/node_modules $(RM) -r $(TARNAME)/tools/osx-* $(RM) -r $(TARNAME)/tools/osx-pkg.pmdoc + find $(TARNAME)/deps/v8/test -mindepth 1 ! -regex '.*/test/torque\(/.*\)?' -delete find $(TARNAME)/ -name ".eslint*" -maxdepth 2 | xargs $(RM) find $(TARNAME)/ -type l | xargs $(RM) # annoying on windows tar -cf $(TARNAME).tar $(TARNAME) From b516994392482c2cd3c300391c5f45d04091b190 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Thu, 26 Sep 2019 10:57:49 +0100 Subject: [PATCH 2/2] fixup! build: include deps/v8/test/torque in source tarball --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 777d22e187c0b7..ede16565f66906 100644 --- a/Makefile +++ b/Makefile @@ -1048,7 +1048,8 @@ $(TARBALL): release-only $(NODE_EXE) doc $(RM) -r $(TARNAME)/tools/node_modules $(RM) -r $(TARNAME)/tools/osx-* $(RM) -r $(TARNAME)/tools/osx-pkg.pmdoc - find $(TARNAME)/deps/v8/test -mindepth 1 ! -regex '.*/test/torque\(/.*\)?' -delete + find $(TARNAME)/deps/v8/test/* -type d ! -regex '.*/test/torque$$' | xargs $(RM) -r + find $(TARNAME)/deps/v8/test -type f ! -regex '.*/test/torque/.*' | xargs $(RM) find $(TARNAME)/ -name ".eslint*" -maxdepth 2 | xargs $(RM) find $(TARNAME)/ -type l | xargs $(RM) # annoying on windows tar -cf $(TARNAME).tar $(TARNAME)