mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
Fix a build error that occurs when icutrim is run to cut down the ICU locale set on Big-Endian platforms when building with --with-intl=small-icu (which is done by the "make binary" target). This fixes the binary build on POWER platforms. Fixes: https://github.com/nodejs/node/issues/2601 PR-URL: https://github.com/nodejs/node/pull/2602 Reviewed-By: Steven Loomis <srloomis@us.ibm.com>
Notes about the icu directory.
The files in this directory were written for the node.js effort. It's the intent of their author (Steven R. Loomis / srl295) to merge them upstream into ICU, pending much discussion within the ICU-PMC.
icu_small.json is somewhat node-specific as it specifies a "small ICU"
configuration file for the icutrim.py script. icutrim.py and
iculslocs.cpp may themselves be superseded by components built into
ICU in the future.
The following tickets were opened during this work, and their resolution may inform the reader as to the current state of icu-trim upstream:
- #10919 (experimental branch - may copy any source patches here)
- #10922 (data packaging improvements)
- #10923 (rewrite data building in python)
When/if components (not including the .json file) are merged into
ICU, this code and configure will be updated to detect and use those
variants rather than the ones in this directory.