This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Description
This is something we'll have to address when we upgrade to v8 3.22
anyways, since it's enabled by default.
IMO it should be disabled by default, but add a configure
flag like --with-{intl,icu,i18n}
(choose one) that'll automatically take care of adding it to the build. Currently in v8 if you do a make dependencies
it checks out a substantial amount of code for icu. I'm told that there's a much slimmed down version that can be used. Either way I don't think it should be bundled with Node by default. Instead it'll just grab the dependency before the build process.
I was able to build current master
with i18n support by doing the following steps:
- Added
'os_posix': 1
to the variables
section of common.gypi
.
- Added
'v8_enable_i18n_support': 1
to the variables
section of common.gypi
.
- Run the following commands:
cd deps/v8
make dependencies
cd ../../
ln -s deps/v8/build/
mv deps/v8/third_party .
./configure
make -j8
This gave me a build of Node that had the Intl
global object.
possible dependency: #6370
extension of: #4689
/cc @tjfontaine @TooTallNate @davglass