node/deps/v8
Abdirahim Musse 3838b579e4
deps: V8: cherry-pick 8ec2651fbdd8
Original commit message:

    fix: EmbeddedTargetOs on IBM i with Python 3.9

    For some context, Python 3.9 on IBM i returns "os400" for sys.platform
    instead of "aix". We used to build with Python 3.6 which returned "aix"
    as the platform

    When attempting to build Node.js with python 3.9 on IBM i we run into a
    build error.

    Ref: https://github.com/nodejs/node/pull/48056
    Ref: https://github.com/nodejs/node/pull/48056#issuecomment-1553719508

    I'm not quite sure where target_os is being passed down to the function ToEmbeddedTargetOs.
    It seems as though target_os is being generated from sys.platform or
    similar call from python as we started running into this issue after
    building with Python 3.9.

    This PR supersedes initial changes proposed in:
    https://chromium-review.googlesource.com/c/v8/v8/+/4259330

    This PR contains the minimal changes to successfully build Node.js (builds v8 as an internal dep)
    on IBM i with Python 3.9.

    Change-Id: I32d43197bce994a72a0d85091e91f80eeea4482d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4846413
    Commit-Queue: Jakob Linke <jgruber@chromium.org>
    Reviewed-by: Michael Achenbach <machenbach@chromium.org>
    Reviewed-by: Jakob Linke <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#89981}

Refs: 8ec2651fbd
PR-URL: https://github.com/nodejs/node/pull/49862
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2023-09-27 19:26:01 +00:00
..
.github deps: update V8 to 8.9.255.19 2021-02-25 00:14:47 +01:00
base/trace_event/common deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
bazel deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
build_overrides deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
custom_deps
docs
gni deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
include deps: V8: cherry-pick b60a03df4ceb 2023-09-12 10:04:27 +00:00
infra deps: patch V8 to 11.3.244.8 2023-04-17 06:55:34 +00:00
samples deps: V8: backport 93b1a74cbc9b 2023-09-11 11:29:02 +00:00
src deps: V8: cherry-pick 8ec2651fbdd8 2023-09-27 19:26:01 +00:00
test deps: V8: backport 93b1a74cbc9b 2023-09-11 11:29:02 +00:00
testing deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
third_party deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
tools deps: patch V8 to 11.3.244.8 2023-04-17 06:55:34 +00:00
.bazelrc deps: update V8 to 10.1.124.6 2022-04-12 22:08:39 +02:00
.clang-format
.clang-tidy
.editorconfig
.flake8 deps: update V8 to 9.5.172.19 2021-10-12 08:07:50 +02:00
.git-blame-ignore-revs deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
.gitattributes
.gitignore deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
.gn deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
.mailmap deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
.style.yapf deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
.vpython3 deps: update V8 to 10.8.168.20 2022-11-19 09:11:32 +00:00
.ycm_extra_conf.py deps: update V8 to 10.9.194.4 2022-11-27 17:27:13 +00:00
AUTHORS deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
BUILD.bazel deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
BUILD.gn deps: V8: cherry-pick 1a782f6543ae 2023-06-24 17:34:44 +00:00
CODE_OF_CONDUCT.md
codereview.settings
COMMON_OWNERS deps: update V8 to 10.8.168.20 2022-11-19 09:11:32 +00:00
DEPS deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
DIR_METADATA deps: update V8 to 8.8.278.17 2021-02-11 19:09:18 +01:00
ENG_REVIEW_OWNERS deps: update V8 to 10.8.168.20 2022-11-19 09:11:32 +00:00
INFRA_OWNERS deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
INTL_OWNERS deps: update V8 to 8.4.371.19 2020-07-13 14:41:41 +02:00
LICENSE deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
LOONG_OWNERS deps: update V8 to 9.5.172.19 2021-10-12 08:07:50 +02:00
MIPS_OWNERS deps: update V8 to 9.5.172.19 2021-10-12 08:07:50 +02:00
OWNERS deps: update V8 to 10.9.194.4 2022-11-27 17:27:13 +00:00
PPC_OWNERS deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
PRESUBMIT.py deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
README.md
RISCV_OWNERS deps: update V8 to 9.6.180.14 2021-11-21 16:04:41 +01:00
S390_OWNERS deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
WATCHLISTS deps: update V8 to 11.3.244.4 2023-03-31 14:15:23 +00:00
WORKSPACE deps: update V8 to 10.7.193.13 2022-10-11 07:24:33 +02:00

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://v8.dev/docs

Getting the Code

Checkout depot tools, and run

    fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

    git pull origin
    gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*

Contributing

Please follow the instructions mentioned at v8.dev/docs/contribute.