Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.12 KB

setup-building-with-V8.md

File metadata and controls

49 lines (34 loc) · 1.12 KB

Building mutable with V8

🚨🚨🚨 DEPRECATED 🚨🚨🚨

We ship our dependencies during CMake configure. No manual setup is required.

Dependencies

Install the following dependencies:

V8 requires the Google depot_tools, that we ship during CMake configure.

Configuration

Disable depot_tools Self-Updates

Prevent depot_tools from self-updating by setting DEPOT_TOOLS_UPDATE=0 in your environment. This depends on your local setup. E.g.

/etc/profile

export DEPOT_TOOLS_UPDATE=0

You can verify this with

$ env | grep DEPOT_TOOLS_UPDATE
DEPOT_TOOLS_UPDATE=0

Properly configure your $PATH

Configure your $PATH to contain standalone gn and the deopt_tools. In particular, you should not put depot_tools at the beginning of your $PATH, i.e.

export PATH="$PATH:/opt/depot_tools" # GOOD
# export PATH="/opt/depot_tools:$PATH" BAD

You can verify that standalone gn is used with

$ whereis gn
gn: /usr/bin/gn /opt/depot_tools/gn # lists standalone gn first!