Assuming depot_tools
is installed and in PATH
:
% mkdir v8-gclient && cd v8-gclient v8-gclient % fetch v8 && cd v8 v8-gclient/v8 % tools/dev/gm.py x64.release d8 wami ...
See also https://v8.dev/docs/source-code See also https://v8.dev/docs/build
If it fails due to GOMA/RBE errors it may help ensuring all goma related environment variables are cleared.
v8-gclient/v8 % vim out/x64.release/args.gn ... enable_profiling = true ... v8-gclient/v8 % tools/dev/gm.py x64.release d8 wami ...
See also https://v8.dev/docs/linux-perf