Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ A brief description of the categories of changes:
with `extra_pip_args = ["--platform=manylinux_2_4_x86_64"]`, that was an
invalid usage previously but we were not failing the build. From now on this
is explicitly disallowed.
* (toolchains) Added riscv64 platform definition for python toolchains.

[precompile-docs]: /precompiling


## [0.32.2] - 2024-05-14

[0.32.2]: https://github.com/bazelbuild/rules_python/releases/tag/0.32.2
Expand Down
8 changes: 8 additions & 0 deletions python/versions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,14 @@ PLATFORMS = {
# repository_ctx.execute(["uname", "-m"]).stdout.strip()
arch = "ppc64le",
),
"riscv64-unknown-linux-gnu": struct(
compatible_with = [
"@platforms//os:linux",
"@platforms//cpu:riscv64",
],
os_name = LINUX_NAME,
arch = "riscv64",
),
"s390x-unknown-linux-gnu": struct(
compatible_with = [
"@platforms//os:linux",
Expand Down