From 5da33dbd3ef40821c6d3482f0c1ce5e59ec91d4e Mon Sep 17 00:00:00 2001 From: Roger Chapman Date: Thu, 29 Aug 2019 14:36:40 +1000 Subject: [PATCH] make sure the build creates the output dir if it does not exist --- .gitignore | 3 +++ .gitmodules | 1 - deps/build.py | 5 ++++- deps/v8 | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 064870e55..4c780328d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,6 @@ build .cipd .gclient_entries + +# ignore libs for now +*.a diff --git a/.gitmodules b/.gitmodules index 9e0eb9ba0..8c1efa06a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,6 @@ [submodule "deps/v8"] path = deps/v8 url = https://chromium.googlesource.com/v8/v8.git - branch = 7.6.303 [submodule "deps/depot_tools"] path = deps/depot_tools url = https://chromium.googlesource.com/chromium/tools/depot_tools.git diff --git a/deps/build.py b/deps/build.py index cbe89fe3f..7dc6ad090 100755 --- a/deps/build.py +++ b/deps/build.py @@ -88,7 +88,10 @@ def main(): env=env) lib_fn = os.path.join(build_path, "obj/libv8_monolith.a") - dest_fn = os.path.join(deps_path, os_arch(), 'libv8.a') + dest_path = os.path.join(deps_path, os_arch()) + if not os.path.exists(dest_path): + os.makedirs(dest_path) + dest_fn = os.path.join(dest_path, 'libv8.a') shutil.copy(lib_fn, dest_fn) diff --git a/deps/v8 b/deps/v8 index 2cb25737c..27646c1d2 160000 --- a/deps/v8 +++ b/deps/v8 @@ -1 +1 @@ -Subproject commit 2cb25737c9eb7893ac752674e75d400b4419f67c +Subproject commit 27646c1d2e7303cd3e56b189eb89ba4444cccbf0