This directory contains tools to build the icu4c/source/i18n/collunsafe.h precomputed data.
See Makefile for more details.
Using an out-of-source build on Linux.
TODO:
Linux clang debug
ICU_DATA_BUILDTOOL_OPTS=--include_uni_core_data CXXFLAGS="-DU_USING_ICU_NAMESPACE=0 -Wimplicit-fallthrough -std=c++20" CPPFLAGS="-DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -fsanitize=bounds" LDFLAGS=-fsanitize=bounds ../../src/icu4c/source/runConfigureICU --enable-debug --disable-release Linux/clang --disable-renaming --prefix=/usr/local/google/home/mscherer/icu/mine/inst/icu4c > config.out 2>&1 ; tail config.out
BUILD_ROOT=/usr/local/google/home/mscherer/icu/uni/dbg/icu4c CXX=clang++ BUILD_OPTS=-g -DU_USING_ICU_NAMESPACE=0 -DU_DISABLE_RENAMING=1 -Wimplicit-fallthrough -std=c++20 -fsanitize=bounds
In the source icu4c/source/tools/gencolusb folder run make gen-file
(This builds and invokes binaries in the output folder, using the Makefile etc. in the source folder.)