srctree

Robin Linden parent 339dc7b3 f5bdfc48
deps: Update icu

inlinesplit
WORKSPACE added: 13, removed: 13, total 0
@@ -140,15 +140,15 @@ local_repository(
http_archive(
name = "icu", # Unicode-DFS-2016
build_file = "//third_party:icu.BUILD",
integrity = "sha256-ykZL+nO8AOvbhQVGUU0B86mDFZ/aD3aC/2v0095WhEw=",
patch_cmds = [
"rm source/common/BUILD.bazel",
"rm source/stubdata/BUILD.bazel",
"rm source/tools/toolutil/BUILD.bazel",
"rm source/i18n/BUILD.bazel",
],
sha256 = "4b6c4a79b0648d228d505601e58780a59e9ad4eaad54be75cc637bd635aa46d6",
strip_prefix = "icu-release-73-2/icu4c",
url = "https://github.com/unicode-org/icu/archive/refs/tags/release-73-2.zip",
strip_prefix = "icu-release-74-1/icu4c",
url = "https://github.com/unicode-org/icu/archive/refs/tags/release-74-1.tar.gz",
)
 
# https://github.com/ocornut/imgui
 
third_party/icu.BUILD added: 13, removed: 13, total 0
@@ -124,7 +124,7 @@ filegroup(
name = "run_sprep_" + input.replace(".txt", "").rpartition("/")[2],
srcs = [input],
outs = [input.replace("txt", "spp").rpartition("/")[2]],
cmd = "./$(location gensprep) --destdir $(RULEDIR) --bundle-name " + input.replace(".txt", "").rpartition("/")[2] + " --norm-correction external/icu/source/data/unidata/ --unicode 15.0.0 $<",
cmd = "./$(location gensprep) --destdir $(RULEDIR) --bundle-name " + input.replace(".txt", "").rpartition("/")[2] + " --norm-correction external/icu/source/data/unidata/ --unicode 15.1.0 $<",
tools = [
":gensprep",
":normalizations",
@@ -178,11 +178,11 @@ genrule(
"pkgdata.lst",
"uts46.nrm",
] + SPREP_DATA_COMPILED,
outs = ["libicudt73l.a"],
outs = ["libicudt74l.a"],
cmd = r"""
srcs=($(SRCS));
export PATH=$$PATH:$(location icupkg);
$(location pkgdata) --entrypoint icudt73 --sourcedir $(RULEDIR) --destdir $(RULEDIR) --name icudt73l --mode static $${srcs[0]}
$(location pkgdata) --entrypoint icudt74 --sourcedir $(RULEDIR) --destdir $(RULEDIR) --name icudt74l --mode static $${srcs[0]}
""",
tools = [
":icupkg",
@@ -197,11 +197,11 @@ genrule(
"pkgdata.lst",
"uts46.nrm",
] + SPREP_DATA_COMPILED,
outs = ["sicudt73l.lib"],
outs = ["sicudt74l.lib"],
cmd = r"""
srcs=($(SRCS));
export PATH=$$PATH:$(location icupkg):"/$$('C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' -latest -prerelease -find 'VC\Tools\MSVC\*\bin\Hostx64\x64\lib.exe' | grep -v llvm | head -n1 | awk -F '\' 'BEGIN{OFS=FS} {$$NF=""; print}' | tr -d ':' | tr '\134' '/')";
$(location pkgdata) --entrypoint icudt73 --sourcedir $(RULEDIR) --destdir $(RULEDIR) --name icudt73l --mode static $${srcs[0]}
$(location pkgdata) --entrypoint icudt74 --sourcedir $(RULEDIR) --destdir $(RULEDIR) --name icudt74l --mode static $${srcs[0]}
""",
tools = [
":icupkg",
 
url/BUILD added: 13, removed: 13, total 0
@@ -5,8 +5,8 @@ load("//bzl:copts.bzl", "HASTUR_COPTS", "HASTUR_FUZZ_PLATFORMS")
cc_import(
name = "icudata",
static_library = select({
"@platforms//os:windows": "@icu//:sicudt73l.lib",
"//conditions:default": "@icu//:libicudt73l.a",
"@platforms//os:windows": "@icu//:sicudt74l.lib",
"//conditions:default": "@icu//:libicudt74l.a",
}),
visibility = ["//visibility:private"],
alwayslink = True,