summaryrefslogtreecommitdiff
path: root/tools/make-v8.sh
diff options
context:
space:
mode:
authorRichard Lau <riclau@uk.ibm.com>2020-04-16 05:35:01 -0400
committerMatheus Marchini <mmarchini@netflix.com>2020-04-16 14:06:04 -0700
commit6d77df840c4a38a95d8218322b6e92ee5cf3a7b2 (patch)
tree607f5898bb94bb5e5407549a2335176ec21a2e22 /tools/make-v8.sh
parentd3d5eca657474f25fab47036fef9469efc211d8a (diff)
downloadnode-new-6d77df840c4a38a95d8218322b6e92ee5cf3a7b2.tar.gz
build: remove .git folders when testing V8
When running `make test-v8` V8's `gclient sync` converts folders under `deps/v8/third_party` into git repositories. Unfortunately the files that were checked in under `deps/v8/third_party/zlib` have been modified from the upstream Chromium repository (some files have been deleted and there are whitespace differences in some of the files that were kept) so whenever the Node.js source tree is hard reset/checked out `gclient sync` notices there are unstaged changes as the files in the Node.js source tree do not match those of the upstream Chromium third party zlib commit. Signed-off-by: Richard Lau <riclau@uk.ibm.com> PR-URL: https://github.com/nodejs/node/pull/32877 Refs: https://github.com/nodejs/build/issues/2256 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'tools/make-v8.sh')
-rwxr-xr-xtools/make-v8.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/make-v8.sh b/tools/make-v8.sh
index e4024330b1..68222c1cd8 100755
--- a/tools/make-v8.sh
+++ b/tools/make-v8.sh
@@ -4,6 +4,7 @@ BUILD_ARCH_TYPE=$1
V8_BUILD_OPTIONS=$2
cd deps/v8
+find . -type d -name .git | xargs rm -rf
tools/node/fetch_deps.py .
ARCH="`arch`"