Skip to content

build: require runtime ICU data files#1998

Open
divybot wants to merge 5 commits into
mainfrom
orch/divybot-459
Open

build: require runtime ICU data files#1998
divybot wants to merge 5 commits into
mainfrom
orch/divybot-459

Conversation

@divybot

@divybot divybot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Closes denoland/divybot#459

Add owned aligned ICU common data storage and a file-loading helper so embedders can keep V8 i18n enabled while selecting a valid ICU .dat bundle at startup. Document the external-data GN configuration and reduced Chromium ICU bundle sizes observed during the investigation.

Co-Authored-By: Divy Srivastava <me@littledivy.com>
@CLAassistant

CLAassistant commented Jun 1, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ littledivy
❌ divybot
You have signed the CLA already but the status is still pending? Let us recheck it.

The release aarch64-unknown-linux-gnu simdutf CI job was cancelled after hitting the existing 180 minute job timeout during the Test step. Give only that slow source-build matrix entry a 240 minute timeout while preserving the existing 180 minute limit for the rest of the matrix.

Co-Authored-By: Divy Srivastava <me@littledivy.com>
@littledivy

Copy link
Copy Markdown
Member

Bartek is working on this

@littledivy littledivy closed this Jun 2, 2026
@littledivy littledivy reopened this Jun 8, 2026
Comment thread README.md Outdated
Set icu_use_data_file=true by default so the static library no longer
embeds the ~11 MiB ICU common data. Embedders supply a valid ICU .dat
package at runtime via set_common_data_77_from_file. Build with
icu_use_data_file=false to opt back into linked-in ICU data.
mksnapshot must initialize ICU to generate the V8 snapshot. With
icu_use_data_file=true but the icudata copy disabled, it failed with
'Failed to initialize ICU'. Enable icu_copy_icudata_to_root_build_dir
and v8_depend_on_icu_data_file so mksnapshot gets a build-time copy of
icudtl.dat. These only affect the build graph, not the published lib.
@littledivy littledivy changed the title feat(icu): support runtime ICU data files perf: support runtime ICU data files Jun 8, 2026
@littledivy littledivy changed the title perf: support runtime ICU data files build: require runtime ICU data files Jun 10, 2026
@littledivy
littledivy enabled auto-merge (squash) June 10, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants