Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

47 lines
1.4KB

  1. #!/bin/bash
  2. export PATH=`pwd`/depot_tools:"$PATH"
  3. # https://github.com/prahladyeri/tuxdrive/issues/3
  4. pip3 install httplib2 --upgrade
  5. fetch v8
  6. #gclient sync -r 6.9.427.6 # 55da769bafac8b531cd8b388df56161b8b7c6416
  7. # gclient sync -r 7.1.69 #
  8. #gclient sync -r lkgr/6.9
  9. # newest version I found supported via v8pp CI:
  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. #GYP_DIR=build
  16. #if [ ! -f "$GYP_DIR"/gyp_v8 ] ; then
  17. # GYP_DIR=gypfiles
  18. #fi
  19. # Google got rid of this gyp stuff: https://chromium-review.googlesource.com/c/v8/v8/+/897566
  20. # Looks like we have to use GN now: https://github.com/v8/v8/wiki/Building-with-GN
  21. # OLD
  22. #GYP_GENERATORS=make "$GYP_DIR"/gyp_v8 --generator-output=out --depth=. -I"$GYP_DIR"/standalone.gypi -I../v8_options.gypi "$GYP_DIR"/all.gyp
  23. #make v8 v8_libplatform -C out BUILDTYPE=Release -j8 builddir=$(pwd)/out/Release
  24. # NEW
  25. # ./build/install-build-deps.sh
  26. ./tools/dev/gm.py x64.release
  27. # workaround, see notes.txt
  28. echo "v8_enable_embedded_builtins = false" | tee -a out/x64.release/args.gn
  29. ./tools/dev/gm.py x64.release
  30. #mkdir -p lib
  31. #cp out/Release/lib.target/*.so lib
  32. #cp out/Release/lib* lib
  33. #cp out/x64.release/obj/*.a lib
  34. #cp out/x64.release/obj/*.so lib
  35. #cp out/x64.release/obj/libv8* lib
  36. #./v8/out/x64.release/obj/libv8_libbase.a