Reduce unnecessary building for tools when cross-building

Description

When compiling ICU for multiple architectures, we need to build the tools for the architecture of build machine at fist. Then use it to build for other architectures as far as I know.

But current ICU build script requires to build the tools for each architectures even though they are not used.

If I passed --disable-tools when compiling other archs, libicudata is not built due to this issue.

I propose to change the condition for building data as it should be built when --enable--tools (default) or --with-cross-build are passed.

After this change and are merged, it's possible to build ICU for WebAssembly with following build commands.

Activity

Show:
Markus Scherer
April 2, 2020, 6:12 PM

ready to close as fixed?

Shane Carr
March 31, 2020, 2:20 AM

There’s a commit shipping on this ticket for ICU 67. Are all ticket items addressed?

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Steven R. Loomis

Reporter

Yuta Saito

Components

Labels

Reviewer

Steven R. Loomis

Priority

medium

Time Needed

Minutes

Fix versions