12e5b6d6dSopenharmony_ci#!/bin/cat 22e5b6d6dSopenharmony_ci# 32e5b6d6dSopenharmony_ci# Copyright (C) 2017 and later: Unicode, Inc. and others. 42e5b6d6dSopenharmony_ci# License & terms of use: http://www.unicode.org/copyright.html 52e5b6d6dSopenharmony_ci# 62e5b6d6dSopenharmony_ci# Copyright (c) 2009-2010 IBM Corp. and Others. All Rights Reserved 72e5b6d6dSopenharmony_ci# 82e5b6d6dSopenharmony_ci 92e5b6d6dSopenharmony_ci 102e5b6d6dSopenharmony_ciNOTE: 112e5b6d6dSopenharmony_ciNOTE: For information about the 'Provider' feature, see proj/provider/readme.txt 122e5b6d6dSopenharmony_ciNOTE: 132e5b6d6dSopenharmony_ci 142e5b6d6dSopenharmony_ci 152e5b6d6dSopenharmony_ci 162e5b6d6dSopenharmony_ci This directory contains pieces of the 'MultiIcu' feature, which contains 172e5b6d6dSopenharmony_ciscripts for building multiple versions of ICU at the same time, and running 182e5b6d6dSopenharmony_civarious pieces of code against it. 192e5b6d6dSopenharmony_ci 202e5b6d6dSopenharmony_ci Note, if you copy one of these projects outside the multi/ directory, 212e5b6d6dSopenharmony_ciyou must ensure that the 'MULTIICU_ROOT' variable in build scripts points 222e5b6d6dSopenharmony_cito the top level directory here, 'multi/'. 232e5b6d6dSopenharmony_ci 242e5b6d6dSopenharmony_ci multi/ ( You are Here ) 252e5b6d6dSopenharmony_ci multi/packages/ .tgz and .jar files for C and J respectively 262e5b6d6dSopenharmony_ci (see the readme in that directory) 272e5b6d6dSopenharmony_ci multi/c/ Scripts for building against ICU4C 282e5b6d6dSopenharmony_ci multi/c/patch/ Patches for building old ICU versions 292e5b6d6dSopenharmony_ci 302e5b6d6dSopenharmony_ci multi/common/ Common makefiles 312e5b6d6dSopenharmony_ci 322e5b6d6dSopenharmony_ci multi/j/ Scripts for building against ICU4J 332e5b6d6dSopenharmony_ci 342e5b6d6dSopenharmony_ci multi/tmp/ Temporary directory, contains intermediate builds 352e5b6d6dSopenharmony_ci multi/tmp/src/ Unpacked and patched source 362e5b6d6dSopenharmony_ci multi/tmp/build/ Built ICUs 372e5b6d6dSopenharmony_ci multi/tmp/inst/ Installed ICUs 382e5b6d6dSopenharmony_ci 392e5b6d6dSopenharmony_ci multi/proj/ Contains various projects which make use of multi-icu. 402e5b6d6dSopenharmony_ci (See individual readmes under each project.) 412e5b6d6dSopenharmony_ci multi/proj/chello/ C "hello world" against multiple ICUs 422e5b6d6dSopenharmony_ci multi/proj/jhello/ J "hello world" against multiple ICUs 432e5b6d6dSopenharmony_ci 442e5b6d6dSopenharmony_ci-- 452e5b6d6dSopenharmony_ciHOW TO USE 462e5b6d6dSopenharmony_ci 472e5b6d6dSopenharmony_ci1. Copy some ICU source files into multi/packages/ 482e5b6d6dSopenharmony_ci 492e5b6d6dSopenharmony_ci2. in "multi/c" run "make iicus" - this will take a while. 502e5b6d6dSopenharmony_ci 512e5b6d6dSopenharmony_ci3.To verify the ICU build, in "multi/proj/chello", run "make check". 522e5b6d6dSopenharmony_ci 532e5b6d6dSopenharmony_ci You should see output like this: 542e5b6d6dSopenharmony_ci 552e5b6d6dSopenharmony_ci out/3_8_1.txt: ICU 3.8.1 562e5b6d6dSopenharmony_ci out/4_2_0_1.txt: ICU 4.2 572e5b6d6dSopenharmony_ci out/4_4_1.txt: ICU 4.4.1 582e5b6d6dSopenharmony_ci 592e5b6d6dSopenharmony_ci4. The 'Provider' project is more complex. To see its information, see 602e5b6d6dSopenharmony_cithe readme in that directory. 61