Skip to content

Commit

Permalink
Update meson to 1.1.1 (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsharpe authored Jul 17, 2023
1 parent 26c7700 commit 816905a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion foreign_cc/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
9 changes: 9 additions & 0 deletions toolchains/built_toolchains.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 816905a

Please sign in to comment.