mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
python3-numpy: update 1.22.1 -> 1.22.2
Replace an ad hoc fix via patch with an upstream one. (From OE-Core rev: 991f8617b9ca9680b3f81cb215e3b39095260e7c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a39d3f2ed7
commit
81cfa7d0e0
@@ -1,29 +0,0 @@
|
||||
From 0f0601e79f9ce7614d157284523e6cd8af2259d5 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Wed, 5 Jan 2022 12:12:47 +0100
|
||||
Subject: [PATCH] numpy/core/setup.py: disable svml for now
|
||||
|
||||
The check really doesn't work in cross compiling,
|
||||
as it is using host python to see what arch we're
|
||||
building on. Issue reported upstream:
|
||||
https://github.com/numpy/numpy/issues/20736
|
||||
|
||||
Upstream-Status: Inappropriate [needs upstream fix]
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
---
|
||||
numpy/core/setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
|
||||
index a5f423d..945f2dd 100644
|
||||
--- a/numpy/core/setup.py
|
||||
+++ b/numpy/core/setup.py
|
||||
@@ -70,7 +70,7 @@ def can_link_svml():
|
||||
"""
|
||||
machine = platform.machine()
|
||||
system = platform.system()
|
||||
- return "x86_64" in machine and system == "Linux"
|
||||
+ return False
|
||||
|
||||
def check_svml_submodule(svmlpath):
|
||||
if not os.path.exists(svmlpath + "/README.md"):
|
||||
Reference in New Issue
Block a user