Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2021 18:27:39 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9c313fff458d - main - lang/v8: Update to 9.6.180.12
Message-ID:  <202111211827.1ALIRd7w083931@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9c313fff458d177e6f4c484be690ef28fbb2ae6a

commit 9c313fff458d177e6f4c484be690ef28fbb2ae6a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-11-21 18:19:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-11-21 18:19:08 +0000

    lang/v8: Update to 9.6.180.12
    
    - Use v8 tarball from chromium.googlesource.com since GitHub mirror has been stopped over 25 days
    
    Changes:        https://v8.dev/blog/v8-release-96
                    https://chromium.googlesource.com/v8/v8.git/+log/refs/heads/9.7-lkgr
---
 lang/v8/Makefile                                   | 24 ++++++++-------
 lang/v8/distinfo                                   | 34 +++++++++++-----------
 lang/v8/files/patch-BUILD.gn                       |  8 ++---
 lang/v8/files/patch-build_config_compiler_BUILD.gn | 20 ++++++-------
 ...atch-build_linux_unbundle_replace__gn__files.py |  4 +--
 lang/v8/files/patch-src_api_api.cc                 |  4 +--
 6 files changed, 48 insertions(+), 46 deletions(-)

diff --git a/lang/v8/Makefile b/lang/v8/Makefile
index 1c153621c7e7..eb30f8bca09d 100644
--- a/lang/v8/Makefile
+++ b/lang/v8/Makefile
@@ -1,11 +1,12 @@
 # We follow the stable channel on https://omahaproxy.appspot.com/
-# https://chromium.googlesource.com/v8/v8/+/refs/heads/9.5-lkgr
+# https://chromium.googlesource.com/v8/v8/+/refs/heads/9.6-lkgr
 
 PORTNAME=	v8
-PORTVERSION=	9.5.172.21
+PORTVERSION=	9.6.180.12
 CATEGORIES=	lang
 MASTER_SITES=	LOCAL/sunpoet/v8/${PORTVERSION:R:R}
-DISTFILES=	build-${BUILD_REV}.tar.gz \
+DISTFILES=	v8-${PORTVERSION}.tar.gz \
+		build-${BUILD_REV}.tar.gz \
 		buildtools-${BUILDTOOLS_REV}.tar.gz \
 		clang-${CLANG_REV}.tar.gz \
 		common-${COMMON_REV}.tar.gz \
@@ -31,23 +32,24 @@ USE_GNOME=	glib20
 
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 MAKE_ARGS=	-C out/Release
+NO_WRKSUBDIR=	yes
 USE_LDCONFIG=	yes
 
 SUB_FILES=	v8.pc v8_libbase.pc v8_libplatform.pc
 
-USE_GITHUB=	yes
+#USE_GITHUB=	yes
 
 CPE_VENDOR=	google
 
 CONFLICTS_INSTALL=	v8-beta
 
-BUILD_REV=	17d097b0ffdc297f04afb54e9e3abff3f1203f06
-BUILDTOOLS_REV=	7ea3a871db68ae2cbbeaf5433a3192a799ef3c11
-CLANG_REV=	664e4259b150e07f1a1e440459f59fbc68edb82f
-COMMON_REV=	715537d6007ca71837f48bcb04fc3d482aed2507
-GOOGLETEST_REV=	955c7f837efad184ec63e771c42542d37545eaef
-ICU_REV=	ece15d049f2d360721716089372e3749fb89e0f4
-ZLIB_REV=	77c132322fe81a1f5518b326e18c99ebd3281627
+BUILD_REV=	ebad8533842661f66b9b905e0ee9890a32f628d5
+BUILDTOOLS_REV=	a9bc3e283182a586998338a665c7eae17406ec54
+CLANG_REV=	c06edd1f455183fc89e9f8c2cf745db8f564d8ea
+COMMON_REV=	68d816952258c9d817bba656ee2664b35507f01b
+GOOGLETEST_REV=	3b49be074d5c1340eeb447e6a8e78427051e675a
+ICU_REV=	3f443830bd52d3aa5fab3c1aa2b6d0848bb5039d
+ZLIB_REV=	dfa96e81458fb3b39676e45f7e9e000dff789b05
 
 # Run "gn args --list out/Release" for all variables.
 # Some parts don't have use_system_* flag, and can be turned on/off by using
