Update meson to 1.1.1 (#1072)

This commit is contained in:
James Sharpe 2023-07-17 19:19:59 +01:00 committed by GitHub
parent 26c7700830
commit 816905a078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -12,7 +12,7 @@ def rules_foreign_cc_dependencies(
cmake_version = "3.23.2",
make_version = "4.4",
ninja_version = "1.11.1",
meson_version = "0.63.0",
meson_version = "1.1.1",
pkgconfig_version = "0.29.2",
register_preinstalled_tools = True,
register_built_tools = True,

View File

@ -161,6 +161,15 @@ def _meson_toolchain(version, register_toolchains):
native.register_toolchains(
"@rules_foreign_cc//toolchains:built_meson_toolchain",
)
if version == "1.1.1":
maybe(
http_archive,
name = "meson_src",
build_file_content = _MESON_BUILD_FILE_CONTENT,
strip_prefix = "meson-1.1.1",
url = "https://github.com/mesonbuild/meson/releases/download/1.1.1/meson-1.1.1.tar.gz",
)
return
if version == "0.63.0":
maybe(
http_archive,