Skip to content

Commit

Permalink
Update to Emacs 29.4
Browse files Browse the repository at this point in the history
  • Loading branch information
phst committed Aug 9, 2024
1 parent acc0868 commit 27c3e73
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ use_repo(cc_configure, "local_config_cc")
deps = use_extension("//private:extensions.bzl", "deps")
use_repo(deps, "local_emacs")
use_repo(deps, "gnu_emacs_28.2")
use_repo(deps, "gnu_emacs_29.3")
use_repo(deps, "gnu_emacs_29.4")
use_repo(deps, "gnu_emacs_windows_28.2")
use_repo(deps, "gnu_emacs_windows_29.3")
use_repo(deps, "gnu_emacs_windows_29.4")

dev_deps = use_extension("//private:extensions.bzl", "dev_deps", dev_dependency = True)
use_repo(dev_deps, "phst_rules_elisp_dev_deps")
Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def lock(self) -> None:


# All potentially supported Emacs versions.
_VERSIONS = frozenset({'28.2', '29.3'})
_VERSIONS = frozenset({'28.2', '29.4'})


def main() -> None:
Expand Down
8 changes: 4 additions & 4 deletions elisp/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ toolchain(
)

toolchain(
name = "emacs_29.3_toolchain",
toolchain = "emacs_29.3",
name = "emacs_29.4_toolchain",
toolchain = "emacs_29.4",
toolchain_type = ":toolchain_type",
)

Expand All @@ -91,8 +91,8 @@ elisp_toolchain(
)

elisp_toolchain(
name = "emacs_29.3",
emacs = "//emacs:emacs_29.3",
name = "emacs_29.4",
emacs = "//emacs:emacs_29.4",
)

exports_files(
Expand Down
24 changes: 12 additions & 12 deletions emacs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ licenses(["notice"])

alias(
name = "emacs",
actual = ":emacs_29.3",
actual = ":emacs_29.4",
visibility = ["//visibility:public"],
)

Expand All @@ -54,17 +54,17 @@ py_test(
alias(
name = "module_header",
actual = select({
"@platforms//os:windows": "@gnu_emacs_windows_29.3//:module_header",
"//conditions:default": "@gnu_emacs_29.3//:module_header",
"@platforms//os:windows": "@gnu_emacs_windows_29.4//:module_header",
"//conditions:default": "@gnu_emacs_29.4//:module_header",
}),
visibility = ["//visibility:public"],
)

alias(
name = "builtin_features",
actual = select({
"@platforms//os:windows": "@gnu_emacs_windows_29.3//:builtin_features",
"//conditions:default": "@gnu_emacs_29.3//:builtin_features",
"@platforms//os:windows": "@gnu_emacs_windows_29.4//:builtin_features",
"//conditions:default": "@gnu_emacs_29.4//:builtin_features",
}),
visibility = ["//gazelle:__pkg__"],
)
Expand All @@ -79,10 +79,10 @@ alias(
)

alias(
name = "emacs_29.3",
name = "emacs_29.4",
actual = select({
"@platforms//os:windows": "@gnu_emacs_windows_29.3//:emacs",
"//conditions:default": "@gnu_emacs_29.3//:emacs",
"@platforms//os:windows": "@gnu_emacs_windows_29.4//:emacs",
"//conditions:default": "@gnu_emacs_29.4//:emacs",
}),
visibility = ["//visibility:public"],
)
Expand Down Expand Up @@ -126,9 +126,9 @@ alias(
# https://github.com/bazelbuild/proposals/blob/main/designs/2019-10-15-tool-visibility.md
# is implemented in all supported Bazel versions.
"@gnu_emacs_28.2//:__pkg__",
"@gnu_emacs_29.3//:__pkg__",
"@gnu_emacs_29.4//:__pkg__",
"@gnu_emacs_windows_28.2//:__pkg__",
"@gnu_emacs_windows_29.3//:__pkg__",
"@gnu_emacs_windows_29.4//:__pkg__",
],
)

Expand Down Expand Up @@ -169,8 +169,8 @@ cc_defaults(
# https://github.com/bazelbuild/proposals/blob/main/designs/2019-10-15-tool-visibility.md
# is implemented in all supported Bazel versions.
"@gnu_emacs_28.2//:__pkg__",
"@gnu_emacs_29.3//:__pkg__",
"@gnu_emacs_29.4//:__pkg__",
"@gnu_emacs_windows_28.2//:__pkg__",
"@gnu_emacs_windows_29.3//:__pkg__",
"@gnu_emacs_windows_29.4//:__pkg__",
],
)
2 changes: 1 addition & 1 deletion examples/ext/MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions private/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def non_module_deps():
windows_integrity = "sha384-tUs1Z43gBYwoXJS9/dvv+ObDS7AWC4dQ4ceAAvlWOrHwjf667bGu+4d48UEuapxp",
)
_emacs(
version = "29.3",
integrity = "sha256-w0wF06zmZu2cf3oPrwcP6jIX/xkQ0ARJm9VFMjPXQqA=",
windows_integrity = "sha384-Zdo9uJEsrI53M7/5g7OqIPcSPX1sBLNMbhnOSN88W+x5fwcshZSBgRy4l1IdO1P6",
version = "29.4",
integrity = "sha384-1LIwxBtAr9RzK3VJ359OfOh/PN83fyfl7uckmMw+Z0mKabbOOsvy00PhXvm5wJtf",
windows_integrity = "sha384-wu5kKCCMX6BLgSoUfMEUf1gLk4Ua+rWa8mldAeW+Y6q+RXyCmdPZP/XuJPO9uWrt",
)

def _non_module_dev_deps_impl(ctx):
Expand Down

0 comments on commit 27c3e73

Please sign in to comment.