diff --git a/lang/v8/distinfo b/lang/v8/distinfo
index 4295b5dfcfd8..0f1ebf998262 100644
--- a/lang/v8/distinfo
+++ b/lang/v8/distinfo
@@ -1,17 +1,17 @@
-TIMESTAMP = 1635730887
-SHA256 (v8/9.5/build-17d097b0ffdc297f04afb54e9e3abff3f1203f06.tar.gz) = 573a14277f0396036cee590ad8bde975d548e0bc8e058d903b85bd1e267e8daf
-SIZE (v8/9.5/build-17d097b0ffdc297f04afb54e9e3abff3f1203f06.tar.gz) = 1352410
-SHA256 (v8/9.5/buildtools-7ea3a871db68ae2cbbeaf5433a3192a799ef3c11.tar.gz) = 983ec9c9c86500c7e6d8268154288d9210dfe266412e4d0100a01c45b61b3b02
-SIZE (v8/9.5/buildtools-7ea3a871db68ae2cbbeaf5433a3192a799ef3c11.tar.gz) = 86616
-SHA256 (v8/9.5/clang-664e4259b150e07f1a1e440459f59fbc68edb82f.tar.gz) = 66773f87adfe5f52e37fb09b0264cb43d5cfe3b24f9e33aa55617cf426612ffc
-SIZE (v8/9.5/clang-664e4259b150e07f1a1e440459f59fbc68edb82f.tar.gz) = 288513
-SHA256 (v8/9.5/common-715537d6007ca71837f48bcb04fc3d482aed2507.tar.gz) = dcc753c65559edff8701726f8a290967af7facb7fa874a027dc9f206ba991e51
-SIZE (v8/9.5/common-715537d6007ca71837f48bcb04fc3d482aed2507.tar.gz) = 10621
-SHA256 (v8/9.5/googletest-955c7f837efad184ec63e771c42542d37545eaef.tar.gz) = 094db2b1ca9a6c416de65b82c3cae1867a9a35055b4d46834500854be0c92875
-SIZE (v8/9.5/googletest-955c7f837efad184ec63e771c42542d37545eaef.tar.gz) = 860816
-SHA256 (v8/9.5/icu-ece15d049f2d360721716089372e3749fb89e0f4.tar.gz) = 97dd96538d6d1f4933d5b74cafe83ccc01722a9c567be76d8f71131e11c4a082
-SIZE (v8/9.5/icu-ece15d049f2d360721716089372e3749fb89e0f4.tar.gz) = 43800859
-SHA256 (v8/9.5/zlib-77c132322fe81a1f5518b326e18c99ebd3281627.tar.gz) = a1a87e62c5f33c49095e648c8a5f6a446ebb6b8b41f00557ccf7abfd3d4810a5
-SIZE (v8/9.5/zlib-77c132322fe81a1f5518b326e18c99ebd3281627.tar.gz) = 313072
-SHA256 (v8/9.5/v8-v8-9.5.172.21_GH0.tar.gz) = ee5a4659880cf3ef05e1cfa65a280ea4b35439e59db138501a211256451ba15f
-SIZE (v8/9.5/v8-v8-9.5.172.21_GH0.tar.gz) = 27039038
+TIMESTAMP = 1637072900
+SHA256 (v8/9.6/v8-9.6.180.12.tar.gz) = 55d3312f1b8ea12f57e844874543112745766d97a45685b9992f083a5c1564b6
+SIZE (v8/9.6/v8-9.6.180.12.tar.gz) = 27080520
+SHA256 (v8/9.6/build-ebad8533842661f66b9b905e0ee9890a32f628d5.tar.gz) = d8e9e21f48b0a88f456d88bb76fe6381ba2d3429c36f371dbabf11f50c704468
+SIZE (v8/9.6/build-ebad8533842661f66b9b905e0ee9890a32f628d5.tar.gz) = 1357606
+SHA256 (v8/9.6/buildtools-a9bc3e283182a586998338a665c7eae17406ec54.tar.gz) = 4aaec99b3c5cc9bf588a5ddd76efdc024276097a9bdddf1364936f9ddcdf7f78
+SIZE (v8/9.6/buildtools-a9bc3e283182a586998338a665c7eae17406ec54.tar.gz) = 86607
+SHA256 (v8/9.6/clang-c06edd1f455183fc89e9f8c2cf745db8f564d8ea.tar.gz) = 1f03b84dad25f4b80fcb137e00be9efc9f0503146103ec4ac6b792df78700aa7
+SIZE (v8/9.6/clang-c06edd1f455183fc89e9f8c2cf745db8f564d8ea.tar.gz) = 288468
+SHA256 (v8/9.6/common-68d816952258c9d817bba656ee2664b35507f01b.tar.gz) = 6d84abfe22276bf1940b617aa8c320ec098d40c7d6dc83978b157836061f5c34
+SIZE (v8/9.6/common-68d816952258c9d817bba656ee2664b35507f01b.tar.gz) = 10624
+SHA256 (v8/9.6/googletest-3b49be074d5c1340eeb447e6a8e78427051e675a.tar.gz) = 75be476046d5135185521ed95a8c03872d6eb1ff3a2d956ee7d0739936492df6
+SIZE (v8/9.6/googletest-3b49be074d5c1340eeb447e6a8e78427051e675a.tar.gz) = 830864
+SHA256 (v8/9.6/icu-3f443830bd52d3aa5fab3c1aa2b6d0848bb5039d.tar.gz) = 033b914dba13dbb5599ab1e21c652d707c3b5d96184c535c6a3dc65f6c0d610b
+SIZE (v8/9.6/icu-3f443830bd52d3aa5fab3c1aa2b6d0848bb5039d.tar.gz) = 43801217
+SHA256 (v8/9.6/zlib-dfa96e81458fb3b39676e45f7e9e000dff789b05.tar.gz) = aefe670a752dd8ac2e6d3e9820cdcb83f660a849750d6da1301bb06be97a2528
+SIZE (v8/9.6/zlib-dfa96e81458fb3b39676e45f7e9e000dff789b05.tar.gz) = 313143
diff --git a/lang/v8/files/patch-BUILD.gn b/lang/v8/files/patch-BUILD.gn
index 852947036803..4c6a23256ce4 100644
--- a/lang/v8/files/patch-BUILD.gn
+++ b/lang/v8/files/patch-BUILD.gn
@@ -1,6 +1,6 @@
---- BUILD.gn.orig	2021-10-12 18:11:43 UTC
+--- BUILD.gn.orig	2021-11-15 18:49:49 UTC
 +++ BUILD.gn
