No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

42 líneas
1.3KB

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