選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

39 行
1.3KB

  1. #!/bin/bash
  2. export PATH=`pwd`/depot_tools:"$PATH"
  3. # https://github.com/prahladyeri/tuxdrive/issues/3
  4. apt-get install python3-pip -y
  5. pip3 install httplib2 --upgrade
  6. fetch v8
  7. #gclient sync -r 6.9.427.6 # 55da769bafac8b531cd8b388df56161b8b7c6416
  8. #gclient sync -r 7.1.69 #
  9. #gclient sync -r lkgr/6.9
  10. #gclient sync -r 6.9.427.13 # https://ci.appveyor.com/project/pmed/v8pp
  11. cd v8
  12. gclient sync -r 7.5.288.23 # https://github.com/pmed/v8-nuget/
  13. # old version
  14. # git checkout 5.5.372.7
  15. # Looks like we have to use GN now: https://github.com/v8/v8/wiki/Building-with-GN
  16. # initial build
  17. ./tools/dev/gm.py x64.release
  18. # workaround, see notes.txt
  19. echo "v8_enable_embedded_builtins = false" | tee -a out/x64.release/args.gn
  20. echo "v8_use_external_startup_data = false" | tee -a out/x64.release/args.gn
  21. echo "v8_use_snapshot = false" | tee -a out/x64.release/args.gn
  22. echo "use_custom_libcxx = false" | tee -a out/x64.release/args.gn
  23. ./tools/dev/gm.py x64.release
  24. # produce monolith (single static all in one .a file)
  25. echo "v8_monolithic = true" | tee -a out/x64.release/args.gn
  26. ninja -C out/x64.release v8_monolith
  27. # produce .so files (shared libs)
  28. echo "is_component_build = true" | tee -a out/x64.release/args.gn
  29. ninja -C out/x64.release