v8 9.2.230.20

Closes #81848.

Signed-off-by: rui <rui@chenrui.dev>
Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Christian Moritz 2021-07-24 19:11:44 +02:00 committed by BrewTestBot
parent 578bab15f7
commit 4aac2c42d4
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 10 additions and 9 deletions

View File

@ -2,8 +2,8 @@ class V8 < Formula
desc "Google's JavaScript engine"
homepage "https://github.com/v8/v8/wiki"
# Track V8 version from Chrome stable: https://omahaproxy.appspot.com
url "https://github.com/v8/v8/archive/9.1.269.36.tar.gz"
sha256 "c3ba0ce39d735987d4b6d7791f9f1ef4c70d995ee8570345ec7089724997191f"
url "https://github.com/v8/v8/archive/9.2.230.20.tar.gz"
sha256 "9a7203406549e05238fbae1b7541c167a54ea3c077dbfab31c5d21764ec946ec"
license "BSD-3-Clause"
livecheck do
@ -20,6 +20,7 @@ class V8 < Formula
depends_on "llvm" => :build
depends_on "ninja" => :build
depends_on "python@3.9" => :build
depends_on xcode: ["10.0", :build] # required by v8
@ -27,28 +28,28 @@ class V8 < Formula
# e.g. for CIPD dependency gn: https://github.com/v8/v8/blob/9.1.269.28/DEPS#L50
resource "gn" do
url "https://gn.googlesource.com/gn.git",
revision: "dba01723a441c358d843a575cb7720d54ddcdf92"
revision: "39a87c0b36310bdf06b692c098f199a0d97fc810"
end
# e.g.: https://github.com/v8/v8/blob/9.1.269.28/DEPS#L91 for the revision of build for v8 9.1.269.28
resource "v8/build" do
url "https://chromium.googlesource.com/chromium/src/build.git",
revision: "77edba11e25386aa719d4f08c3ce2d8c4f868c15"
revision: "4036cf1b17581f5668b487a25e252d56e0321a7f"
end
resource "v8/third_party/icu" do
url "https://chromium.googlesource.com/chromium/deps/icu.git",
revision: "81d656878ec611cb0b42d52c82e9dae93920d9ba"
revision: "f022e298b4f4a782486bb6d5ce6589c998b51fe2"
end
resource "v8/base/trace_event/common" do
url "https://chromium.googlesource.com/chromium/src/base/trace_event/common.git",
revision: "cab90cbdaaf4444d67aef6ce3cef09fc5fdeb560"
revision: "d5bb24e5d9802c8c917fcaa4375d5239a586c168"
end
resource "v8/third_party/googletest/src" do
url "https://chromium.googlesource.com/external/github.com/google/googletest.git",
revision: "07f4869221012b16b7f9ee685d94856e1fc9f361"
revision: "23ef29555ef4789f555f1ba8c51b4c52975f0907"
end
resource "v8/third_party/jinja2" do
@ -63,7 +64,7 @@ class V8 < Formula
resource "v8/third_party/zlib" do
url "https://chromium.googlesource.com/chromium/src/third_party/zlib.git",
revision: "09490503d0f201b81e03f5ca0ab8ba8ee76d4a8e"
revision: "5b8d433953beb2a75a755ba321a3076b95f7cdb9"
end
def install
@ -78,7 +79,7 @@ class V8 < Formula
# Build gn from source and add it to the PATH
(buildpath/"gn").install resource("gn")
cd "gn" do
system "python", "build/gen.py"
system "python3", "build/gen.py"
system "ninja", "-C", "out/", "gn"
end
ENV.prepend_path "PATH", buildpath/"gn/out"