-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
automerged PR by conda-forge/automerge-action
- Loading branch information
Showing
3 changed files
with
57 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
recipe/patches/0008-Add-osx-64-and-linux-ppc64le-as-supported-wheel-tags.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
From 446f350a015b9d8b539a0092e6cac2ded5c2ff6b Mon Sep 17 00:00:00 2001 | ||
From: Uwe Korn <[email protected]> | ||
Date: Mon, 23 Sep 2024 11:59:53 +0000 | ||
Subject: [PATCH] Add osx-64 and linux-ppc64le as supported wheel tags | ||
|
||
--- | ||
python/dist/BUILD.bazel | 22 ++++++++++++++++++++++ | ||
1 file changed, 22 insertions(+) | ||
|
||
diff --git a/python/dist/BUILD.bazel b/python/dist/BUILD.bazel | ||
index 457302c..edcedd3 100644 | ||
--- a/python/dist/BUILD.bazel | ||
+++ b/python/dist/BUILD.bazel | ||
@@ -65,6 +65,25 @@ config_setting( | ||
}, | ||
) | ||
|
||
+config_setting( | ||
+ name = "linux_ppc64le_release", | ||
+ flag_values = { | ||
+ "//toolchain:release": "True", | ||
+ }, | ||
+ values = {"cpu": "linux-ppc64le"}, | ||
+) | ||
+ | ||
+config_setting( | ||
+ name = "linux_ppc64le_local", | ||
+ constraint_values = [ | ||
+ "@platforms//os:linux", | ||
+ "@platforms//cpu:ppc64le", | ||
+ ], | ||
+ flag_values = { | ||
+ "//toolchain:release": "False", | ||
+ }, | ||
+) | ||
+ | ||
config_setting( | ||
name = "linux_x86_64_release", | ||
flag_values = { | ||
@@ -325,9 +344,12 @@ py_wheel( | ||
platform = select({ | ||
":linux_x86_64_local": "linux_x86_64", | ||
":linux_x86_64_release": "manylinux2014_x86_64", | ||
+ ":linux_ppc64le_local": "linux_ppc64le", | ||
+ ":linux_ppc64le_release": "manylinux2014_ppc64le", | ||
":linux_aarch64_local": "linux_aarch64", | ||
":linux_aarch64_release": "manylinux2014_aarch64", | ||
":osx_universal2": "macosx_10_9_universal2", | ||
+ ":osx_x86_64": "macosx_10_13_x86_64", | ||
":osx_aarch64": "macosx_11_0_arm64", | ||
":windows_x86_32": "win32", | ||
":windows_x86_64": "win_amd64", |