Skip to content

[WIP] Fix ClangCL ARM64 cross-compilation

This PR is a WIP for fixing the ClangCL cross-compilation to ARM64. It consists of 2 dependency updates that should be done upstream and 1 change in Node.js itself to make everything work:

A fix in ICU https://github.com/nodejs/node/commit/a6932add8e154e004242efc0828f345d9727f895 - To increase the chances of this landing upstream, the change is done by adding an option for this use case so it doesn't break any previously experienced behavior. After this is reviewed and discussed, I plan to open a PR in the ICU and try to land it there.

A fix in FP16 https://github.com/nodejs/node/commit/f8b52b51e04c5c1caab87bbd7fce3a49c1d58129 - This already landed in the base repo. Since that project is a dependency of the V8, a CL to update it in V8 will be opened.

Node.js changes https://github.com/nodejs/node/commit/176f1c64cc8c77537cdc43cac86bed1e52d4cde1 - Once everything else is done, the change in the main repo is a simple one.

NOTE: Depending on the affected upstream projects and their release cycles and updates, we may need to use the patches on our side for some time.

cc @targos @lemire @nodejs/i18n-api

Refs: https://github.com/nodejs/node/issues/52809

Merge request reports

Loading