From 7fb4a1f63b6104a9baf41c2cf6416a1e9f0dc8bf Mon Sep 17 00:00:00 2001 From: Mike Lundy Date: Fri, 16 Jan 2026 19:40:08 -0800 Subject: [PATCH 1/6] bump bazel_lib to 3.1.0, and sync bzlmod/workspace deps This bumps bazel_lib to 3.1.0, and then syncs the prod dependencies between bzlmod and workspaces. --- MODULE.bazel | 15 +++++++++------ WORKSPACE.bazel | 21 +++++++------------- foreign_cc/repositories.bzl | 38 ++++++++++++++++++++++--------------- 3 files changed, 39 insertions(+), 35 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index dffb9797f..d9a79ec52 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -6,18 +6,21 @@ module( compatibility_level = 1, ) -bazel_dep(name = "bazel_features", version = "1.21.0") -bazel_dep(name = "bazel_skylib", version = "1.7.1") -bazel_dep(name = "platforms", version = "0.0.11") -bazel_dep(name = "rules_cc", version = "0.1.1") +bazel_dep(name = "bazel_features", version = "1.28.0") +bazel_dep(name = "bazel_skylib", version = "1.8.1") +bazel_dep(name = "platforms", version = "1.0.0") +bazel_dep(name = "rules_cc", version = "0.1.5") bazel_dep(name = "rules_python", version = "1.2.0") -bazel_dep(name = "rules_shell", version = "0.3.0") +bazel_dep(name = "rules_shell", version = "0.5.0") +bazel_dep(name = "bazel_lib", version = "3.1.0") # Dev dependencies bazel_dep(name = "gazelle", version = "0.41.0", dev_dependency = True, repo_name = "bazel_gazelle") bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.7.1", dev_dependency = True) bazel_dep(name = "bazel_ci_rules", version = "1.0.0", dev_dependency = True) -bazel_dep(name = "aspect_rules_lint", version = "1.2.2", dev_dependency = True) + +# Note: 1.13 requires nodeps bzlmod deps, which requires bazel 7.6.0 +bazel_dep(name = "aspect_rules_lint", version = "1.12.0", dev_dependency = True) python = use_extension("@rules_python//python/extensions:python.bzl", "python") python.toolchain(python_version = "3.12") diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index c1f271f5c..19d808fe0 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -85,25 +85,18 @@ bazel_skylib_gazelle_plugin_setup() gazelle_dependencies(go_repository_default_config = "//:WORKSPACE.bazel") +# Note: 1.13 requires nodeps bzlmod deps, which requires bazel 7.6.0 http_archive( name = "aspect_rules_lint", - sha256 = "c90501db2548f4af27ed873e40adc6524fcd8472c25ff9946ba13aa77c767249", - strip_prefix = "rules_lint-1.2.2", - url = "https://github.com/aspect-build/rules_lint/releases/download/v1.2.2/rules_lint-v1.2.2.tar.gz", + sha256 = "a8a63bd071a39bd5be1f99d9f258eac674673c98505f9fc5b4c76587f67278cd", + strip_prefix = "rules_lint-1.12.0", + url = "https://github.com/aspect-build/rules_lint/releases/download/v1.12.0/rules_lint-v1.12.0.tar.gz", ) -# aspect_rules_lint depends on aspect_bazel_lib. -http_archive( - name = "aspect_bazel_lib", - sha256 = "6d758a8f646ecee7a3e294fbe4386daafbe0e5966723009c290d493f227c390b", - strip_prefix = "bazel-lib-2.7.7", - url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.7/bazel-lib-v2.7.7.tar.gz", -) - -load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") +# aspect_rules_lint depends on bazel_lib. +load("@bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies") -# aspect_bazel_lib depends on bazel_skylib -aspect_bazel_lib_dependencies() +bazel_lib_dependencies() load( "@aspect_rules_lint//format:repositories.bzl", diff --git a/foreign_cc/repositories.bzl b/foreign_cc/repositories.bzl index 84abe8372..7fbc93bf3 100644 --- a/foreign_cc/repositories.bzl +++ b/foreign_cc/repositories.bzl @@ -95,36 +95,44 @@ def rules_foreign_cc_dependencies( http_archive, name = "platforms", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.11/platforms-0.0.11.tar.gz", - "https://github.com/bazelbuild/platforms/releases/download/0.0.11/platforms-0.0.11.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/1.0.0/platforms-1.0.0.tar.gz", + "https://github.com/bazelbuild/platforms/releases/download/1.0.0/platforms-1.0.0.tar.gz", ], - sha256 = "29742e87275809b5e598dc2f04d86960cc7a55b3067d97221c9abbc9926bff0f", + sha256 = "3384eb1c30762704fbe38e440204e114154086c8fc8a8c2e3e28441028c019a8", ) maybe( http_archive, name = "bazel_features", - sha256 = "ba1282c1aa1d1fffdcf994ab32131d7c7551a9bc960fbf05f42d55a1b930cbfb", - strip_prefix = "bazel_features-1.15.0", - url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.15.0/bazel_features-v1.15.0.tar.gz", + sha256 = "2f057dd02098a106095ea291b4344257398a059eadb2c74cc470de0f9664dccd", + strip_prefix = "bazel_features-1.28.0", + url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.28.0/bazel_features-v1.28.0.tar.gz", ) maybe( http_archive, name = "bazel_skylib", - sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f", + sha256 = "51b5105a760b353773f904d2bbc5e664d0987fbaf22265164de65d43e910d8ac", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.8.1/bazel-skylib-1.8.1.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.8.1/bazel-skylib-1.8.1.tar.gz", ], ) + maybe( + http_archive, + name = "bazel_lib", + sha256 = "fd0fe4df9b6b7837d5fd765c04ffcea462530a08b3d98627fb6be62a693f4e12", + strip_prefix = "bazel-lib-3.1.0", + url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.1.0/bazel-lib-v3.1.0.tar.gz", + ) + maybe( http_archive, name = "rules_cc", - urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.17/rules_cc-0.0.17.tar.gz"], - sha256 = "abc605dd850f813bb37004b77db20106a19311a96b2da1c92b789da529d28fe1", - strip_prefix = "rules_cc-0.0.17", + sha256 = "b8b918a85f9144c01f6cfe0f45e4f2838c7413961a8ff23bc0c6cdf8bb07a3b6", + strip_prefix = "rules_cc-0.1.5", + url = "https://github.com/bazelbuild/rules_cc/releases/download/0.1.5/rules_cc-0.1.5.tar.gz", ) maybe( @@ -138,7 +146,7 @@ def rules_foreign_cc_dependencies( maybe( http_archive, name = "rules_shell", - sha256 = "d8cd4a3a91fc1dc68d4c7d6b655f09def109f7186437e3f50a9b60ab436a0c53", - strip_prefix = "rules_shell-0.3.0", - url = "https://github.com/bazelbuild/rules_shell/releases/download/v0.3.0/rules_shell-v0.3.0.tar.gz", + sha256 = "b15cc2e698a3c553d773ff4af35eb4b3ce2983c319163707dddd9e70faaa062d", + strip_prefix = "rules_shell-0.5.0", + url = "https://github.com/bazelbuild/rules_shell/releases/download/v0.5.0/rules_shell-v0.5.0.tar.gz", ) From b04bc683bfe1637c6dccf6681c674c5ef42651bb Mon Sep 17 00:00:00 2001 From: Mike Lundy Date: Fri, 16 Jan 2026 19:58:33 -0800 Subject: [PATCH 2/6] wip --- MODULE.bazel | 12 +- docs/MODULE.bazel | 11 + docs/MODULE.bazel.lock | 476 ++---------------- examples/MODULE.bazel | 11 + .../private/built_tools_framework.bzl | 12 + foreign_cc/private/BUILD.bazel | 11 + foreign_cc/private/framework.bzl | 11 + foreign_cc/private/resource_sets.bzl | 150 ++++++ foreign_cc/repositories.bzl | 9 +- foreign_cc/settings/BUILD.bazel | 3 + toolchains/private/BUILD.bazel | 1 + 11 files changed, 261 insertions(+), 446 deletions(-) create mode 100644 foreign_cc/private/resource_sets.bzl create mode 100644 foreign_cc/settings/BUILD.bazel diff --git a/MODULE.bazel b/MODULE.bazel index d9a79ec52..0602c6a60 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -12,7 +12,17 @@ bazel_dep(name = "platforms", version = "1.0.0") bazel_dep(name = "rules_cc", version = "0.1.5") bazel_dep(name = "rules_python", version = "1.2.0") bazel_dep(name = "rules_shell", version = "0.5.0") -bazel_dep(name = "bazel_lib", version = "3.1.0") +bazel_dep(name = "bazel_lib", version = "3.1.1") + +# XXX https://github.com/bazel-contrib/bazel-lib/pull/1235 +archive_override( + module_name = "bazel_lib", + integrity = "sha256-8u81hQmpvra/CqtXvddEjU0iYDp4FmYENUjwoAsX2DI=", + strip_prefix = "bazel-lib-e6420f3ec1503ccdd221a5c75d3dcf272feb4c20", + urls = [ + "https://github.com/bazel-contrib/bazel-lib/archive/e6420f3ec1503ccdd221a5c75d3dcf272feb4c20.tar.gz", + ], +) # Dev dependencies bazel_dep(name = "gazelle", version = "0.41.0", dev_dependency = True, repo_name = "bazel_gazelle") diff --git a/docs/MODULE.bazel b/docs/MODULE.bazel index 947bab2ae..ff1262b54 100644 --- a/docs/MODULE.bazel +++ b/docs/MODULE.bazel @@ -37,3 +37,14 @@ bazel_dep( version = "29.3", repo_name = "com_google_protobuf", ) + +# XXX https://github.com/bazel-contrib/bazel-lib/pull/1235 +bazel_dep(name = "bazel_lib", version = "3.1.1") +archive_override( + module_name = "bazel_lib", + integrity = "sha256-8u81hQmpvra/CqtXvddEjU0iYDp4FmYENUjwoAsX2DI=", + strip_prefix = "bazel-lib-e6420f3ec1503ccdd221a5c75d3dcf272feb4c20", + urls = [ + "https://github.com/bazel-contrib/bazel-lib/archive/e6420f3ec1503ccdd221a5c75d3dcf272feb4c20.tar.gz", + ], +) diff --git a/docs/MODULE.bazel.lock b/docs/MODULE.bazel.lock index 5a09fdae0..1b34f05a6 100644 --- a/docs/MODULE.bazel.lock +++ b/docs/MODULE.bazel.lock @@ -13,6 +13,7 @@ "https://bcr.bazel.build/modules/apple_support/1.17.1/MODULE.bazel": "655c922ab1209978a94ef6ca7d9d43e940cd97d9c172fb55f94d91ac53f8610b", "https://bcr.bazel.build/modules/apple_support/1.17.1/source.json": "6b2b8c74d14e8d485528a938e44bdb72a5ba17632b9e14ef6e68a5ee96c8347f", "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel": "50341a62efbc483e8a2a6aec30994a58749bd7b885e18dd96aa8c33031e558ef", + "https://bcr.bazel.build/modules/bazel_features/1.1.0/MODULE.bazel": "cfd42ff3b815a5f39554d97182657f8c4b9719568eb7fded2b9135f084bf760b", "https://bcr.bazel.build/modules/bazel_features/1.1.1/MODULE.bazel": "27b8c79ef57efe08efccbd9dd6ef70d61b4798320b8d3c134fd571f78963dbcd", "https://bcr.bazel.build/modules/bazel_features/1.10.0/MODULE.bazel": "f75e8807570484a99be90abcd52b5e1f390362c258bcb73106f4544957a48101", "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", @@ -21,8 +22,11 @@ "https://bcr.bazel.build/modules/bazel_features/1.18.0/MODULE.bazel": "1be0ae2557ab3a72a57aeb31b29be347bcdc5d2b1eb1e70f39e3851a7e97041a", "https://bcr.bazel.build/modules/bazel_features/1.19.0/MODULE.bazel": "59adcdf28230d220f0067b1f435b8537dd033bfff8db21335ef9217919c7fb58", "https://bcr.bazel.build/modules/bazel_features/1.21.0/MODULE.bazel": "675642261665d8eea09989aa3b8afb5c37627f1be178382c320d1b46afba5e3b", - "https://bcr.bazel.build/modules/bazel_features/1.21.0/source.json": "3e8379efaaef53ce35b7b8ba419df829315a880cb0a030e5bb45c96d6d5ecb5f", + "https://bcr.bazel.build/modules/bazel_features/1.28.0/MODULE.bazel": "4b4200e6cbf8fa335b2c3f43e1d6ef3e240319c33d43d60cc0fbd4b87ece299d", + "https://bcr.bazel.build/modules/bazel_features/1.28.0/source.json": "16a3fc5b4483cb307643791f5a4b7365fa98d2e70da7c378cdbde55f0c0b32cf", "https://bcr.bazel.build/modules/bazel_features/1.4.1/MODULE.bazel": "e45b6bb2350aff3e442ae1111c555e27eac1d915e77775f6fdc4b351b758b5d7", + "https://bcr.bazel.build/modules/bazel_features/1.9.0/MODULE.bazel": "885151d58d90d8d9c811eb75e3288c11f850e1d6b481a8c9f766adee4712358b", + "https://bcr.bazel.build/modules/bazel_features/1.9.1/MODULE.bazel": "8f679097876a9b609ad1f60249c49d68bfab783dd9be012faf9d82547b14815a", "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", "https://bcr.bazel.build/modules/bazel_skylib/1.2.0/MODULE.bazel": "44fe84260e454ed94ad326352a698422dbe372b21a1ac9f3eab76eb531223686", "https://bcr.bazel.build/modules/bazel_skylib/1.2.1/MODULE.bazel": "f35baf9da0efe45fa3da1696ae906eea3d615ad41e2e3def4aeb4e8bc0ef9a7a", @@ -33,9 +37,16 @@ "https://bcr.bazel.build/modules/bazel_skylib/1.6.1/MODULE.bazel": "8fdee2dbaace6c252131c00e1de4b165dc65af02ea278476187765e1a617b917", "https://bcr.bazel.build/modules/bazel_skylib/1.7.0/MODULE.bazel": "0db596f4563de7938de764cc8deeabec291f55e8ec15299718b93c4423e9796d", "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/MODULE.bazel": "3120d80c5861aa616222ec015332e5f8d3171e062e3e804a2a0253e1be26e59b", - "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953", + "https://bcr.bazel.build/modules/bazel_skylib/1.8.1/MODULE.bazel": "88ade7293becda963e0e3ea33e7d54d3425127e0a326e0d17da085a5f1f03ff6", + "https://bcr.bazel.build/modules/bazel_skylib/1.8.1/source.json": "7ebaefba0b03efe59cac88ed5bbc67bcf59a3eff33af937345ede2a38b2d368a", "https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84", "https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8", + "https://bcr.bazel.build/modules/gazelle/0.32.0/MODULE.bazel": "b499f58a5d0d3537f3cf5b76d8ada18242f64ec474d8391247438bf04f58c7b8", + "https://bcr.bazel.build/modules/gazelle/0.33.0/MODULE.bazel": "a13a0f279b462b784fb8dd52a4074526c4a2afe70e114c7d09066097a46b3350", + "https://bcr.bazel.build/modules/gazelle/0.34.0/MODULE.bazel": "abdd8ce4d70978933209db92e436deb3a8b737859e9354fb5fd11fb5c2004c8a", + "https://bcr.bazel.build/modules/gazelle/0.36.0/MODULE.bazel": "e375d5d6e9a6ca59b0cb38b0540bc9a05b6aa926d322f2de268ad267a2ee74c0", + "https://bcr.bazel.build/modules/gazelle/0.40.0/MODULE.bazel": "42ba5378ebe845fca43989a53186ab436d956db498acde790685fe0e8f9c6146", + "https://bcr.bazel.build/modules/gazelle/0.40.0/source.json": "1e5ef6e4d8b9b6836d93273c781e78ff829ea2e077afef7a57298040fa4f010a", "https://bcr.bazel.build/modules/google_benchmark/1.8.2/MODULE.bazel": "a70cf1bba851000ba93b58ae2f6d76490a9feb74192e57ab8e8ff13c34ec50cb", "https://bcr.bazel.build/modules/googletest/1.11.0/MODULE.bazel": "3a83f095183f66345ca86aa13c58b59f9f94a2f81999c093d4eeaa2d262d12f4", "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/MODULE.bazel": "22c31a561553727960057361aa33bf20fb2e98584bc4fec007906e27053f80c6", @@ -45,21 +56,24 @@ "https://bcr.bazel.build/modules/jsoncpp/1.9.5/source.json": "4108ee5085dd2885a341c7fab149429db457b3169b86eb081fa245eadf69169d", "https://bcr.bazel.build/modules/libpfm/4.11.0/MODULE.bazel": "45061ff025b301940f1e30d2c16bea596c25b176c8b6b3087e92615adbd52902", "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel": "8cb8efaf200bdeb2150d93e162c40f388529a25852b332cec879373771e48ed5", - "https://bcr.bazel.build/modules/platforms/0.0.11/MODULE.bazel": "0daefc49732e227caa8bfa834d65dc52e8cc18a2faf80df25e8caea151a9413f", - "https://bcr.bazel.build/modules/platforms/0.0.11/source.json": "f7e188b79ebedebfe75e9e1d098b8845226c7992b307e28e1496f23112e8fc29", "https://bcr.bazel.build/modules/platforms/0.0.4/MODULE.bazel": "9b328e31ee156f53f3c416a64f8491f7eb731742655a47c9eec4703a71644aee", "https://bcr.bazel.build/modules/platforms/0.0.5/MODULE.bazel": "5733b54ea419d5eaf7997054bb55f6a1d0b5ff8aedf0176fef9eea44f3acda37", "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615", "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814", "https://bcr.bazel.build/modules/platforms/0.0.8/MODULE.bazel": "9f142c03e348f6d263719f5074b21ef3adf0b139ee4c5133e2aa35664da9eb2d", "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel": "4a87a60c927b56ddd67db50c89acaa62f4ce2a1d2149ccb63ffd871d5ce29ebc", + "https://bcr.bazel.build/modules/platforms/1.0.0/MODULE.bazel": "f05feb42b48f1b3c225e4ccf351f367be0371411a803198ec34a389fb22aa580", + "https://bcr.bazel.build/modules/platforms/1.0.0/source.json": "f4ff1fd412e0246fd38c82328eb209130ead81d62dcd5a9e40910f867f733d96", "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7", "https://bcr.bazel.build/modules/protobuf/27.0/MODULE.bazel": "7873b60be88844a0a1d8f80b9d5d20cfbd8495a689b8763e76c6372998d3f64c", + "https://bcr.bazel.build/modules/protobuf/27.1/MODULE.bazel": "703a7b614728bb06647f965264967a8ef1c39e09e8f167b3ca0bb1fd80449c0d", + "https://bcr.bazel.build/modules/protobuf/29.0-rc2.bcr.1/MODULE.bazel": "52f4126f63a2f0bbf36b99c2a87648f08467a4eaf92ba726bc7d6a500bbf770c", "https://bcr.bazel.build/modules/protobuf/29.0-rc2/MODULE.bazel": "6241d35983510143049943fc0d57937937122baf1b287862f9dc8590fc4c37df", "https://bcr.bazel.build/modules/protobuf/29.0-rc3/MODULE.bazel": "33c2dfa286578573afc55a7acaea3cada4122b9631007c594bf0729f41c8de92", "https://bcr.bazel.build/modules/protobuf/29.3/MODULE.bazel": "77480eea5fb5541903e49683f24dc3e09f4a79e0eea247414887bb9fc0066e94", "https://bcr.bazel.build/modules/protobuf/29.3/source.json": "c460e6550ddd24996232c7542ebf201f73c4e01d2183a31a041035fb50f19681", "https://bcr.bazel.build/modules/protobuf/3.19.0/MODULE.bazel": "6b5fbb433f760a99a22b18b6850ed5784ef0e9928a72668b66e4d7ccd47db9b0", + "https://bcr.bazel.build/modules/protobuf/3.19.2/MODULE.bazel": "532ffe5f2186b69fdde039efe6df13ba726ff338c6bc82275ad433013fa10573", "https://bcr.bazel.build/modules/protobuf/3.19.6/MODULE.bazel": "9233edc5e1f2ee276a60de3eaa47ac4132302ef9643238f23128fea53ea12858", "https://bcr.bazel.build/modules/pybind11_bazel/2.11.1/MODULE.bazel": "88af1c246226d87e65be78ed49ecd1e6f5e98648558c14ce99176da041dc378e", "https://bcr.bazel.build/modules/pybind11_bazel/2.11.1/source.json": "be4789e951dd5301282729fe3d4938995dc4c1a81c2ff150afc9f1b0504c6022", @@ -77,10 +91,16 @@ "https://bcr.bazel.build/modules/rules_cc/0.0.6/MODULE.bazel": "abf360251023dfe3efcef65ab9d56beefa8394d4176dd29529750e1c57eaa33f", "https://bcr.bazel.build/modules/rules_cc/0.0.8/MODULE.bazel": "964c85c82cfeb6f3855e6a07054fdb159aced38e99a5eecf7bce9d53990afa3e", "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5", - "https://bcr.bazel.build/modules/rules_cc/0.1.1/MODULE.bazel": "2f0222a6f229f0bf44cd711dc13c858dad98c62d52bd51d8fc3a764a83125513", - "https://bcr.bazel.build/modules/rules_cc/0.1.1/source.json": "d61627377bd7dd1da4652063e368d9366fc9a73920bfa396798ad92172cf645c", + "https://bcr.bazel.build/modules/rules_cc/0.1.5/MODULE.bazel": "88dfc9361e8b5ae1008ac38f7cdfd45ad738e4fa676a3ad67d19204f045a1fd8", + "https://bcr.bazel.build/modules/rules_cc/0.1.5/source.json": "4bb4fed7f5499775d495739f785a5494a1f854645fa1bac5de131264f5acdf01", "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/MODULE.bazel": "40c97d1144356f52905566c55811f13b299453a14ac7769dfba2ac38192337a8", "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/source.json": "c8b1e2c717646f1702290959a3302a178fb639d987ab61d548105019f11e527e", + "https://bcr.bazel.build/modules/rules_go/0.41.0/MODULE.bazel": "55861d8e8bb0e62cbd2896f60ff303f62ffcb0eddb74ecb0e5c0cbe36fc292c8", + "https://bcr.bazel.build/modules/rules_go/0.42.0/MODULE.bazel": "8cfa875b9aa8c6fce2b2e5925e73c1388173ea3c32a0db4d2b4804b453c14270", + "https://bcr.bazel.build/modules/rules_go/0.46.0/MODULE.bazel": "3477df8bdcc49e698b9d25f734c4f3a9f5931ff34ee48a2c662be168f5f2d3fd", + "https://bcr.bazel.build/modules/rules_go/0.50.1/MODULE.bazel": "b91a308dc5782bb0a8021ad4330c81fea5bda77f96b9e4c117b9b9c8f6665ee0", + "https://bcr.bazel.build/modules/rules_go/0.59.0/MODULE.bazel": "b7e43e7414a3139a7547d1b4909b29085fbe5182b6c58cbe1ed4c6272815aeae", + "https://bcr.bazel.build/modules/rules_go/0.59.0/source.json": "1df17bb7865cfc029492c30163cee891d0dd8658ea0d5bfdf252c4b6db5c1ef6", "https://bcr.bazel.build/modules/rules_java/4.0.0/MODULE.bazel": "5a78a7ae82cd1a33cef56dc578c7d2a46ed0dca12643ee45edbb8417899e6f74", "https://bcr.bazel.build/modules/rules_java/5.3.5/MODULE.bazel": "a4ec4f2db570171e3e5eb753276ee4b389bae16b96207e9d3230895c99644b86", "https://bcr.bazel.build/modules/rules_java/6.5.2/MODULE.bazel": "1d440d262d0e08453fa0c4d8f699ba81609ed0e9a9a0f02cd10b3e7942e61e31", @@ -108,8 +128,10 @@ "https://bcr.bazel.build/modules/rules_pkg/1.0.1/source.json": "bd82e5d7b9ce2d31e380dd9f50c111d678c3bdaca190cb76b0e1c71b05e1ba8a", "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/MODULE.bazel": "e8dff86b0971688790ae75528fe1813f71809b5afd57facb44dad9e8eca631b7", + "https://bcr.bazel.build/modules/rules_proto/6.0.0/MODULE.bazel": "b531d7f09f58dce456cd61b4579ce8c86b38544da75184eadaf0a7cb7966453f", "https://bcr.bazel.build/modules/rules_proto/6.0.2/MODULE.bazel": "ce916b775a62b90b61888052a416ccdda405212b6aaeb39522f7dc53431a5e73", - "https://bcr.bazel.build/modules/rules_proto/6.0.2/source.json": "17a2e195f56cb28d6bbf763e49973d13890487c6945311ed141e196fb660426d", + "https://bcr.bazel.build/modules/rules_proto/7.0.2/MODULE.bazel": "bf81793bd6d2ad89a37a40693e56c61b0ee30f7a7fdbaf3eabbf5f39de47dea2", + "https://bcr.bazel.build/modules/rules_proto/7.0.2/source.json": "1e5e7260ae32ef4f2b52fd1d0de8d03b606a44c91b694d2f1afb1d3b28a48ce1", "https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel": "cc82bc96f2997baa545ab3ce73f196d040ffb8756fd2d66125a530031cd90e5f", "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel": "26114f0c0b5e93018c0c066d6673f1a2c3737c7e90af95eff30cfee38d0bbac7", "https://bcr.bazel.build/modules/rules_python/0.23.1/MODULE.bazel": "49ffccf0511cb8414de28321f5fcf2a31312b47c40cc21577144b7447f2bf300", @@ -125,7 +147,9 @@ "https://bcr.bazel.build/modules/rules_rust_mdbook/0.56.0/source.json": "c538827b1b3c346d0c03b6c23e08d3ac45647db06ca4025f8120c4aad8d816bb", "https://bcr.bazel.build/modules/rules_shell/0.2.0/MODULE.bazel": "fda8a652ab3c7d8fee214de05e7a9916d8b28082234e8d2c0094505c5268ed3c", "https://bcr.bazel.build/modules/rules_shell/0.3.0/MODULE.bazel": "de4402cd12f4cc8fda2354fce179fdb068c0b9ca1ec2d2b17b3e21b24c1a937b", - "https://bcr.bazel.build/modules/rules_shell/0.3.0/source.json": "c55ed591aa5009401ddf80ded9762ac32c358d2517ee7820be981e2de9756cf3", + "https://bcr.bazel.build/modules/rules_shell/0.4.1/MODULE.bazel": "00e501db01bbf4e3e1dd1595959092c2fadf2087b2852d3f553b5370f5633592", + "https://bcr.bazel.build/modules/rules_shell/0.5.0/MODULE.bazel": "8c8447370594d45539f66858b602b0bb2cb2d3401a4ebb9ad25830c59c0f366d", + "https://bcr.bazel.build/modules/rules_shell/0.5.0/source.json": "3038276f07cbbdd1c432d1f80a2767e34143ffbb03cfa043f017e66adbba324c", "https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8", "https://bcr.bazel.build/modules/stardoc/0.5.3/MODULE.bazel": "c7f6948dae6999bf0db32c1858ae345f112cacf98f174c7a8bb707e41b974f1c", "https://bcr.bazel.build/modules/stardoc/0.7.0/MODULE.bazel": "05e3d6d30c099b6770e97da986c53bd31844d7f13d41412480ea265ac9e8079c", @@ -168,438 +192,6 @@ ] } }, - "@@platforms//host:extension.bzl%host_platform": { - "general": { - "bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=", - "usagesDigest": "hgylFkgWSg0ulUwWZzEM1aIftlUnbmw2ynWLdEfHnZc=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "host_platform": { - "bzlFile": "@@platforms//host:extension.bzl", - "ruleClassName": "host_platform_repo", - "attributes": {} - } - }, - "recordedRepoMappingEntries": [] - } - }, - "@@rules_foreign_cc~//foreign_cc:extensions.bzl%tools": { - "general": { - "bzlTransitiveDigest": "xXsVxU9RFlxF0FwwZymap5U/lRd3z9Hlcys4Tq+b+Bo=", - "usagesDigest": "iWj6btwJ+MsMEUdwPmGRjCwIkOzbbnx8NIo56/soHIM=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "rules_foreign_cc_framework_toolchain_linux": { - "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", - "ruleClassName": "framework_toolchain_repository", - "attributes": { - "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:linux_commands.bzl", - "exec_compatible_with": [ - "@platforms//os:linux" - ] - } - }, - "rules_foreign_cc_framework_toolchain_freebsd": { - "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", - "ruleClassName": "framework_toolchain_repository", - "attributes": { - "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:freebsd_commands.bzl", - "exec_compatible_with": [ - "@platforms//os:freebsd" - ] - } - }, - "rules_foreign_cc_framework_toolchain_windows": { - "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", - "ruleClassName": "framework_toolchain_repository", - "attributes": { - "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:windows_commands.bzl", - "exec_compatible_with": [ - "@platforms//os:windows" - ] - } - }, - "rules_foreign_cc_framework_toolchain_macos": { - "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", - "ruleClassName": "framework_toolchain_repository", - "attributes": { - "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:macos_commands.bzl", - "exec_compatible_with": [ - "@platforms//os:macos" - ] - } - }, - "rules_foreign_cc_framework_toolchains": { - "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", - "ruleClassName": "framework_toolchain_repository_hub", - "attributes": {} - }, - "cmake_src": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", - "sha256": "f316b40053466f9a416adf981efda41b160ca859e97f6a484b447ea299ff26aa", - "strip_prefix": "cmake-3.23.2", - "urls": [ - "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2.tar.gz" - ], - "patches": [ - "@@rules_foreign_cc~//toolchains/patches:cmake-c++11.patch" - ] - } - }, - "gnumake_src": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", - "sha256": "dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3", - "strip_prefix": "make-4.4.1", - "urls": [ - "https://mirror.bazel.build/ftpmirror.gnu.org/gnu/make/make-4.4.1.tar.gz", - "http://ftpmirror.gnu.org/gnu/make/make-4.4.1.tar.gz" - ] - } - }, - "ninja_build_src": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", - "integrity": "sha256-ghvf9Io/aDvEuztvC1/nstZHz2XVKutjMoyRpsbfKFo=", - "strip_prefix": "ninja-1.12.1", - "urls": [ - "https://mirror.bazel.build/github.com/ninja-build/ninja/archive/v1.12.1.tar.gz", - "https://github.com/ninja-build/ninja/archive/v1.12.1.tar.gz" - ] - } - }, - "meson_src": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file_content": "exports_files([\"meson.py\"])\n\nfilegroup(\n name = \"runtime\",\n # NOTE: excluding __pycache__ is important to avoid rebuilding due to pyc\n # files, see https://github.com/bazel-contrib/rules_foreign_cc/issues/1342\n srcs = glob([\"mesonbuild/**\"], exclude = [\"**/__pycache__/*\"]),\n visibility = [\"//visibility:public\"],\n)\n", - "sha256": "567e533adf255de73a2de35049b99923caf872a455af9ce03e01077e0d384bed", - "strip_prefix": "meson-1.5.1", - "urls": [ - "https://mirror.bazel.build/github.com/mesonbuild/meson/releases/download/1.5.1/meson-1.5.1.tar.gz", - "https://github.com/mesonbuild/meson/releases/download/1.5.1/meson-1.5.1.tar.gz" - ] - } - }, - "glib_dev": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file_content": "\ncc_import(\n name = \"glib_dev\",\n hdrs = glob([\"include/**\"]),\n shared_library = \"@glib_runtime//:bin/libglib-2.0-0.dll\",\n visibility = [\"//visibility:public\"],\n)\n ", - "sha256": "bdf18506df304d38be98a4b3f18055b8b8cca81beabecad0eece6ce95319c369", - "urls": [ - "https://mirror.bazel.build/download.gnome.org/binaries/win64/glib/2.26/glib-dev_2.26.1-1_win64.zip", - "https://download.gnome.org/binaries/win64/glib/2.26/glib-dev_2.26.1-1_win64.zip" - ] - } - }, - "glib_src": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file_content": "\ncc_import(\n name = \"msvc_hdr\",\n hdrs = [\"msvc_recommended_pragmas.h\"],\n visibility = [\"//visibility:public\"],\n)\n ", - "sha256": "bc96f63112823b7d6c9f06572d2ad626ddac7eb452c04d762592197f6e07898e", - "strip_prefix": "glib-2.26.1", - "urls": [ - "https://mirror.bazel.build/download.gnome.org/sources/glib/2.26/glib-2.26.1.tar.gz", - "https://download.gnome.org/sources/glib/2.26/glib-2.26.1.tar.gz" - ] - } - }, - "glib_runtime": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file_content": "\nexports_files(\n [\n \"bin/libgio-2.0-0.dll\",\n \"bin/libglib-2.0-0.dll\",\n \"bin/libgmodule-2.0-0.dll\",\n \"bin/libgobject-2.0-0.dll\",\n \"bin/libgthread-2.0-0.dll\",\n ],\n visibility = [\"//visibility:public\"],\n)\n ", - "sha256": "88d857087e86f16a9be651ee7021880b3f7ba050d34a1ed9f06113b8799cb973", - "urls": [ - "https://mirror.bazel.build/download.gnome.org/binaries/win64/glib/2.26/glib_2.26.1-1_win64.zip", - "https://download.gnome.org/binaries/win64/glib/2.26/glib_2.26.1-1_win64.zip" - ] - } - }, - "gettext_runtime": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file_content": "\ncc_import(\n name = \"gettext_runtime\",\n shared_library = \"bin/libintl-8.dll\",\n visibility = [\"//visibility:public\"],\n)\n ", - "sha256": "1f4269c0e021076d60a54e98da6f978a3195013f6de21674ba0edbc339c5b079", - "urls": [ - "https://mirror.bazel.build/download.gnome.org/binaries/win64/dependencies/gettext-runtime_0.18.1.1-2_win64.zip", - "https://download.gnome.org/binaries/win64/dependencies/gettext-runtime_0.18.1.1-2_win64.zip" - ] - } - }, - "pkgconfig_src": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", - "sha256": "6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591", - "strip_prefix": "pkg-config-0.29.2", - "patches": [ - "@@rules_foreign_cc~//toolchains/patches:pkgconfig-detectenv.patch", - "@@rules_foreign_cc~//toolchains/patches:pkgconfig-makefile-vc.patch", - "@@rules_foreign_cc~//toolchains/patches:pkgconfig-builtin-glib-int-conversion.patch" - ], - "urls": [ - "https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz", - "https://mirror.bazel.build/pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz" - ] - } - }, - "bazel_features": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "ba1282c1aa1d1fffdcf994ab32131d7c7551a9bc960fbf05f42d55a1b930cbfb", - "strip_prefix": "bazel_features-1.15.0", - "url": "https://github.com/bazel-contrib/bazel_features/releases/download/v1.15.0/bazel_features-v1.15.0.tar.gz" - } - }, - "bazel_skylib": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f", - "urls": [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz" - ] - } - }, - "rules_cc": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/bazelbuild/rules_cc/releases/download/0.0.17/rules_cc-0.0.17.tar.gz" - ], - "sha256": "abc605dd850f813bb37004b77db20106a19311a96b2da1c92b789da529d28fe1", - "strip_prefix": "rules_cc-0.0.17" - } - }, - "rules_python": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "0a158f883fc494724f25e2ce6a5c3d31fd52163a92d4b7180aef0ff9a0622f70", - "strip_prefix": "rules_python-1.1.0-rc0", - "url": "https://github.com/bazelbuild/rules_python/releases/download/1.1.0-rc0/rules_python-1.1.0-rc0.tar.gz" - } - }, - "rules_shell": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "d8cd4a3a91fc1dc68d4c7d6b655f09def109f7186437e3f50a9b60ab436a0c53", - "strip_prefix": "rules_shell-0.3.0", - "url": "https://github.com/bazelbuild/rules_shell/releases/download/v0.3.0/rules_shell-v0.3.0.tar.gz" - } - }, - "cmake-3.23.2-linux-aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-linux-aarch64.tar.gz" - ], - "sha256": "f2654bf780b53f170bbbec44d8ac67d401d24788e590faa53036a89476efa91e", - "strip_prefix": "cmake-3.23.2-linux-aarch64", - "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_bin\",\n srcs = [\"bin/cmake\"],\n)\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"**/* *\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake\",\n target = \":cmake_data\",\n env = {\"CMAKE\": \"$(execpath :cmake_bin)\"},\n tools = [\":cmake_bin\"],\n)\n" - } - }, - "cmake-3.23.2-linux-x86_64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-linux-x86_64.tar.gz" - ], - "sha256": "aaced6f745b86ce853661a595bdac6c5314a60f8181b6912a0a4920acfa32708", - "strip_prefix": "cmake-3.23.2-linux-x86_64", - "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_bin\",\n srcs = [\"bin/cmake\"],\n)\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"**/* *\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake\",\n target = \":cmake_data\",\n env = {\"CMAKE\": \"$(execpath :cmake_bin)\"},\n tools = [\":cmake_bin\"],\n)\n" - } - }, - "cmake-3.23.2-macos-universal": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-macos-universal.tar.gz" - ], - "sha256": "853a0f9af148c5ef47282ffffee06c4c9f257be2635936755f39ca13c3286c88", - "strip_prefix": "cmake-3.23.2-macos-universal/CMake.app/Contents", - "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_bin\",\n srcs = [\"bin/cmake\"],\n)\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"**/* *\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake\",\n target = \":cmake_data\",\n env = {\"CMAKE\": \"$(execpath :cmake_bin)\"},\n tools = [\":cmake_bin\"],\n)\n" - } - }, - "cmake-3.23.2-windows-i386": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-windows-i386.zip" - ], - "sha256": "6a4fcd6a2315b93cb23c93507efccacc30c449c2bf98f14d6032bb226c582e07", - "strip_prefix": "cmake-3.23.2-windows-i386", - "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_bin\",\n srcs = [\"bin/cmake.exe\"],\n)\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"**/* *\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake.exe\",\n target = \":cmake_data\",\n env = {\"CMAKE\": \"$(execpath :cmake_bin)\"},\n tools = [\":cmake_bin\"],\n)\n" - } - }, - "cmake-3.23.2-windows-x86_64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-windows-x86_64.zip" - ], - "sha256": "2329387f3166b84c25091c86389fb891193967740c9bcf01e7f6d3306f7ffda0", - "strip_prefix": "cmake-3.23.2-windows-x86_64", - "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_bin\",\n srcs = [\"bin/cmake.exe\"],\n)\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"**/* *\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake.exe\",\n target = \":cmake_data\",\n env = {\"CMAKE\": \"$(execpath :cmake_bin)\"},\n tools = [\":cmake_bin\"],\n)\n" - } - }, - "cmake_3.23.2_toolchains": { - "bzlFile": "@@rules_foreign_cc~//toolchains:prebuilt_toolchains_repository.bzl", - "ruleClassName": "prebuilt_toolchains_repository", - "attributes": { - "repos": { - "cmake-3.23.2-linux-aarch64": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "cmake-3.23.2-linux-x86_64": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "cmake-3.23.2-macos-universal": [ - "@platforms//os:macos" - ], - "cmake-3.23.2-windows-i386": [ - "@platforms//cpu:x86_32", - "@platforms//os:windows" - ], - "cmake-3.23.2-windows-x86_64": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ] - }, - "tool": "cmake" - } - }, - "ninja_1.12.1_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip" - ], - "sha256": "6f98805688d19672bd699fbbfa2c2cf0fc054ac3df1f0e6a47664d963d530255", - "strip_prefix": "", - "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"ninja_bin\",\n srcs = [\"ninja\"],\n)\n\nnative_tool_toolchain(\n name = \"ninja_tool\",\n env = {\"NINJA\": \"$(execpath :ninja_bin)\"},\n path = \"$(execpath :ninja_bin)\",\n target = \":ninja_bin\",\n)\n" - } - }, - "ninja_1.12.1_linux-aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux-aarch64.zip" - ], - "sha256": "5c25c6570b0155e95fce5918cb95f1ad9870df5768653afe128db822301a05a1", - "strip_prefix": "", - "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"ninja_bin\",\n srcs = [\"ninja\"],\n)\n\nnative_tool_toolchain(\n name = \"ninja_tool\",\n env = {\"NINJA\": \"$(execpath :ninja_bin)\"},\n path = \"$(execpath :ninja_bin)\",\n target = \":ninja_bin\",\n)\n" - } - }, - "ninja_1.12.1_mac": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-mac.zip" - ], - "sha256": "89a287444b5b3e98f88a945afa50ce937b8ffd1dcc59c555ad9b1baf855298c9", - "strip_prefix": "", - "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"ninja_bin\",\n srcs = [\"ninja\"],\n)\n\nnative_tool_toolchain(\n name = \"ninja_tool\",\n env = {\"NINJA\": \"$(execpath :ninja_bin)\"},\n path = \"$(execpath :ninja_bin)\",\n target = \":ninja_bin\",\n)\n" - } - }, - "ninja_1.12.1_mac_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-mac.zip" - ], - "sha256": "89a287444b5b3e98f88a945afa50ce937b8ffd1dcc59c555ad9b1baf855298c9", - "strip_prefix": "", - "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"ninja_bin\",\n srcs = [\"ninja\"],\n)\n\nnative_tool_toolchain(\n name = \"ninja_tool\",\n env = {\"NINJA\": \"$(execpath :ninja_bin)\"},\n path = \"$(execpath :ninja_bin)\",\n target = \":ninja_bin\",\n)\n" - } - }, - "ninja_1.12.1_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-win.zip" - ], - "sha256": "f550fec705b6d6ff58f2db3c374c2277a37691678d6aba463adcbb129108467a", - "strip_prefix": "", - "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"ninja_bin\",\n srcs = [\"ninja.exe\"],\n)\n\nnative_tool_toolchain(\n name = \"ninja_tool\",\n env = {\"NINJA\": \"$(execpath :ninja_bin)\"},\n path = \"$(execpath :ninja_bin)\",\n target = \":ninja_bin\",\n)\n" - } - }, - "ninja_1.12.1_toolchains": { - "bzlFile": "@@rules_foreign_cc~//toolchains:prebuilt_toolchains_repository.bzl", - "ruleClassName": "prebuilt_toolchains_repository", - "attributes": { - "repos": { - "ninja_1.12.1_linux": [ - "@platforms//cpu:x86_64", - "@platforms//os:linux" - ], - "ninja_1.12.1_linux-aarch64": [ - "@platforms//cpu:aarch64", - "@platforms//os:linux" - ], - "ninja_1.12.1_mac": [ - "@platforms//cpu:x86_64", - "@platforms//os:macos" - ], - "ninja_1.12.1_mac_aarch64": [ - "@platforms//cpu:aarch64", - "@platforms//os:macos" - ], - "ninja_1.12.1_win": [ - "@platforms//cpu:x86_64", - "@platforms//os:windows" - ] - }, - "tool": "ninja" - } - } - }, - "recordedRepoMappingEntries": [ - [ - "rules_foreign_cc~", - "bazel_tools", - "bazel_tools" - ], - [ - "rules_foreign_cc~", - "rules_foreign_cc", - "rules_foreign_cc~" - ] - ] - } - }, "@@rules_java~//java:rules_java_deps.bzl%compatibility_proxy": { "general": { "bzlTransitiveDigest": "KIX40nDfygEWbU+rq3nYpt3tVgTK/iO8PKh5VMBlN7M=", @@ -694,7 +286,7 @@ }, "@@rules_rust_mdbook~//:extensions.bzl%rust_ext": { "general": { - "bzlTransitiveDigest": "cZ6AUhyMRGzEl9TJvUx+TZDiMeVVZ2zjmkU0oNX53Hg=", + "bzlTransitiveDigest": "8PQuYyN1IW9HsyXR1oW31SrtMxuCf6nZghP9PP/Lnp0=", "usagesDigest": "ZK5Ctdl81Z42O6F/A6Qa1aop9HRv5TOxnXpj/pf95d8=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, @@ -4041,7 +3633,7 @@ }, "@@rules_rust~//rust/private:internal_extensions.bzl%i": { "general": { - "bzlTransitiveDigest": "h+lY7uToxRsenGQs5ht7fCiBQttyT7B1AZCbVjXShig=", + "bzlTransitiveDigest": "Hm18R1EUKsJ2u5AnhDbPJph6PHdOZF+V/XNEkNkQij4=", "usagesDigest": "ojUWpdSJ5FsqV5SiidVYsxzvjzgeQ3EB4HmC6u86fCc=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, diff --git a/examples/MODULE.bazel b/examples/MODULE.bazel index 97512a8a6..b9b366063 100644 --- a/examples/MODULE.bazel +++ b/examples/MODULE.bazel @@ -67,6 +67,17 @@ use_repo( "rust_example", ) +# XXX https://github.com/bazel-contrib/bazel-lib/pull/1235 +bazel_dep(name = "bazel_lib", version = "3.1.1") +archive_override( + module_name = "bazel_lib", + integrity = "sha256-8u81hQmpvra/CqtXvddEjU0iYDp4FmYENUjwoAsX2DI=", + strip_prefix = "bazel-lib-e6420f3ec1503ccdd221a5c75d3dcf272feb4c20", + urls = [ + "https://github.com/bazel-contrib/bazel-lib/archive/e6420f3ec1503ccdd221a5c75d3dcf272feb4c20.tar.gz", + ], +) + # bazel_dep(name = "rules_android", version = "0.1.1") # bazel_dep(name = "rules_jvm_external", version = "5.1") # diff --git a/foreign_cc/built_tools/private/built_tools_framework.bzl b/foreign_cc/built_tools/private/built_tools_framework.bzl index d96af9ed4..95e22380d 100644 --- a/foreign_cc/built_tools/private/built_tools_framework.bzl +++ b/foreign_cc/built_tools/private/built_tools_framework.bzl @@ -4,6 +4,7 @@ load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") load("//foreign_cc/private:cc_toolchain_util.bzl", "absolutize_path_in_str") load("//foreign_cc/private:detect_root.bzl", "detect_root") load("//foreign_cc/private:framework.bzl", "get_env_prelude", "wrap_outputs") +load("//foreign_cc/private:resource_sets.bzl", "SIZE_ATTRIBUTES", "get_resource_set") load("//foreign_cc/private/framework:helpers.bzl", "convert_shell_script", "shebang") load("//foreign_cc/private/framework:platform.bzl", "PLATFORM_CONSTRAINTS_RULE_ATTRIBUTES") @@ -35,6 +36,7 @@ FOREIGN_CC_BUILT_TOOLS_ATTRS = { # this would be cleaner as x | y, but that's not supported in bazel 5.4.0 FOREIGN_CC_BUILT_TOOLS_ATTRS.update(PLATFORM_CONSTRAINTS_RULE_ATTRIBUTES) +FOREIGN_CC_BUILT_TOOLS_ATTRS.update(SIZE_ATTRIBUTES) # Common fragments for all built_tool rules FOREIGN_CC_BUILT_TOOLS_FRAGMENTS = [ @@ -153,6 +155,14 @@ def built_tool_rule_impl(ctx, script_lines, out_dir, mnemonic, additional_tools if additional_tools: tools = depset(transitive = [tools, additional_tools]) + resource_set, cpu, _mem = get_resource_set(ctx.attr) + env = None + if cpu > 0: + env = { + "CMAKE_BUILD_PARALLEL_LEVEL": str(cpu), + "MAKEFLAGS": "-j{}".format(cpu), + } + # The use of `run_shell` here is intended to ensure bash is correctly setup on windows # environments. This should not be replaced with `run` until a cross platform implementation # is found that guarantees bash exists or appropriately errors out. @@ -161,6 +171,8 @@ def built_tool_rule_impl(ctx, script_lines, out_dir, mnemonic, additional_tools inputs = ctx.attr.srcs.files, outputs = [out_dir, wrapped_outputs.log_file], tools = tools, + env = env, + resource_set = resource_set, use_default_shell_env = True, command = wrapped_outputs.wrapper_script_file.path, execution_requirements = {"block-network": ""}, diff --git a/foreign_cc/private/BUILD.bazel b/foreign_cc/private/BUILD.bazel index 41546f15f..c686fb377 100644 --- a/foreign_cc/private/BUILD.bazel +++ b/foreign_cc/private/BUILD.bazel @@ -43,6 +43,7 @@ bzl_library( ":cc_toolchain_util", ":detect_root", ":detect_xcompile.bzl", + ":resource_sets", ":run_shell_file_utils", "//foreign_cc:providers", "//foreign_cc/private/framework:helpers", @@ -96,3 +97,13 @@ bzl_library( srcs = ["run_shell_file_utils.bzl"], visibility = ["//foreign_cc:__subpackages__"], ) + +bzl_library( + name = "resource_sets", + srcs = ["resource_sets.bzl"], + visibility = ["//foreign_cc:__subpackages__"], + deps = [ + "@bazel_lib//lib:resource_sets", + "@bazel_skylib//rules:common_settings", + ], +) diff --git a/foreign_cc/private/framework.bzl b/foreign_cc/private/framework.bzl index 39812762b..c97e57b02 100644 --- a/foreign_cc/private/framework.bzl +++ b/foreign_cc/private/framework.bzl @@ -9,6 +9,7 @@ load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") load("@rules_cc//cc:defs.bzl", "CcInfo", "cc_common") load("//foreign_cc:providers.bzl", "ForeignCcArtifactInfo", "ForeignCcDepsInfo") load("//foreign_cc/private:detect_root.bzl", "filter_containing_dirs_from_inputs") +load("//foreign_cc/private:resource_sets.bzl", "SIZE_ATTRIBUTES", "get_resource_set") load( "//foreign_cc/private/framework:helpers.bzl", "convert_shell_script", @@ -252,6 +253,7 @@ CC_EXTERNAL_RULE_ATTRIBUTES = { # this would be cleaner as x | y, but that's not supported in bazel 5.4.0 CC_EXTERNAL_RULE_ATTRIBUTES.update(PLATFORM_CONSTRAINTS_RULE_ATTRIBUTES) +CC_EXTERNAL_RULE_ATTRIBUTES.update(SIZE_ATTRIBUTES) # A list of common fragments required by rules using this framework CC_EXTERNAL_RULE_FRAGMENTS = [ @@ -542,6 +544,13 @@ def cc_external_rule_impl(ctx, attrs): for tool in attrs.tools_deps: tool_runfiles += tool[DefaultInfo].default_runfiles.files.to_list() + resource_set, cpu, _mem = get_resource_set(ctx.attr) + env = None + if cpu > 0: + env = { + "CMAKE_BUILD_PARALLEL_LEVEL": str(cpu), + "MAKEFLAGS": "-j{}".format(cpu), + } ctx.actions.run_shell( mnemonic = "Cc" + attrs.configure_name.capitalize() + "MakeRule", inputs = depset(inputs.declared_inputs), @@ -561,6 +570,8 @@ def cc_external_rule_impl(ctx, attrs): configure_name = attrs.configure_name, lib_name = lib_name, ), + resource_set = resource_set, + env = env, ) # Gather runfiles transitively as per the documentation in: diff --git a/foreign_cc/private/resource_sets.bzl b/foreign_cc/private/resource_sets.bzl new file mode 100644 index 000000000..7d2f161e8 --- /dev/null +++ b/foreign_cc/private/resource_sets.bzl @@ -0,0 +1,150 @@ +"""Resource set definitions for build actions""" + +load("@bazel_lib//lib:resource_sets.bzl", "resource_set_for") +load("@bazel_skylib//rules:common_settings.bzl", "BuildSettingInfo", "int_flag", "string_flag") + +_DEFAULT_SIZE = "default" +_SIZES = { + "enormous": { + "cpu": 16, + "mem": 2048, + }, + "large": { + "cpu": 8, + "mem": 1024, + }, + "medium": { + "cpu": 4, + "mem": 500, + }, + "small": { + "cpu": 2, + "mem": 250, + }, + "tiny": { + "cpu": 1, + "mem": 250, + }, +} + +def _setting(size, resource, mode): + if size == _DEFAULT_SIZE: + short_name = _DEFAULT_SIZE + else: + short_name = "{}_{}".format(size, resource) + + if mode == "key": + return "_size_config_" + short_name + elif mode == "label": + return "//foreign_cc/settings:size_" + short_name + else: + fail("unknown mode", mode) + +def create_settings(): + """create the settings that configure these functions.""" + string_flag( + name = "size_default", + build_setting_default = _DEFAULT_SIZE, + values = _SIZES.keys() + [_DEFAULT_SIZE], + visibility = ["//visibility:public"], + ) + + for size, cfg in _SIZES.items(): + if cfg == None: + continue + + # keep this in sync with the docs and the above helper! + int_flag( + name = "size_{}_cpu".format(size), + build_setting_default = _SIZES[size]["cpu"], + visibility = ["//visibility:public"], + ) + + int_flag( + name = "size_{}_mem".format(size), + build_setting_default = _SIZES[size]["mem"], + visibility = ["//visibility:public"], + ) + +SIZE_ATTRIBUTES = { + "resource_size": attr.string( + values = _SIZES.keys() + [_DEFAULT_SIZE], + default = _DEFAULT_SIZE, + mandatory = False, + doc = ( + "Set the approximate size of this build. This does two things:" + + "1. Sets the environment variables to tell the underlying build system " + + " the requested parallelization; examples are CMAKE_BUILD_PARALLEL_LEVEL " + + " for cmake or MAKEFLAGS for autotools. " + + "2. Sets the resource_set attribute on the action to tell bazel how many cores " + + " are being used, so it schedules appropriately." + + "The sizes map to labels, which can be used to override the meaning of the sizes. See " + + "@rules_foreign_cc//foreign_cc/settings:size_{size}_{cpu|mem}" + ), + ), +} | { + _setting(size = size, resource = resource, mode = "key"): attr.label( + default = _setting(size, resource, mode = "label"), + providers = [BuildSettingInfo], + ) + for size in _SIZES.keys() + for resource in ["cpu", "mem"] +} | { + _setting(size = _DEFAULT_SIZE, resource = None, mode = "key"): attr.label( + default = _setting(size = _DEFAULT_SIZE, resource = None, mode = "label"), + providers = [BuildSettingInfo], + ), +} + +def _get_size_config(attr, size, resource): + name = _setting(size = size, resource = resource, mode = "key") + s = getattr(attr, name, None) + + if s == None: + fail("unknown size: ", size) + + return s[BuildSettingInfo].value + +def get_resource_set(attr): + """ get the resource set as configured by the settings and attrs + + Args: + attr: the ctx.attr associated with the target + Returns: + A tuple of: + - the resource_set, or None if it's the bazel default + - cpu_cores, or 0 if it's the bazel default + - mem in MB, or 0 if it's the bazel default + """ + size = _DEFAULT_SIZE + if attr.resource_size != _DEFAULT_SIZE: + size = attr.resource_size + else: + size = _get_size_config(attr, _DEFAULT_SIZE, None) + + if size == _DEFAULT_SIZE: + return None, 0, 0 + + cpu_value = _get_size_config(attr, size, "cpu") + mem_value = _get_size_config(attr, size, "mem") + + if cpu_value < 0: + fail("cpu must be >= 0") + + if mem_value < 0: + fail("mem must be >= 0") + + resource_set = resource_set_for( + cpu_cores = cpu_value, + mem_mb = mem_value, + ) + + if resource_set: + actual_resources = resource_set("", "") + actual_cpu = actual_resources.get("cpu", 0) + actual_mem = actual_resources.get("mem", 0) + else: + actual_cpu = 0 + actual_mem = 0 + + return resource_set, actual_cpu, actual_mem diff --git a/foreign_cc/repositories.bzl b/foreign_cc/repositories.bzl index 7fbc93bf3..e1ee112ef 100644 --- a/foreign_cc/repositories.bzl +++ b/foreign_cc/repositories.bzl @@ -119,12 +119,15 @@ def rules_foreign_cc_dependencies( ], ) + # XXX https://github.com/bazel-contrib/bazel-lib/pull/1235 maybe( http_archive, name = "bazel_lib", - sha256 = "fd0fe4df9b6b7837d5fd765c04ffcea462530a08b3d98627fb6be62a693f4e12", - strip_prefix = "bazel-lib-3.1.0", - url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.1.0/bazel-lib-v3.1.0.tar.gz", + integrity = "sha256-8u81hQmpvra/CqtXvddEjU0iYDp4FmYENUjwoAsX2DI=", + strip_prefix = "bazel-lib-e6420f3ec1503ccdd221a5c75d3dcf272feb4c20", + urls = [ + "https://github.com/bazel-contrib/bazel-lib/archive/e6420f3ec1503ccdd221a5c75d3dcf272feb4c20.tar.gz", + ], ) maybe( diff --git a/foreign_cc/settings/BUILD.bazel b/foreign_cc/settings/BUILD.bazel new file mode 100644 index 000000000..30326b2b3 --- /dev/null +++ b/foreign_cc/settings/BUILD.bazel @@ -0,0 +1,3 @@ +load("//foreign_cc/private:resource_sets.bzl", _create_settings = "create_settings") + +_create_settings() diff --git a/toolchains/private/BUILD.bazel b/toolchains/private/BUILD.bazel index 4ccdeefb6..47fad5ca9 100644 --- a/toolchains/private/BUILD.bazel +++ b/toolchains/private/BUILD.bazel @@ -54,6 +54,7 @@ native_tool_toolchain( cmake_tool( name = "cmake_tool", srcs = "@cmake_src//:all_srcs", + resource_size = "medium", tags = ["manual"], ) From c9869ba1d07866a7d65b014194442ab1c2e13fc2 Mon Sep 17 00:00:00 2001 From: Mike Lundy Date: Fri, 30 Jan 2026 14:38:26 -0800 Subject: [PATCH 3/6] wip --- examples/make_simple/BUILD.bazel | 72 +- examples/meson_simple/BUILD.bazel | 62 +- examples/ninja_simple/BUILD.bazel | 70 +- .../private/built_tools_framework.bzl | 10 +- foreign_cc/private/framework.bzl | 11 +- foreign_cc/private/resource_sets.bzl | 42 + toolchains/prebuilt_toolchains.bzl | 1162 +++++++++-------- toolchains/prebuilt_toolchains.py | 48 +- toolchains/private/BUILD.bazel | 47 +- toolchains/private/ninja_wrapper.sh | 10 + 10 files changed, 855 insertions(+), 679 deletions(-) create mode 100755 toolchains/private/ninja_wrapper.sh diff --git a/examples/make_simple/BUILD.bazel b/examples/make_simple/BUILD.bazel index 822c0a95d..0148f4bb6 100644 --- a/examples/make_simple/BUILD.bazel +++ b/examples/make_simple/BUILD.bazel @@ -1,34 +1,46 @@ load("@rules_cc//cc:defs.bzl", "cc_test") load("@rules_foreign_cc//foreign_cc:defs.bzl", "make") -make( - name = "make_lib", - build_data = [ - "//make_simple/code:cxx_wrapper.sh", - "README.md", - ], - copts = [ - "-DREQUIRED_DEFINE", - ], - env = { - "CXX_WRAPPER": "$(execpath //make_simple/code:cxx_wrapper.sh)", - "README_DIR": "$$(dirname $(execpath README.md))", - }, - lib_source = "//make_simple/code:srcs", - out_data_dirs = ["share"], - out_static_libs = ["liba.a"], -) +SIZES = [ + "default", + "tiny", +] -cc_test( - name = "test_lib", - srcs = [ - "test_libb.cpp", - ], - copts = [ - "-std=c++11", - ], - tags = ["windows"], - deps = [ - ":make_lib", - ], -) +[ + make( + name = "make_lib_" + size, + build_data = [ + "//make_simple/code:cxx_wrapper.sh", + "README.md", + ], + copts = [ + "-DREQUIRED_DEFINE", + ], + env = { + "CXX_WRAPPER": "$(execpath //make_simple/code:cxx_wrapper.sh)", + "README_DIR": "$$(dirname $(execpath README.md))", + }, + lib_source = "//make_simple/code:srcs", + out_data_dirs = ["share"], + out_static_libs = ["liba.a"], + resource_size = size, + ) + for size in SIZES +] + +[ + cc_test( + name = "test_lib_" + size, + srcs = [ + "test_libb.cpp", + ], + copts = [ + "-std=c++11", + ], + tags = ["windows"], + deps = [ + ":make_lib_" + size, + ], + ) + for size in SIZES +] diff --git a/examples/meson_simple/BUILD.bazel b/examples/meson_simple/BUILD.bazel index f274c4bef..360c5d9ca 100644 --- a/examples/meson_simple/BUILD.bazel +++ b/examples/meson_simple/BUILD.bazel @@ -2,32 +2,44 @@ load("@rules_cc//cc:defs.bzl", "cc_test") load("@rules_foreign_cc//foreign_cc:defs.bzl", "meson") load("@rules_shell//shell:sh_test.bzl", "sh_test") -meson( - name = "meson_lib", - build_data = ["//meson_simple/code:clang_wrapper.sh"], - env = select({ - "//:windows": { - "CLANG_WRAPPER": "$(execpath //meson_simple/code:clang_wrapper.sh)", - "CXX_FLAGS": "/MD", - }, - "//conditions:default": { - "CLANG_WRAPPER": "$(execpath //meson_simple/code:clang_wrapper.sh)", - "CXX_FLAGS": "-fPIC", - }, - }), - lib_source = "//meson_simple/code:srcs", - out_static_libs = ["liba.a"], -) +SIZES = [ + "default", + "tiny", +] -cc_test( - name = "test_lib", - srcs = [ - "test_libb.cpp", - ], - deps = [ - ":meson_lib", - ], -) +[ + meson( + name = "meson_lib_" + size, + build_data = ["//meson_simple/code:clang_wrapper.sh"], + env = select({ + "//:windows": { + "CLANG_WRAPPER": "$(execpath //meson_simple/code:clang_wrapper.sh)", + "CXX_FLAGS": "/MD", + }, + "//conditions:default": { + "CLANG_WRAPPER": "$(execpath //meson_simple/code:clang_wrapper.sh)", + "CXX_FLAGS": "-fPIC", + }, + }), + lib_source = "//meson_simple/code:srcs", + out_static_libs = ["liba.a"], + resource_size = size, + ) + for size in SIZES +] + +[ + cc_test( + name = "test_lib_" + size, + srcs = [ + "test_libb.cpp", + ], + deps = [ + ":meson_lib_" + size, + ], + ) + for size in SIZES +] meson( name = "meson_lib-introspect", diff --git a/examples/ninja_simple/BUILD.bazel b/examples/ninja_simple/BUILD.bazel index f6b730a56..e5b38a957 100644 --- a/examples/ninja_simple/BUILD.bazel +++ b/examples/ninja_simple/BUILD.bazel @@ -1,33 +1,45 @@ load("@rules_cc//cc:defs.bzl", "cc_test") load("@rules_foreign_cc//foreign_cc:defs.bzl", "ninja") -ninja( - name = "ninja_lib", - build_data = ["//ninja_simple/code:clang_wrapper.sh"], - env = select({ - "//:windows": { - "CLANG_WRAPPER": "$(execpath //ninja_simple/code:clang_wrapper.sh)", - "CXX_FLAGS": "/MD", - }, - "//conditions:default": { - "CLANG_WRAPPER": "$(execpath //ninja_simple/code:clang_wrapper.sh)", - "CXX_FLAGS": "-fPIC", - }, - }), - lib_source = "//ninja_simple/code:srcs", - out_static_libs = ["liba.a"], - targets = [ - "", - "install", - ], -) +SIZES = [ + "default", + "tiny", +] -cc_test( - name = "test_lib", - srcs = [ - "test_libb.cpp", - ], - deps = [ - ":ninja_lib", - ], -) +[ + ninja( + name = "ninja_lib_" + size, + build_data = ["//ninja_simple/code:clang_wrapper.sh"], + env = select({ + "//:windows": { + "CLANG_WRAPPER": "$(execpath //ninja_simple/code:clang_wrapper.sh)", + "CXX_FLAGS": "/MD", + }, + "//conditions:default": { + "CLANG_WRAPPER": "$(execpath //ninja_simple/code:clang_wrapper.sh)", + "CXX_FLAGS": "-fPIC", + }, + }), + lib_source = "//ninja_simple/code:srcs", + out_static_libs = ["liba.a"], + resource_size = size, + targets = [ + "", + "install", + ], + ) + for size in SIZES +] + +[ + cc_test( + name = "test_lib_" + size, + srcs = [ + "test_libb.cpp", + ], + deps = [ + ":ninja_lib_" + size, + ], + ) + for size in SIZES +] diff --git a/foreign_cc/built_tools/private/built_tools_framework.bzl b/foreign_cc/built_tools/private/built_tools_framework.bzl index 95e22380d..78a7b5879 100644 --- a/foreign_cc/built_tools/private/built_tools_framework.bzl +++ b/foreign_cc/built_tools/private/built_tools_framework.bzl @@ -4,7 +4,7 @@ load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") load("//foreign_cc/private:cc_toolchain_util.bzl", "absolutize_path_in_str") load("//foreign_cc/private:detect_root.bzl", "detect_root") load("//foreign_cc/private:framework.bzl", "get_env_prelude", "wrap_outputs") -load("//foreign_cc/private:resource_sets.bzl", "SIZE_ATTRIBUTES", "get_resource_set") +load("//foreign_cc/private:resource_sets.bzl", "SIZE_ATTRIBUTES", "get_resource_env_vars") load("//foreign_cc/private/framework:helpers.bzl", "convert_shell_script", "shebang") load("//foreign_cc/private/framework:platform.bzl", "PLATFORM_CONSTRAINTS_RULE_ATTRIBUTES") @@ -155,13 +155,7 @@ def built_tool_rule_impl(ctx, script_lines, out_dir, mnemonic, additional_tools if additional_tools: tools = depset(transitive = [tools, additional_tools]) - resource_set, cpu, _mem = get_resource_set(ctx.attr) - env = None - if cpu > 0: - env = { - "CMAKE_BUILD_PARALLEL_LEVEL": str(cpu), - "MAKEFLAGS": "-j{}".format(cpu), - } + resource_set, env = get_resource_env_vars(ctx.attr) # The use of `run_shell` here is intended to ensure bash is correctly setup on windows # environments. This should not be replaced with `run` until a cross platform implementation diff --git a/foreign_cc/private/framework.bzl b/foreign_cc/private/framework.bzl index c97e57b02..9d1995200 100644 --- a/foreign_cc/private/framework.bzl +++ b/foreign_cc/private/framework.bzl @@ -9,7 +9,7 @@ load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") load("@rules_cc//cc:defs.bzl", "CcInfo", "cc_common") load("//foreign_cc:providers.bzl", "ForeignCcArtifactInfo", "ForeignCcDepsInfo") load("//foreign_cc/private:detect_root.bzl", "filter_containing_dirs_from_inputs") -load("//foreign_cc/private:resource_sets.bzl", "SIZE_ATTRIBUTES", "get_resource_set") +load("//foreign_cc/private:resource_sets.bzl", "SIZE_ATTRIBUTES", "get_resource_env_vars") load( "//foreign_cc/private/framework:helpers.bzl", "convert_shell_script", @@ -544,13 +544,8 @@ def cc_external_rule_impl(ctx, attrs): for tool in attrs.tools_deps: tool_runfiles += tool[DefaultInfo].default_runfiles.files.to_list() - resource_set, cpu, _mem = get_resource_set(ctx.attr) - env = None - if cpu > 0: - env = { - "CMAKE_BUILD_PARALLEL_LEVEL": str(cpu), - "MAKEFLAGS": "-j{}".format(cpu), - } + resource_set, env = get_resource_env_vars(ctx.attr) + ctx.actions.run_shell( mnemonic = "Cc" + attrs.configure_name.capitalize() + "MakeRule", inputs = depset(inputs.declared_inputs), diff --git a/foreign_cc/private/resource_sets.bzl b/foreign_cc/private/resource_sets.bzl index 7d2f161e8..9ffa70006 100644 --- a/foreign_cc/private/resource_sets.bzl +++ b/foreign_cc/private/resource_sets.bzl @@ -148,3 +148,45 @@ def get_resource_set(attr): actual_mem = 0 return resource_set, actual_cpu, actual_mem + +def get_resource_env_vars(attr): + """ get the values of env vars controlling parallelism + + Because any of these tools (cmake, meson, ninja, make, etc) can call into + other tools, we set all of the flags in the hopes that complicated call + structures will still see the values. + + Args: + attr: the ctx.attr associated with the target + Returns: + tuple[resource_set | None, env_vars | None] + + Where resource_set is the correct resource set, and env_vars is the + dict[str, str] to pass to run/run_shell + """ + + resource_set, cpu, _mem = get_resource_set(attr) + + env = None + if cpu > 0: + sc = str(cpu) + env = { + "CMAKE_BUILD_PARALLEL_LEVEL": sc, + + # we set GNUMAKEFLAGS instead of MAKEFLAGS because nmake sees + # MAKEFLAGS but doesn't accept a -j argument, and we don't have a + # good way of being sure that nmake isn't going to be used as part + # of a build. + "GNUMAKEFLAGS": "-j" + sc, + + # Meson starts to honor this as of 1.7.0; before that, it only uses + # ninja's parallelization controls. + "MESON_NUM_PROCESSES": sc, + + # Note that ninja does not honor this by default; it's our wrapper + # script that handles this. + # https://github.com/ninja-build/ninja/issues/1482 + "NINJA_JOBS": sc, + } + + return resource_set, env diff --git a/toolchains/prebuilt_toolchains.bzl b/toolchains/prebuilt_toolchains.bzl index 64e2d1f7c..a06c2eb12 100644 --- a/toolchains/prebuilt_toolchains.bzl +++ b/toolchains/prebuilt_toolchains.bzl @@ -53,11 +53,28 @@ filegroup( srcs = ["{bin}"], ) +filegroup( + name = "ninja_wrapper", + srcs = ["{wrapper}"], +) + +filegroup( + name = "ninja_data", + srcs = [ + ":ninja_bin", + ":ninja_wrapper", + ] +) + native_tool_toolchain( name = "ninja_tool", env = {env}, - path = "$(execpath :ninja_bin)", - target = ":ninja_bin", + path = "$(execpath :ninja_wrapper)", + target = ":ninja_data", + tools = [ + ":ninja_bin", + ":ninja_wrapper", + ] ) """ @@ -85,7 +102,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -99,7 +116,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -113,7 +130,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -127,7 +144,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -141,7 +158,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -195,7 +212,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -209,7 +226,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -223,7 +240,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -237,7 +254,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -251,7 +268,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -305,7 +322,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -319,7 +336,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -333,7 +350,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -347,7 +364,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -361,7 +378,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -415,7 +432,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -429,7 +446,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -443,7 +460,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -457,7 +474,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -471,7 +488,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-4.0.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -525,7 +542,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -539,7 +556,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -553,7 +570,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -567,7 +584,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -581,7 +598,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -635,7 +652,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -649,7 +666,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -663,7 +680,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -677,7 +694,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -691,7 +708,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -745,7 +762,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -759,7 +776,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -773,7 +790,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -787,7 +804,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -801,7 +818,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -855,7 +872,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -869,7 +886,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -883,7 +900,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -897,7 +914,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -911,7 +928,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -965,7 +982,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.4-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -979,7 +996,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.4-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -993,7 +1010,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1007,7 +1024,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.4-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1021,7 +1038,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.4-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1075,7 +1092,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.5-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1089,7 +1106,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.5-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1103,7 +1120,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.5-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1117,7 +1134,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.5-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1131,7 +1148,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.5-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1185,7 +1202,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.6-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1199,7 +1216,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.6-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1213,7 +1230,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.6-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1227,7 +1244,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.6-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1241,7 +1258,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.6-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1295,7 +1312,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.7-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1309,7 +1326,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.7-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1323,7 +1340,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.7-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1337,7 +1354,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.7-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1351,7 +1368,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.7-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1405,7 +1422,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.8-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1419,7 +1436,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.8-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1433,7 +1450,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.8-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1447,7 +1464,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.8-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1461,7 +1478,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.31.8-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1515,7 +1532,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1529,7 +1546,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1543,7 +1560,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1557,7 +1574,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1571,7 +1588,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1625,7 +1642,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1639,7 +1656,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1653,7 +1670,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1667,7 +1684,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1681,7 +1698,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1735,7 +1752,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1749,7 +1766,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1763,7 +1780,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1777,7 +1794,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1791,7 +1808,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1845,7 +1862,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1859,7 +1876,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1873,7 +1890,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1887,7 +1904,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1901,7 +1918,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1955,7 +1972,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.4-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1969,7 +1986,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.4-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1983,7 +2000,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -1997,7 +2014,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.4-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2011,7 +2028,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.4-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2065,7 +2082,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.5-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2079,7 +2096,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.5-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2093,7 +2110,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.5-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2107,7 +2124,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.5-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2121,7 +2138,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.5-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2175,7 +2192,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.6-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2189,7 +2206,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.6-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2203,7 +2220,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.6-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2217,7 +2234,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.6-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2231,7 +2248,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.6-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2285,7 +2302,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.7-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2299,7 +2316,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.7-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2313,7 +2330,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.7-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2327,7 +2344,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.7-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2341,7 +2358,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.7-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2395,7 +2412,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.8-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2409,7 +2426,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.8-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2423,7 +2440,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.8-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2437,7 +2454,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.8-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2451,7 +2468,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.8-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2505,7 +2522,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.9-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2519,7 +2536,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.9-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2533,7 +2550,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.9-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2547,7 +2564,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.9-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2561,7 +2578,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.30.9-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2615,7 +2632,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2629,7 +2646,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2643,7 +2660,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2657,7 +2674,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2671,7 +2688,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2725,7 +2742,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2739,7 +2756,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2753,7 +2770,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2767,7 +2784,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2781,7 +2798,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2835,7 +2852,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2849,7 +2866,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2863,7 +2880,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2877,7 +2894,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2891,7 +2908,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2945,7 +2962,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2959,7 +2976,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2973,7 +2990,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -2987,7 +3004,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3001,7 +3018,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3055,7 +3072,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.4-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3069,7 +3086,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.4-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3083,7 +3100,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3097,7 +3114,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.4-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3111,7 +3128,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.4-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3165,7 +3182,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.5-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3179,7 +3196,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.5-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3193,7 +3210,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.5-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3207,7 +3224,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.5-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3221,7 +3238,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.5-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3275,7 +3292,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.6-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3289,7 +3306,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.6-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3303,7 +3320,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.6-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3317,7 +3334,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.6-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3331,7 +3348,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.6-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3385,7 +3402,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.7-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3399,7 +3416,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.7-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3413,7 +3430,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.7-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3427,7 +3444,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.7-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3441,7 +3458,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.7-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3495,7 +3512,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.8-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3509,7 +3526,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.8-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3523,7 +3540,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.8-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3537,7 +3554,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.8-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3551,7 +3568,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.8-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3605,7 +3622,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.9-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3619,7 +3636,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.9-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3633,7 +3650,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.9-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3647,7 +3664,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.9-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3661,7 +3678,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.29.9-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3715,7 +3732,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3729,7 +3746,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3743,7 +3760,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3757,7 +3774,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3771,7 +3788,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3825,7 +3842,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3839,7 +3856,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3853,7 +3870,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3867,7 +3884,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3881,7 +3898,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3935,7 +3952,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3949,7 +3966,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3963,7 +3980,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3977,7 +3994,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -3991,7 +4008,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4045,7 +4062,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4059,7 +4076,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4073,7 +4090,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4087,7 +4104,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4101,7 +4118,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4155,7 +4172,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.4-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4169,7 +4186,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.4-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4183,7 +4200,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4197,7 +4214,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.4-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4211,7 +4228,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.4-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4265,7 +4282,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.5-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4279,7 +4296,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.5-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4293,7 +4310,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.5-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4307,7 +4324,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.5-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4321,7 +4338,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.5-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4375,7 +4392,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.6-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4389,7 +4406,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.6-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4403,7 +4420,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.6-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4417,7 +4434,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.6-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4431,7 +4448,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.28.6-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4485,7 +4502,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4499,7 +4516,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4513,7 +4530,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4527,7 +4544,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4541,7 +4558,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4595,7 +4612,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4609,7 +4626,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4623,7 +4640,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4637,7 +4654,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4651,7 +4668,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4705,7 +4722,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4719,7 +4736,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4733,7 +4750,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4747,7 +4764,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4761,7 +4778,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4815,7 +4832,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4829,7 +4846,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4843,7 +4860,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4857,7 +4874,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4871,7 +4888,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4925,7 +4942,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.4-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4939,7 +4956,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.4-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4953,7 +4970,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4967,7 +4984,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.4-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -4981,7 +4998,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.4-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5035,7 +5052,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.5-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5049,7 +5066,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.5-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5063,7 +5080,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.5-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5077,7 +5094,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.5-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5091,7 +5108,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.5-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5145,7 +5162,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.6-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5159,7 +5176,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.6-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5173,7 +5190,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.6-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5187,7 +5204,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.6-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5201,7 +5218,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.6-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5255,7 +5272,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.7-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5269,7 +5286,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.7-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5283,7 +5300,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.7-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5297,7 +5314,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.7-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5311,7 +5328,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.7-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5365,7 +5382,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.8-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5379,7 +5396,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.8-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5393,7 +5410,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.8-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5407,7 +5424,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.8-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5421,7 +5438,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.8-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5475,7 +5492,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.9-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5489,7 +5506,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.9-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5503,7 +5520,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.9-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5517,7 +5534,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.9-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5531,7 +5548,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.27.9-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5585,7 +5602,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5599,7 +5616,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5613,7 +5630,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5627,7 +5644,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5641,7 +5658,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5695,7 +5712,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5709,7 +5726,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5723,7 +5740,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5737,7 +5754,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5751,7 +5768,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5805,7 +5822,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5819,7 +5836,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5833,7 +5850,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5847,7 +5864,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5861,7 +5878,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5915,7 +5932,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5929,7 +5946,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5943,7 +5960,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5957,7 +5974,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -5971,7 +5988,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6025,7 +6042,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.4-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6039,7 +6056,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.4-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6053,7 +6070,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6067,7 +6084,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.4-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6081,7 +6098,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.4-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6135,7 +6152,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.5-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6149,7 +6166,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.5-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6163,7 +6180,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.5-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6177,7 +6194,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.5-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6191,7 +6208,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.5-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6245,7 +6262,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.6-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6259,7 +6276,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.6-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6273,7 +6290,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.6-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6287,7 +6304,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.6-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6301,7 +6318,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.26.6-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6355,7 +6372,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6369,7 +6386,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6383,7 +6400,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6397,7 +6414,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6411,7 +6428,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6465,7 +6482,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6479,7 +6496,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6493,7 +6510,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6507,7 +6524,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6521,7 +6538,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6575,7 +6592,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6589,7 +6606,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6603,7 +6620,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6617,7 +6634,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6631,7 +6648,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6685,7 +6702,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6699,7 +6716,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6713,7 +6730,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6727,7 +6744,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6741,7 +6758,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.25.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6795,7 +6812,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6809,7 +6826,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6823,7 +6840,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6837,7 +6854,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6851,7 +6868,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6905,7 +6922,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6919,7 +6936,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6933,7 +6950,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6947,7 +6964,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -6961,7 +6978,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7015,7 +7032,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7029,7 +7046,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7043,7 +7060,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7057,7 +7074,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7071,7 +7088,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7125,7 +7142,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7139,7 +7156,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7153,7 +7170,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7167,7 +7184,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7181,7 +7198,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7235,7 +7252,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.4-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7249,7 +7266,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.4-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7263,7 +7280,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7277,7 +7294,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.4-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7291,7 +7308,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.24.4-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7345,7 +7362,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7359,7 +7376,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7373,7 +7390,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7387,7 +7404,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7401,7 +7418,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7455,7 +7472,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7469,7 +7486,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7483,7 +7500,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7497,7 +7514,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7511,7 +7528,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7565,7 +7582,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7579,7 +7596,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7593,7 +7610,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7607,7 +7624,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7621,7 +7638,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7675,7 +7692,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7689,7 +7706,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7703,7 +7720,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7717,7 +7734,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7731,7 +7748,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7785,7 +7802,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.4-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7799,7 +7816,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.4-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7813,7 +7830,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7827,7 +7844,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.4-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7841,7 +7858,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.4-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7895,7 +7912,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.5-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7909,7 +7926,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.5-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7923,7 +7940,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.5-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7937,7 +7954,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.5-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -7951,7 +7968,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.23.5-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8005,7 +8022,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8019,7 +8036,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8033,7 +8050,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8047,7 +8064,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8061,7 +8078,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8115,7 +8132,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8129,7 +8146,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8143,7 +8160,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8157,7 +8174,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8171,7 +8188,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8225,7 +8242,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8239,7 +8256,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8253,7 +8270,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8267,7 +8284,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8281,7 +8298,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8335,7 +8352,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8349,7 +8366,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8363,7 +8380,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8377,7 +8394,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8391,7 +8408,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8445,7 +8462,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.4-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8459,7 +8476,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.4-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8473,7 +8490,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8487,7 +8504,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.4-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8501,7 +8518,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.4-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8555,7 +8572,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.5-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8569,7 +8586,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.5-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8583,7 +8600,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.5-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8597,7 +8614,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.5-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8611,7 +8628,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.5-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8665,7 +8682,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.6-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8679,7 +8696,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.6-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8693,7 +8710,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.6-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8707,7 +8724,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.6-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8721,7 +8738,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.22.6-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8775,7 +8792,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8789,7 +8806,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8803,7 +8820,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8817,7 +8834,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8831,7 +8848,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8885,7 +8902,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8899,7 +8916,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8913,7 +8930,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8927,7 +8944,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8941,7 +8958,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -8995,7 +9012,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9009,7 +9026,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9023,7 +9040,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9037,7 +9054,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9051,7 +9068,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9105,7 +9122,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9119,7 +9136,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9133,7 +9150,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9147,7 +9164,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9161,7 +9178,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9215,7 +9232,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.4-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9229,7 +9246,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.4-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9243,7 +9260,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9257,7 +9274,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.4-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9271,7 +9288,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.4-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9325,7 +9342,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.5-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9339,7 +9356,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.5-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9353,7 +9370,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.5-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9367,7 +9384,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.5-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9381,7 +9398,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.5-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9435,7 +9452,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.6-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9449,7 +9466,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.6-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9463,7 +9480,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.6-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9477,7 +9494,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.6-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9491,7 +9508,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.6-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9545,7 +9562,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.7-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9559,7 +9576,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.7-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9573,7 +9590,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.7-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9587,7 +9604,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.7-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9601,7 +9618,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.21.7-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9655,7 +9672,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.0-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9669,7 +9686,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.0-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9683,7 +9700,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.0-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9697,7 +9714,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.0-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9711,7 +9728,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.0-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9765,7 +9782,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.1-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9779,7 +9796,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.1-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9793,7 +9810,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.1-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9807,7 +9824,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.1-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9821,7 +9838,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.1-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9875,7 +9892,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.2-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9889,7 +9906,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.2-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9903,7 +9920,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9917,7 +9934,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.2-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9931,7 +9948,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.2-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9985,7 +10002,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.3-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -9999,7 +10016,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.3-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10013,7 +10030,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10027,7 +10044,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.3-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10041,7 +10058,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.3-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10095,7 +10112,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.4-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10109,7 +10126,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.4-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10123,7 +10140,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10137,7 +10154,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.4-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10151,7 +10168,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.4-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10205,7 +10222,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.5-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10219,7 +10236,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.5-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10233,7 +10250,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.5-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10247,7 +10264,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.5-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10261,7 +10278,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.5-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10315,7 +10332,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.6-linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10329,7 +10346,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.6-linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10343,7 +10360,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.6-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10357,7 +10374,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.6-windows-i386", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10371,7 +10388,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.20.6-windows-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10425,7 +10442,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.0-Darwin-x86_64/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10439,7 +10456,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.0-Linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10453,7 +10470,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.0-win32-x86", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10467,7 +10484,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.0-win64-x64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10517,7 +10534,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.1-Darwin-x86_64/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10531,7 +10548,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.1-Linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10545,7 +10562,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.1-win32-x86", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10559,7 +10576,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.1-win64-x64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10609,7 +10626,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.2-Linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10623,7 +10640,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.2-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10637,7 +10654,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.2-win32-x86", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10651,7 +10668,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.2-win64-x64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10700,7 +10717,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.3-Linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10714,7 +10731,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.3-Linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10728,7 +10745,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.3-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10742,7 +10759,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.3-win32-x86", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10756,7 +10773,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.3-win64-x64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10810,7 +10827,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.4-Linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10824,7 +10841,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.4-Linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10838,7 +10855,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.4-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10852,7 +10869,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.4-win32-x86", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10866,7 +10883,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.4-win64-x64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10920,7 +10937,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.5-Linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10934,7 +10951,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.5-Linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10948,7 +10965,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.5-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10962,7 +10979,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.5-win32-x86", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -10976,7 +10993,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.5-win64-x64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11030,7 +11047,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.6-Linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11044,7 +11061,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.6-Linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11058,7 +11075,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.6-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11072,7 +11089,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.6-win32-x86", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11086,7 +11103,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.6-win64-x64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11140,7 +11157,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.7-Linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11154,7 +11171,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.7-Linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11168,7 +11185,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.7-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11182,7 +11199,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.7-win32-x86", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11196,7 +11213,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.7-win64-x64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11250,7 +11267,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.8-Linux-aarch64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11264,7 +11281,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.8-Linux-x86_64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11278,7 +11295,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.8-macos-universal/CMake.app/Contents", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11292,7 +11309,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.8-win32-x86", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11306,7 +11323,7 @@ def _cmake_toolchains(version, register_toolchains): strip_prefix = "cmake-3.19.8-win64-x64", build_file_content = _CMAKE_BUILD_FILE.format( bin = "cmake.exe", - env = "{\"CMAKE\": \"$(execpath :cmake_bin)\"}", + env = {"CMAKE": "$(execpath :cmake_bin)"}, ), ) @@ -11363,7 +11380,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11377,7 +11395,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11391,7 +11410,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11405,7 +11425,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11419,7 +11440,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11474,7 +11496,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11488,7 +11511,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11502,7 +11526,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11516,7 +11541,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11530,7 +11556,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11585,7 +11612,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11599,7 +11627,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11613,7 +11642,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11627,7 +11657,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11641,7 +11672,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11696,7 +11728,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11710,7 +11743,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11724,7 +11758,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11738,7 +11773,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11788,7 +11824,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11802,7 +11839,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11816,7 +11854,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11830,7 +11869,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11880,7 +11920,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11894,7 +11935,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11908,7 +11950,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11922,7 +11965,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11972,7 +12016,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -11986,7 +12031,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -12000,7 +12046,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -12045,7 +12092,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -12059,7 +12107,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -12073,7 +12122,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -12118,7 +12168,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -12132,7 +12183,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -12146,7 +12198,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -12191,7 +12244,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -12205,7 +12259,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) @@ -12219,7 +12274,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}", + env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", ), ) diff --git a/toolchains/prebuilt_toolchains.py b/toolchains/prebuilt_toolchains.py index 03788b734..d22723886 100755 --- a/toolchains/prebuilt_toolchains.py +++ b/toolchains/prebuilt_toolchains.py @@ -108,7 +108,13 @@ "1.8.2", ) -REPO_DEFINITION = """\ +def repo_definition(name, url, sha256, prefix, template, **template_substitutions): + sub_str = "\n".join([ + indent(f"{k}={v!r},", " " * 8) + for k, v in sorted(template_substitutions.items()) + ]) + + return f"""\ maybe( http_archive, name = "{name}", @@ -118,8 +124,7 @@ sha256 = "{sha256}", strip_prefix = "{prefix}", build_file_content = {template}.format( - bin = "{bin}", - env = "{env}", +""" + sub_str + """ ), ) """ @@ -197,11 +202,28 @@ srcs = ["{{bin}}"], ) +filegroup( + name = "ninja_wrapper", + srcs = ["{{wrapper}}"], +) + +filegroup( + name = "ninja_data", + srcs = [ + ":ninja_bin", + ":ninja_wrapper", + ] +) + native_tool_toolchain( name = "ninja_tool", env = {{env}}, - path = "$(execpath :ninja_bin)", - target = ":ninja_bin", + path = "$(execpath :ninja_wrapper)", + target = ":ninja_data", + tools = [ + ":ninja_bin", + ":ninja_wrapper", + ] ) \"\"\" @@ -290,15 +312,16 @@ def get_cmake_definitions() -> str: prefix = name version_archives.append( - REPO_DEFINITION.format( + repo_definition( name=name, sha256=sha256, prefix=prefix, url=CMAKE_URL_TEMPLATE.format(full=version, file=file), - build="cmake", template="_CMAKE_BUILD_FILE", bin=bin, - env='{\\"CMAKE\\": \\"$(execpath :cmake_bin)\\"}', + env={ + "CMAKE": "$(execpath :cmake_bin)", + }, ) ) version_toolchains.update({plat_target: name}) @@ -417,15 +440,18 @@ def get_ninja_definitions() -> str: name = "ninja_{}_{}".format(version, target) version_archives.append( - REPO_DEFINITION.format( + repo_definition( name=name, url=url, sha256=sha256, prefix="", - build="ninja", template="_NINJA_BUILD_FILE", bin="ninja.exe" if "win" in target else "ninja", - env='{\\"NINJA\\": \\"$(execpath :ninja_bin)\\"}', + wrapper="@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env={ + "REAL_NINJA": "$(execpath :ninja_bin)", + "NINJA": "$(execpath :ninja_wrapper)", + }, ) ) version_toolchains.update({target: name}) diff --git a/toolchains/private/BUILD.bazel b/toolchains/private/BUILD.bazel index 47fad5ca9..560a36d35 100644 --- a/toolchains/private/BUILD.bazel +++ b/toolchains/private/BUILD.bazel @@ -1,3 +1,4 @@ +load("@rules_shell//shell:sh_binary.bzl", "sh_binary") load("//foreign_cc/built_tools:cmake_build.bzl", "cmake_tool") load("//foreign_cc/built_tools:make_build.bzl", "make_tool") load("//foreign_cc/built_tools:meson_build.bzl", "meson_tool") @@ -23,6 +24,7 @@ native_tool_toolchain( make_tool( name = "make_tool", srcs = "@gnumake_src//:all_srcs", + resource_size = "small", tags = ["manual"], ) @@ -71,35 +73,49 @@ native_tool_toolchain( target = ":cmake_tool", ) +sh_binary( + name = "ninja_wrapper", + srcs = [ + ":ninja_wrapper.sh", + ], +) + native_tool_toolchain( name = "preinstalled_ninja", - env = select({ - "@platforms//os:windows": {"NINJA": "ninja.exe"}, - "//conditions:default": {"NINJA": "ninja"}, - }), - path = select({ - "@platforms//os:windows": "ninja.exe", - "//conditions:default": "ninja", + env = { + "NINJA": "$(execpath :ninja_wrapper)", + } | select({ + "@platforms//os:windows": { + "REAL_NINJA": "ninja.exe", + }, + "//conditions:default": { + "REAL_NINJA": "ninja", + }, }), + path = "$(execpath :ninja_wrapper)", + target = ":ninja_wrapper", ) ninja_tool( name = "ninja_tool", srcs = "@ninja_build_src//:all_srcs", + resource_size = "small", tags = ["manual"], ) native_tool_toolchain( name = "built_ninja", - env = select({ - "@platforms//os:windows": {"NINJA": "$(execpath :ninja_tool)/bin/ninja.exe"}, - "//conditions:default": {"NINJA": "$(execpath :ninja_tool)/bin/ninja"}, - }), - path = select({ - "@platforms//os:windows": "$(execpath :ninja_tool)/bin/ninja.exe", - "//conditions:default": "$(execpath :ninja_tool)/bin/ninja", + env = { + "NINJA": "$(execpath :ninja_wrapper)", + } | select({ + "@platforms//os:windows": {"REAL_NINJA": "$(execpath :ninja_tool)/bin/ninja.exe"}, + "//conditions:default": {"REAL_NINJA": "$(execpath :ninja_tool)/bin/ninja"}, }), - target = ":ninja_tool", + path = "$(execpath :ninja_wrapper)", + target = ":ninja_wrapper", + tools = [ + ":ninja_tool", + ], ) native_tool_toolchain( @@ -159,6 +175,7 @@ native_tool_toolchain( pkgconfig_tool( name = "pkgconfig_tool", srcs = "@pkgconfig_src//:all_srcs", + resource_size = "small", tags = ["manual"], ) diff --git a/toolchains/private/ninja_wrapper.sh b/toolchains/private/ninja_wrapper.sh new file mode 100755 index 000000000..9e2eb77d0 --- /dev/null +++ b/toolchains/private/ninja_wrapper.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +set -euo pipefail + +ninja_jobs=${NINJA_JOBS:-0} + +if [[ $ninja_jobs -gt 0 ]]; then + exec "$EXT_BUILD_ROOT/$REAL_NINJA" "-j$ninja_jobs" "$@" +fi +exec "$EXT_BUILD_ROOT/$REAL_NINJA" "$@" From 76728843467a7152569c79c4dc0d0e30c8c120ad Mon Sep 17 00:00:00 2001 From: Mike Lundy Date: Fri, 30 Jan 2026 14:46:37 -0800 Subject: [PATCH 4/6] wip --- toolchains/prebuilt_toolchains.py | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/toolchains/prebuilt_toolchains.py b/toolchains/prebuilt_toolchains.py index d22723886..77d0d3b25 100755 --- a/toolchains/prebuilt_toolchains.py +++ b/toolchains/prebuilt_toolchains.py @@ -108,13 +108,17 @@ "1.8.2", ) + def repo_definition(name, url, sha256, prefix, template, **template_substitutions): - sub_str = "\n".join([ - indent(f"{k}={v!r},", " " * 8) - for k, v in sorted(template_substitutions.items()) - ]) + sub_str = "\n".join( + [ + indent(f"{k}={v!r},", " " * 8) + for k, v in sorted(template_substitutions.items()) + ] + ) - return f"""\ + return ( + f"""\ maybe( http_archive, name = "{name}", @@ -124,10 +128,14 @@ def repo_definition(name, url, sha256, prefix, template, **template_substitution sha256 = "{sha256}", strip_prefix = "{prefix}", build_file_content = {template}.format( -""" + sub_str + """ +""" + + sub_str + + """ ), ) """ + ) + TOOLCHAIN_REPO_DEFINITION = """\ # buildifier: leave-alone From 0c5a7a9e941e2344c9a582070b30693e0b21660e Mon Sep 17 00:00:00 2001 From: Mike Lundy Date: Fri, 30 Jan 2026 17:03:47 -0800 Subject: [PATCH 5/6] fix warnings / bump deps --- examples/MODULE.bazel | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/MODULE.bazel b/examples/MODULE.bazel index b9b366063..55b0ea3a4 100644 --- a/examples/MODULE.bazel +++ b/examples/MODULE.bazel @@ -12,14 +12,14 @@ use_repo( "meson_src", ) -bazel_dep(name = "platforms", version = "0.0.11") +bazel_dep(name = "platforms", version = "1.0.0") bazel_dep(name = "rules_rust", version = "0.56.0") -bazel_dep(name = "rules_swift", version = "1.6.0", repo_name = "build_bazel_rules_swift") +bazel_dep(name = "rules_swift", version = "1.17.0", repo_name = "build_bazel_rules_swift") bazel_dep(name = "rules_apple", version = "3.4.0", repo_name = "build_bazel_rules_apple") -bazel_dep(name = "apple_support", version = "1.12.0", repo_name = "build_bazel_apple_support") +bazel_dep(name = "apple_support", version = "1.17.1", repo_name = "build_bazel_apple_support") bazel_dep(name = "rules_python", version = "1.2.0") -bazel_dep(name = "rules_cc", version = "0.0.9") -bazel_dep(name = "rules_shell", version = "0.3.0") +bazel_dep(name = "rules_cc", version = "0.1.5") +bazel_dep(name = "rules_shell", version = "0.5.0") bazel_dep(name = "rules_perl", version = "0.2.5") python = use_extension("@rules_python//python/extensions:python.bzl", "python") From 867117bb993fda45464ba2a51868aaa554937f14 Mon Sep 17 00:00:00 2001 From: Mike Lundy Date: Fri, 30 Jan 2026 17:43:04 -0800 Subject: [PATCH 6/6] wip --- foreign_cc/private/select_executable.bzl | 18 +++ toolchains/prebuilt_toolchains.bzl | 169 ++++++++++++----------- toolchains/prebuilt_toolchains.py | 17 +-- 3 files changed, 112 insertions(+), 92 deletions(-) create mode 100644 foreign_cc/private/select_executable.bzl diff --git a/foreign_cc/private/select_executable.bzl b/foreign_cc/private/select_executable.bzl new file mode 100644 index 000000000..7256970bf --- /dev/null +++ b/foreign_cc/private/select_executable.bzl @@ -0,0 +1,18 @@ +""" a helper to work around https://github.com/bazelbuild/bazel/issues/11820 """ + +def _impl(ctx): + return [DefaultInfo(files = depset([ctx.executable.src]))] + +select_executable = rule( + implementation = _impl, + doc = "Selects just the executable from an input; workaround for https://github.com/bazelbuild/bazel/issues/11820", + attrs = { + "src": attr.label( + allow_files = True, + cfg = "exec", + executable = True, + mandatory = True, + doc = "The target producing the file among other outputs", + ), + }, +) diff --git a/toolchains/prebuilt_toolchains.bzl b/toolchains/prebuilt_toolchains.bzl index a06c2eb12..ae15b7056 100644 --- a/toolchains/prebuilt_toolchains.bzl +++ b/toolchains/prebuilt_toolchains.bzl @@ -45,6 +45,7 @@ native_tool_toolchain( _NINJA_BUILD_FILE = """\ load("@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl", "native_tool_toolchain") +load("@rules_foreign_cc//foreign_cc/private:select_executable.bzl", "select_executable") package(default_visibility = ["//visibility:public"]) @@ -53,27 +54,27 @@ filegroup( srcs = ["{bin}"], ) -filegroup( - name = "ninja_wrapper", - srcs = ["{wrapper}"], +select_executable( + name = "ninja_wrapper_bin", + src = "{wrapper}", ) filegroup( name = "ninja_data", srcs = [ ":ninja_bin", - ":ninja_wrapper", + "{wrapper}", ] ) native_tool_toolchain( name = "ninja_tool", env = {env}, - path = "$(execpath :ninja_wrapper)", + path = "$(execpath :ninja_wrapper_bin)", target = ":ninja_data", tools = [ ":ninja_bin", - ":ninja_wrapper", + ":ninja_wrapper_bin", ] ) """ @@ -11380,8 +11381,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11395,8 +11396,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11410,8 +11411,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11425,8 +11426,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11440,8 +11441,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11496,8 +11497,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11511,8 +11512,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11526,8 +11527,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11541,8 +11542,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11556,8 +11557,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11612,8 +11613,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11627,8 +11628,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11642,8 +11643,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11657,8 +11658,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11672,8 +11673,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11728,8 +11729,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11743,8 +11744,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11758,8 +11759,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11773,8 +11774,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11824,8 +11825,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11839,8 +11840,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11854,8 +11855,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11869,8 +11870,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11920,8 +11921,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11935,8 +11936,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11950,8 +11951,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -11965,8 +11966,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12016,8 +12017,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12031,8 +12032,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12046,8 +12047,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12092,8 +12093,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12107,8 +12108,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12122,8 +12123,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12168,8 +12169,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12183,8 +12184,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12198,8 +12199,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12244,8 +12245,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12259,8 +12260,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) @@ -12274,8 +12275,8 @@ def _ninja_toolchains(version, register_toolchains): strip_prefix = "", build_file_content = _NINJA_BUILD_FILE.format( bin = "ninja.exe", - env = {"NINJA": "$(execpath :ninja_wrapper)", "REAL_NINJA": "$(execpath :ninja_bin)"}, - wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + env = {"NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)"}, + wrapper = "@rules_foreign_cc//toolchains/private:ninja_wrapper", ), ) diff --git a/toolchains/prebuilt_toolchains.py b/toolchains/prebuilt_toolchains.py index 77d0d3b25..9ef467308 100755 --- a/toolchains/prebuilt_toolchains.py +++ b/toolchains/prebuilt_toolchains.py @@ -202,6 +202,7 @@ def repo_definition(name, url, sha256, prefix, template, **template_substitution _NINJA_BUILD_FILE = \"\"\"\\ load("@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl", "native_tool_toolchain") +load("@rules_foreign_cc//foreign_cc/private:select_executable.bzl", "select_executable") package(default_visibility = ["//visibility:public"]) @@ -210,27 +211,27 @@ def repo_definition(name, url, sha256, prefix, template, **template_substitution srcs = ["{{bin}}"], ) -filegroup( - name = "ninja_wrapper", - srcs = ["{{wrapper}}"], +select_executable( + name = "ninja_wrapper_bin", + src = "{{wrapper}}", ) filegroup( name = "ninja_data", srcs = [ ":ninja_bin", - ":ninja_wrapper", + "{{wrapper}}", ] ) native_tool_toolchain( name = "ninja_tool", env = {{env}}, - path = "$(execpath :ninja_wrapper)", + path = "$(execpath :ninja_wrapper_bin)", target = ":ninja_data", tools = [ ":ninja_bin", - ":ninja_wrapper", + ":ninja_wrapper_bin", ] ) \"\"\" @@ -455,10 +456,10 @@ def get_ninja_definitions() -> str: prefix="", template="_NINJA_BUILD_FILE", bin="ninja.exe" if "win" in target else "ninja", - wrapper="@rules_foreign_cc//toolchains/private:ninja_wrapper.sh", + wrapper="@rules_foreign_cc//toolchains/private:ninja_wrapper", env={ + "NINJA": "$(execpath :ninja_wrapper_bin)", "REAL_NINJA": "$(execpath :ninja_bin)", - "NINJA": "$(execpath :ninja_wrapper)", }, ) )