|
|
|
|
|
|
|
|
#gclient sync -r 6.9.427.13 # https://ci.appveyor.com/project/pmed/v8pp |
|
|
#gclient sync -r 6.9.427.13 # https://ci.appveyor.com/project/pmed/v8pp |
|
|
cd v8 |
|
|
cd v8 |
|
|
gclient sync -r 7.5.288.23 # https://github.com/pmed/v8-nuget/ |
|
|
gclient sync -r 7.5.288.23 # https://github.com/pmed/v8-nuget/ |
|
|
|
|
|
#gclient sync -r 8.0.426.15 # stupid test |
|
|
|
|
|
#gclient sync -r 7.2.1 # stupid test |
|
|
# old version |
|
|
# old version |
|
|
# git checkout 5.5.372.7 |
|
|
# git checkout 5.5.372.7 |
|
|
|
|
|
|
|
|
# Looks like we have to use GN now: https://github.com/v8/v8/wiki/Building-with-GN |
|
|
# Looks like we have to use GN now: https://github.com/v8/v8/wiki/Building-with-GN |
|
|
|
|
|
|
|
|
# initial build |
|
|
# initial build |
|
|
|
|
|
# temp |
|
|
|
|
|
#rm -rf out/x64.release |
|
|
./tools/dev/gm.py x64.release |
|
|
./tools/dev/gm.py x64.release |
|
|
|
|
|
|
|
|
# workaround, see notes.txt |
|
|
# workaround, see notes.txt |
|
|
echo "v8_enable_embedded_builtins = false" | tee -a out/x64.release/args.gn |
|
|
echo "v8_enable_embedded_builtins = false" | tee -a out/x64.release/args.gn |
|
|
echo "v8_use_external_startup_data = false" | tee -a out/x64.release/args.gn |
|
|
echo "v8_use_external_startup_data = false" | tee -a out/x64.release/args.gn |
|
|
echo "v8_use_snapshot = false" | tee -a out/x64.release/args.gn |
|
|
echo "v8_use_snapshot = false" | tee -a out/x64.release/args.gn |
|
|
echo "use_custom_libcxx = false" | tee -a out/x64.release/args.gn |
|
|
|
|
|
|
|
|
echo "use_custom_libcxx = true" | tee -a out/x64.release/args.gn |
|
|
# possibly they use a different version of clang compiling v8. |
|
|
# possibly they use a different version of clang compiling v8. |
|
|
# however, I already set my own, probably newer clang version. |
|
|
# however, I already set my own, probably newer clang version. |
|
|
# ran into: https://groups.google.com/forum/#!topic/v8-users/Jb1VSouy2Z0 |
|
|
# ran into: https://groups.google.com/forum/#!topic/v8-users/Jb1VSouy2Z0 |
|
|
echo "is_clang = false" | tee -a out/x64.release/args.gn |
|
|
|
|
|
|
|
|
#echo "is_clang = false" | tee -a out/x64.release/args.gn |
|
|
|
|
|
# setting to true now, and see if we use this clang on starcry if it works.. |
|
|
|
|
|
echo "is_clang = true" | tee -a out/x64.release/args.gn |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# produce monolith (single static all in one .a file) |
|
|
# produce monolith (single static all in one .a file) |