Last active
October 20, 2024 05:39
-
-
Save skizhak/dbf57d2f3b740c5eae7b2c61d24ac19f to your computer and use it in GitHub Desktop.
Build and generate static v8 library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Run build-v8.sh to setup deps. | |
gn gen "--args=is_clang=true is_component_build=false v8_static_library=true use_custom_libcxx=false target_cpu=\"x64\"" out.gn/x64.Release | |
ninja -C out.gn/x64.Release/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -xe | |
cd ~ | |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
export PATH=$PATH:~/depot_tools #Add to rc file to make it persistent | |
gclient | |
mkdir v8 && cd v8 | |
fetch v8 | |
cd v8 | |
gclient sync | |
git checkout tags/7.2.333 | |
./build/install-build-deps.sh | |
#Build | |
tools/dev/gm.py x64.release | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment