srctree

Robin Linden parent a29fa8c1 b46cd107
deps: Update icu

inlinesplit
WORKSPACE added: 15, removed: 15, total 0
@@ -152,15 +152,15 @@ http_archive(
http_archive(
name = "icu", # Unicode-DFS-2016
build_file = "//third_party:icu.BUILD",
integrity = "sha256-J7hlCpTfb5Rcs7aGvjvjIMKjLt8+zimBZyv5i7O6qeE=",
integrity = "sha256-kl5rS4z4hW4KwhT2804w3uY7e7elBGCrRgOVDv9I+J4=",
patch_cmds = [
"rm source/common/BUILD.bazel",
"rm source/stubdata/BUILD.bazel",
"rm source/tools/toolutil/BUILD.bazel",
"rm source/i18n/BUILD.bazel",
],
strip_prefix = "icu-release-74-2/icu4c",
url = "https://github.com/unicode-org/icu/archive/refs/tags/release-74-2.tar.gz",
strip_prefix = "icu-release-75-1/icu4c",
url = "https://github.com/unicode-org/icu/archive/refs/tags/release-75-1.tar.gz",
)
 
# https://www.unicode.org/Public/idna/
 
third_party/icu.BUILD added: 15, removed: 15, total 0
@@ -183,12 +183,12 @@ SO=dylib
SOBJ=dylib
A=a
LIBPREFIX=lib
LIB_EXT_ORDER=.74.2.dylib
LIB_EXT_ORDER=.75.1.dylib
COMPILE=clang -DU_ATTRIBUTE_DEPRECATED= -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -DU_HAVE_STRING_VIEW=1 -O2 -std=c11 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Qunused-arguments -Wno-parentheses-equality -fno-common -c
LIBFLAGS=-dynamic
GENLIB=clang -dynamiclib -dynamic -O2 -std=c11 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Qunused-arguments -Wno-parentheses-equality
LDICUDTFLAGS=
LD_SONAME=-Wl,-compatibility_version -Wl,74 -Wl,-current_version -Wl,74.2 -install_name
LD_SONAME=-Wl,-compatibility_version -Wl,75 -Wl,-current_version -Wl,75.1 -install_name
RPATH_FLAGS=
BIR_LDFLAGS=
AR=ar
@@ -203,7 +203,7 @@ SO=so
SOBJ=so
A=a
LIBPREFIX=lib
LIB_EXT_ORDER=.74.2
LIB_EXT_ORDER=.75.1
COMPILE=gcc -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=0 -DU_DISABLE_RENAMING=1 -DU_ATTRIBUTE_DEPRECATED= -march=native -O2 -pipe -std=c11 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -c
LIBFLAGS=-DPIC -fPIC
GENLIB=gcc -march=native -O2 -pipe -std=c11 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wl,-O1 -Wl,--as-needed -shared -Wl,-Bsymbolic
@@ -236,11 +236,11 @@ genrule(
"pkgdata.lst",
"uts46.nrm",
] + SPREP_DATA_COMPILED,
outs = ["libicudt74l.a"],
outs = ["libicudt75l.a"],
cmd = r"""
srcs=($(SRCS));
export PATH=$$PATH:$(location icupkg);
$(location pkgdata) --bldopt $(location pkgdata_inc) --entrypoint icudt74 --sourcedir $(RULEDIR) --destdir $(RULEDIR) --name icudt74l --mode static $${srcs[0]}
$(location pkgdata) --bldopt $(location pkgdata_inc) --entrypoint icudt75 --sourcedir $(RULEDIR) --destdir $(RULEDIR) --name icudt75l --mode static $${srcs[0]}
""",
tools = [
":icupkg",
@@ -256,11 +256,11 @@ genrule(
"pkgdata.lst",
"uts46.nrm",
] + SPREP_DATA_COMPILED,
outs = ["sicudt74l.lib"],
outs = ["sicudt75l.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 icudt74 --sourcedir $(RULEDIR) --destdir $(RULEDIR) --name icudt74l --mode static $${srcs[0]}
$(location pkgdata) --entrypoint icudt75 --sourcedir $(RULEDIR) --destdir $(RULEDIR) --name icudt75l --mode static $${srcs[0]}
""",
tools = [
":icupkg",
 
url/BUILD added: 15, removed: 15, 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//:sicudt74l.lib",
"//conditions:default": "@icu//:libicudt74l.a",
"@platforms//os:windows": "@icu//:sicudt75l.lib",
"//conditions:default": "@icu//:libicudt75l.a",
}),
tags = ["no-cross"],
visibility = ["//visibility:private"],