Skip to content

Commit b0a47b9

Browse files
habermancopybara-github
authored andcommitted
Publish s390x wheels for Python/upb.
PiperOrigin-RevId: 807756338
1 parent 4d4d7aa commit b0a47b9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

python/dist/BUILD.bazel

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,18 +85,16 @@ config_setting(
8585
},
8686
)
8787

88-
# s390x support is community-maintained and not officially supported. We do not
89-
# publish s390x wheels.
9088
config_setting(
91-
name = "linux_s390x_release_unused",
89+
name = "linux_s390x_release",
9290
flag_values = {
9391
"//toolchain:release": "True",
9492
},
95-
values = {"cpu": "linux-s390x"},
93+
values = {"cpu": "linux-s390_64"},
9694
)
9795

9896
config_setting(
99-
name = "linux_s390x_local_unused",
97+
name = "linux_s390x_local",
10098
constraint_values = [
10199
"@platforms//os:linux",
102100
"@platforms//cpu:s390x",
@@ -355,8 +353,8 @@ py_wheel(
355353
":linux_x86_64_release": "manylinux2014_x86_64",
356354
":linux_aarch64_local": "linux_aarch64",
357355
":linux_aarch64_release": "manylinux2014_aarch64",
358-
":linux_s390x_local_unused": "linux_s390x",
359-
":linux_s390x_release_unused": "manylinux2014_s390x",
356+
":linux_s390x_local": "linux_s390x",
357+
":linux_s390x_release": "manylinux2014_s390x",
360358
":osx_universal2": "macosx_10_9_universal2",
361359
":osx_aarch64": "macosx_11_0_arm64",
362360
":windows_x86_32": "win32",
@@ -484,6 +482,7 @@ py_dist(
484482
"win64": "310",
485483
"linux-x86_64": "39",
486484
"linux-aarch_64": "39",
485+
"linux-s390_64": "39",
487486
"osx-universal2": "39",
488487
},
489488
# LINT.ThenChange(:python_tag)

0 commit comments

Comments
 (0)