-@@ -4901,7 +4901,7 @@ v8_component("v8_libbase") {
+@@ -5058,7 +5058,7 @@ v8_component("v8_libbase") {
      }
    }
  
@@ -9,7 +9,7 @@
      sources += [
        "src/base/debug/stack_trace_posix.cc",
        "src/base/platform/platform-linux.cc",
-@@ -4918,6 +4918,12 @@ v8_component("v8_libbase") {
+@@ -5075,6 +5075,12 @@ v8_component("v8_libbase") {
      ]
  
      libs = [ "dl" ]
@@ -22,7 +22,7 @@
    } else if (is_android) {
      if (current_toolchain == host_toolchain) {
        libs = [
-@@ -5416,6 +5422,7 @@ if (v8_monolithic) {
+@@ -5574,6 +5580,7 @@ if (v8_monolithic) {
        ":v8_libplatform",
        "//build/win:default_exe_manifest",
      ]
diff --git a/lang/v8/files/patch-build_config_compiler_BUILD.gn b/lang/v8/files/patch-build_config_compiler_BUILD.gn
index 20c0c04bcf4c..ba07f130a677 100644
--- a/lang/v8/files/patch-build_config_compiler_BUILD.gn
+++ b/lang/v8/files/patch-build_config_compiler_BUILD.gn
@@ -1,4 +1,4 @@
---- build/config/compiler/BUILD.gn.orig	2021-10-20 15:47:54 UTC
+--- build/config/compiler/BUILD.gn.orig	2021-10-20 16:29:11 UTC
 +++ build/config/compiler/BUILD.gn
 @@ -140,7 +140,7 @@ declare_args() {
    #
@@ -18,7 +18,7 @@
        ldflags += [ "-Wl,--fatal-warnings" ]
      }
      if (fatal_linker_warnings && is_apple) {
-@@ -531,7 +531,7 @@ config("compiler") {
+@@ -532,7 +532,7 @@ config("compiler") {
      ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
    }
  
@@ -27,7 +27,7 @@
      cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ]
  
      # TODO(hans): Remove this once Clang generates better optimized debug info
-@@ -909,7 +909,7 @@ config("compiler_cpu_abi") {
+@@ -903,7 +903,7 @@ config("compiler_cpu_abi") {
          cflags += [ "-mtune=$arm_tune" ]
        }
      } else if (current_cpu == "arm64") {
@@ -36,7 +36,7 @@
          cflags += [ "--target=aarch64-linux-gnu" ]
          ldflags += [ "--target=aarch64-linux-gnu" ]
        }
-@@ -1253,7 +1253,7 @@ config("compiler_deterministic") {
+@@ -1247,7 +1247,7 @@ config("compiler_deterministic") {
      # different build directory like "out/feature_a" and "out/feature_b" if
      # we build same files with same compile flag.
      # Other paths are already given in relative, no need to normalize them.
@@ -45,7 +45,7 @@
        # TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here.
        cflags += [
          "-Xclang",
-@@ -1266,7 +1266,7 @@ config("compiler_deterministic") {
+@@ -1260,7 +1260,7 @@ config("compiler_deterministic") {
        # and -fcoverage-compilation-dir=.
        cflags += [ "-ffile-compilation-dir=." ]
      }
@@ -54,7 +54,7 @@
        # We don't use clang -cc1as on Windows (yet? https://crbug.com/762167)
        asmflags = [ "-Wa,-fdebug-compilation-dir,." ]
      }
-@@ -1650,7 +1650,7 @@ config("default_warnings") {
+@@ -1644,7 +1644,7 @@ config("default_warnings") {
          cflags += [ "-Wno-null-pointer-subtraction" ]
        }
  
@@ -63,7 +63,7 @@
          # Flags Xcode 9.2 (Clang clang-900.0.39.2) does not recognize.
          cflags += [
            "-Wenum-compare-conditional",
-@@ -1904,7 +1904,7 @@ config("thin_archive") {
+@@ -1898,7 +1898,7 @@ config("thin_archive") {
    # archives.
    # TODO(crbug.com/1221615): Enable on is_apple if use_lld once that no longer
    # confuses lldb.
@@ -72,7 +72,7 @@
      arflags = [ "-T" ]
    } else if (is_win && use_lld) {
      arflags = [ "/llvmlibthin" ]
-@@ -2404,7 +2404,7 @@ config("symbols") {
+@@ -2398,7 +2398,7 @@ config("symbols") {
      # flag, so we can use use -g1 for pnacl and nacl-clang compiles.
      # gcc nacl is is_nacl && !is_clang, pnacl and nacl-clang are && is_clang.
      if (!is_nacl || is_clang) {
@@ -81,7 +81,7 @@
      }
  
      if (!is_nacl && is_clang && !is_tsan && !is_asan) {
-@@ -2439,7 +2439,7 @@ config("symbols") {
+@@ -2433,7 +2433,7 @@ config("symbols") {
      # DWARF info may be corrupt; offsets in a range list entry are in different
      # sections" there.  Maybe just a bug in nacl_switch_32.S.
      if (!is_apple && !is_nacl && current_cpu != "x86" &&
@@ -90,7 +90,7 @@
        if (is_clang) {
          # This flag enables the GNU-format pubnames and pubtypes sections,
          # which lld needs in order to generate a correct GDB index.
-@@ -2452,7 +2452,7 @@ config("symbols") {
+@@ -2446,7 +2446,7 @@ config("symbols") {
    }
  
    if (is_clang && !is_nacl && !use_xcode_clang) {
diff --git a/lang/v8/files/patch-build_linux_unbundle_replace__gn__files.py b/lang/v8/files/patch-build_linux_unbundle_replace__gn__files.py
index ca2d4fd5e12e..2df6a0b52bd7 100644
--- a/lang/v8/files/patch-build_linux_unbundle_replace__gn__files.py
+++ b/lang/v8/files/patch-build_linux_unbundle_replace__gn__files.py
@@ -1,6 +1,6 @@
---- build/linux/unbundle/replace_gn_files.py.orig	2019-03-11 22:00:52 UTC
+--- build/linux/unbundle/replace_gn_files.py.orig	2021-10-20 16:29:11 UTC
 +++ build/linux/unbundle/replace_gn_files.py
-@@ -27,6 +27,7 @@ REPLACEMENTS = {
+@@ -25,6 +25,7 @@ REPLACEMENTS = {
    'libevent': 'base/third_party/libevent/BUILD.gn',
    'libjpeg': 'third_party/libjpeg.gni',
    'libpng': 'third_party/libpng/BUILD.gn',
diff --git a/lang/v8/files/patch-src_api_api.cc b/lang/v8/files/patch-src_api_api.cc
index f7852140aa1c..0413552e070d 100644
--- a/lang/v8/files/patch-src_api_api.cc
+++ b/lang/v8/files/patch-src_api_api.cc
@@ -1,6 +1,6 @@
---- src/api/api.cc.orig	2021-10-12 18:11:43 UTC
+--- src/api/api.cc.orig	2021-11-15 18:49:49 UTC
 +++ src/api/api.cc
-@@ -5989,7 +5989,7 @@ bool v8::V8::Initialize(const int build_config) {
+@@ -5975,7 +5975,7 @@ bool v8::V8::Initialize(const int build_config) {
    return true;
  }
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111211827.1ALIRd7w083931>