Skip to content

Commit 0e6779a

Browse files
authored
Merge pull request #7902 from rabbitmq/add-otp-26-bazel-rbe-config
Add OTP 26.0-rc3 config to bazel
2 parents ab42742 + 2bb0b42 commit 0e6779a

File tree

5 files changed

+33
-0
lines changed

5 files changed

+33
-0
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ build:rbe-25_2 --platforms=//bazel/platforms:erlang_linux_25_2_platform
5959
build:rbe-25_3 --config=rbe
6060
build:rbe-25_3 --platforms=//bazel/platforms:erlang_linux_25_3_platform
6161

62+
build:rbe-26 --config=rbe
63+
build:rbe-26 --platforms=//bazel/platforms:erlang_linux_26_platform
64+
6265
# no-op config so that --config=local does not error
6366
build:local --color=auto
6467

MODULE.bazel

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ erlang_config.internal_erlang_from_github_release(
6969
version = "25.3",
7070
)
7171

72+
erlang_config.internal_erlang_from_github_release(
73+
name = "26",
74+
sha256 = "ce962175c4d90161a7247d8e2e4ae36f9d8cc0214c8f52dba8ba84a82afc096f",
75+
version = "26.0-rc3",
76+
)
77+
7278
erlang_config.internal_erlang_from_http_archive(
7379
name = "git_master",
7480
strip_prefix = "otp-master",
@@ -114,6 +120,8 @@ register_toolchains(
114120
"@erlang_config//25_2:toolchain2",
115121
"@erlang_config//25_3:toolchain",
116122
"@erlang_config//25_3:toolchain2",
123+
"@erlang_config//26:toolchain",
124+
"@erlang_config//26:toolchain2",
117125
"@erlang_config//git_master:toolchain",
118126
"@erlang_config//git_master:toolchain2",
119127
"@elixir_config//external:toolchain",

WORKSPACE

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ http_file(
9292
urls = ["https://github.com/erlang/otp/archive/OTP-25.3.tar.gz"],
9393
)
9494

95+
http_file(
96+
name = "otp_src_26",
97+
downloaded_file_path = "OTP-26.0-rc3.tar.gz",
98+
sha256 = "f4fc2c5e1da56eb659003015ab80c42e50cef1129cca8c14457a522d1793498d",
99+
urls = ["https://github.com/erlang/otp/archive/OTP-26.0-rc3.tar.gz"],
100+
)
101+
95102
http_archive(
96103
name = "io_buildbuddy_buildbuddy_toolchain",
97104
sha256 = "a2a5cccec251211e2221b1587af2ce43c36d32a42f5d881737db3b546a536510",
@@ -133,6 +140,11 @@ erlang_config(
133140
sha256 = "85c447efc1746740df4089d75bc0e47b88d5161d7c44e9fc4c20fa33ea5d19d7",
134141
version = "25.3",
135142
),
143+
internal_erlang_from_github_release(
144+
name = "26",
145+
sha256 = "ce962175c4d90161a7247d8e2e4ae36f9d8cc0214c8f52dba8ba84a82afc096f",
146+
version = "26.0-rc3",
147+
),
136148
internal_erlang_from_http_archive(
137149
name = "git_master",
138150
strip_prefix = "otp-master",

bazel/platforms/BUILD.bazel

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ platform(
5656
parents = ["@rbe//config:platform"],
5757
)
5858

59+
platform(
60+
name = "erlang_linux_26_platform",
61+
constraint_values = [
62+
"@erlang_config//:erlang_26",
63+
"@elixir_config//:elixir_1_14",
64+
],
65+
parents = ["@rbe//config:platform"],
66+
)
67+
5968
platform(
6069
name = "erlang_linux_git_master_platform",
6170
constraint_values = [

packaging/docker-image/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ container_image(
125125
"@erlang_config//:erlang_25_1": ["@otp_src_25_1//file"],
126126
"@erlang_config//:erlang_25_2": ["@otp_src_25_2//file"],
127127
"@erlang_config//:erlang_25_3": ["@otp_src_25_3//file"],
128+
"@erlang_config//:erlang_26": ["@otp_src_26//file"],
128129
}),
129130
)
130131

0 commit comments

Comments
 (0)