build: rename the v8 context snapshot on arm64 macOS builds (#26086)
* chore: rename the v8 context snapshot on arm64 macOS builds * build: update zip manifests * build: update to upstream patch
This commit is contained in:
parent
98b0ccbdb1
commit
760c4aeb3e
9 changed files with 707 additions and 7 deletions
|
@ -3,6 +3,7 @@ from __future__ import print_function
|
|||
import argparse
|
||||
import glob
|
||||
import os
|
||||
import platform
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
|
@ -30,6 +31,8 @@ def main():
|
|||
subprocess.check_call(mkargs + [ SNAPSHOT_SOURCE ], cwd=app_path)
|
||||
print('ok mksnapshot successfully created snapshot_blob.bin.')
|
||||
context_snapshot = 'v8_context_snapshot.bin'
|
||||
if platform.system() == 'Darwin':
|
||||
context_snapshot = 'v8_context_snapshot.x86_64.bin'
|
||||
context_snapshot_path = os.path.join(app_path, context_snapshot)
|
||||
gen_binary = get_binary_path('v8_context_snapshot_generator', \
|
||||
app_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue