Skip to content

Commit

Permalink
Add elixir 1.14 to bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
HoloRin committed Sep 19, 2022
1 parent 6ec68cb commit 9017f76
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ register_toolchains(
"//bazel/toolchains:elixir_toolchain_1_10",
"//bazel/toolchains:elixir_toolchain_1_12",
"//bazel/toolchains:elixir_toolchain_1_13",
"//bazel/toolchains:elixir_toolchain_1_14",
)

load("//:workspace_helpers.bzl", "rabbitmq_external_deps")
Expand Down
9 changes: 7 additions & 2 deletions bazel/platforms/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ constraint_value(
constraint_setting = ":elixir_version",
)

constraint_value(
name = "elixir_1_14",
constraint_setting = ":elixir_version",
)

platform(
name = "erlang_external_platform",
constraint_values = [
Expand Down Expand Up @@ -62,7 +67,7 @@ platform(
name = "erlang_25_platform",
constraint_values = [
"@rules_erlang//platforms:erlang_25",
":elixir_1_13",
":elixir_1_14",
],
parents = ["@rbe//config:platform"],
)
Expand All @@ -71,7 +76,7 @@ platform(
name = "erlang_git_master_platform",
constraint_values = [
":erlang_git_master",
":elixir_1_13",
":elixir_1_14",
],
parents = ["@rbe//config:platform"],
)
6 changes: 6 additions & 0 deletions bazel/toolchains/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,9 @@ elixir_toolchain_from_github_release(
sha256 = "95daf2dd3052e6ca7d4d849457eaaba09de52d65ca38d6933c65bc1cdf6b8579",
version = "1.13.4",
)

elixir_toolchain_from_github_release(
name_suffix = "_1_14",
sha256 = "ac129e266a1e04cdc389551843ec3dbdf36086bb2174d3d7e7936e820735003b",
version = "1.14.0",
)

0 comments on commit 9017f76

Please sign in to comment.