Skip to content

Commit

Permalink
Remove erlang 23 from bazel build
Browse files Browse the repository at this point in the history
  • Loading branch information
HoloRin committed Oct 10, 2022
1 parent 2621d2d commit 18bccf5
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 44 deletions.
3 changes: 0 additions & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ build:rbe --host_platform=//bazel/platforms:erlang_internal_platform
build:rbe --host_cpu=k8
build:rbe --cpu=k8

build:rbe-23 --config=rbe
build:rbe-23 --platforms=//bazel/platforms:erlang_linux_23_platform

build:rbe-24 --config=rbe
build:rbe-24 --platforms=//bazel/platforms:erlang_linux_24_platform

Expand Down
14 changes: 0 additions & 14 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ erlang_config = use_extension(
"erlang_config",
)

erlang_config.internal_erlang_from_github_release(
name = "23",
sha256 = "e3ecb3ac2cc549ab90cd9f8921eaebc8613f4d5c89972a3987e5a762d5a2df08",
version = "23.3.4.16",
)

erlang_config.internal_erlang_from_github_release(
name = "24",
sha256 = "8444ff9abe23aea268adbb95463561fc222c965052d35d7c950b17be01c3ad82",
Expand Down Expand Up @@ -74,12 +68,6 @@ elixir_config = use_extension(
"elixir_config",
)

elixir_config.internal_elixir_from_github_release(
name = "1_10",
sha256 = "8518c78f43fe36315dbe0d623823c2c1b7a025c114f3f4adbb48e04ef63f1d9f",
version = "1.10.4",
)

elixir_config.internal_elixir_from_github_release(
name = "1_12",
sha256 = "c5affa97defafa1fd89c81656464d61da8f76ccfec2ea80c8a528decd5cb04ad",
Expand All @@ -105,13 +93,11 @@ use_repo(

register_toolchains(
"@erlang_config//external:toolchain",
"@erlang_config//23:toolchain",
"@erlang_config//24:toolchain",
"@erlang_config//25_0:toolchain",
"@erlang_config//25_1:toolchain",
"@erlang_config//git_master:toolchain",
"@elixir_config//external:toolchain",
"@elixir_config//1_10:toolchain",
"@elixir_config//1_12:toolchain",
"@elixir_config//1_13:toolchain",
"@elixir_config//1_14:toolchain",
Expand Down
17 changes: 0 additions & 17 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,6 @@ http_file(
urls = ["https://www.openssl.org/source/openssl-1.1.1g.tar.gz"],
)

http_file(
name = "otp_src_23",
downloaded_file_path = "OTP-23.3.4.16.tar.gz",
sha256 = "ff091e8a2b3e6350b890d37123444474cf49754f6add0ccee17582858ee464e7",
urls = ["https://github.com/erlang/otp/archive/OTP-23.3.4.16.tar.gz"],
)

http_file(
name = "otp_src_24",
downloaded_file_path = "OTP-24.3.4.6.tar.gz",
Expand Down Expand Up @@ -132,11 +125,6 @@ load(

erlang_config(
internal_erlang_configs = [
internal_erlang_from_github_release(
name = "23",
sha256 = "e3ecb3ac2cc549ab90cd9f8921eaebc8613f4d5c89972a3987e5a762d5a2df08",
version = "23.3.4.16",
),
internal_erlang_from_github_release(
name = "24",
sha256 = "8444ff9abe23aea268adbb95463561fc222c965052d35d7c950b17be01c3ad82",
Expand Down Expand Up @@ -175,11 +163,6 @@ load(

elixir_config(
internal_elixir_configs = [
internal_elixir_from_github_release(
name = "1_10",
sha256 = "8518c78f43fe36315dbe0d623823c2c1b7a025c114f3f4adbb48e04ef63f1d9f",
version = "1.10.4",
),
internal_elixir_from_github_release(
name = "1_12",
sha256 = "c5affa97defafa1fd89c81656464d61da8f76ccfec2ea80c8a528decd5cb04ad",
Expand Down
9 changes: 0 additions & 9 deletions bazel/platforms/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ platform(
parents = ["@rbe//config:platform"],
)

platform(
name = "erlang_linux_23_platform",
constraint_values = [
"@erlang_config//:erlang_23",
"@elixir_config//:elixir_1_10",
],
parents = ["@rbe//config:platform"],
)

platform(
name = "erlang_linux_24_platform",
constraint_values = [
Expand Down
1 change: 0 additions & 1 deletion packaging/docker-image/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ container_image(
],
tags = ["manual"],
tars = select({
"@erlang_config//:erlang_23": ["@otp_src_23//file"],
"@erlang_config//:erlang_24": ["@otp_src_24//file"],
"@erlang_config//:erlang_25_0": ["@otp_src_25_0//file"],
"@erlang_config//:erlang_25_1": ["@otp_src_25_1//file"],
Expand Down

0 comments on commit 18bccf5

Please sign in to comment.