Skip to content

Commit

Permalink
Add make 4.4.1 (#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
novas0x2a authored Jan 26, 2024
1 parent be11c56 commit 1ddd0ce
Show file tree
Hide file tree
Showing 2 changed files with 16 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 @@ -10,7 +10,7 @@ def rules_foreign_cc_dependencies(
native_tools_toolchains = [],
register_default_tools = True,
cmake_version = "3.23.2",
make_version = "4.4",
make_version = "4.4.1",
ninja_version = "1.11.1",
meson_version = "1.1.1",
pkgconfig_version = "0.29.2",
Expand Down
15 changes: 15 additions & 0 deletions toolchains/built_toolchains.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,21 @@ def _make_toolchain(version, register_toolchains):
native.register_toolchains(
"@rules_foreign_cc//toolchains:built_make_toolchain",
)

if version == "4.4.1":
maybe(
http_archive,
name = "gnumake_src",
build_file_content = _ALL_CONTENT,
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",
],
)
return

if version == "4.4":
maybe(
http_archive,
Expand Down

0 comments on commit 1ddd0ce

Please sign in to comment.