diff --git a/.bazeliskrc b/.bazeliskrc index 50138db20544..4ed8de85857e 100644 --- a/.bazeliskrc +++ b/.bazeliskrc @@ -6,4 +6,4 @@ # for running Bazel commands while ensuring, through configuration, that only a # specific version of Bazel is executed. -USE_BAZEL_VERSION=7.2.1 +USE_BAZEL_VERSION=7.6.1 diff --git a/.bazelrc b/.bazelrc index 2129c13a3118..795a30383be4 100644 --- a/.bazelrc +++ b/.bazelrc @@ -3,6 +3,8 @@ # By default, build ICU4C as C11 & C++17. +common --enable_bzlmod + build --enable_platform_specific_config build:android --conlyopt=-std=c11 diff --git a/.gitignore b/.gitignore index 503e3e8135fb..96cbc8a4529b 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,7 @@ *_debug *_release bazel-* +MODULE.bazel.lock cygicudata* libicu* libicutest* diff --git a/MODULE.bazel b/MODULE.bazel new file mode 100644 index 000000000000..13d4d6dd5571 --- /dev/null +++ b/MODULE.bazel @@ -0,0 +1,13 @@ +module( + name = "icu", + version = "77.2-dev", +) + +bazel_dep( + name = "rules_cc", + version = "0.2.2", +) +bazel_dep( + name = "platforms", + version = "1.0.0", +) diff --git a/WORKSPACE.bzlmod b/WORKSPACE.bzlmod new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/vendor/double-conversion/upstream/BUILD b/vendor/double-conversion/upstream/BUILD index 8c2eee564be6..33c380102f88 100644 --- a/vendor/double-conversion/upstream/BUILD +++ b/vendor/double-conversion/upstream/BUILD @@ -32,6 +32,7 @@ cc_library( "double-conversion/strtod.h", "double-conversion/utils.h", ], + includes = ["."], linkopts = [ "-lm", ],