Skip to content

Commit 584a9ae

Browse files
authored
feat(toolchains): Add armv7 linux platform to available toolchain platforms (#1770)
1 parent 5631f05 commit 584a9ae

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ A brief description of the categories of changes:
3535

3636
### Added
3737

38+
* (toolchains) Added armv7 platform definition for python toolchains.
39+
3840
* New Python versions available: `3.11.8`, `3.12.2` using
3941
https://github.com/indygreg/python-build-standalone/releases/tag/20240224.
4042
* (gazelle) Added a new `python_visibility` directive to control visibility

python/versions.bzl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,14 @@ PLATFORMS = {
454454
# repository_ctx.execute(["uname", "-m"]).stdout.strip()
455455
arch = "aarch64",
456456
),
457+
"armv7-unknown-linux-gnu": struct(
458+
compatible_with = [
459+
"@platforms//os:linux",
460+
"@platforms//cpu:armv7",
461+
],
462+
os_name = LINUX_NAME,
463+
arch = "armv7",
464+
),
457465
"ppc64le-unknown-linux-gnu": struct(
458466
compatible_with = [
459467
"@platforms//os:linux",

0 commit comments

Comments
 (0)