mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
python3-numpy: update 1.22.3 -> 1.22.4
(From OE-Core rev: 6d87caa86df3109b8f45d287094281b02c7c0ac0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d49db48d35
commit
32e2e1b411
@@ -0,0 +1,28 @@
|
||||
From 3c7deaa3a961a0f3ce4ff108468e3d70118f17b3 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Thu, 9 Jun 2022 17:23:42 +0200
|
||||
Subject: [PATCH] generate_umath.py: do not write full path to output files
|
||||
|
||||
This helps reproducibility as those paths vary in automated
|
||||
build environments.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/numpy/numpy/pull/21707]
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
|
||||
---
|
||||
numpy/core/code_generators/generate_umath.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/numpy/core/code_generators/generate_umath.py b/numpy/core/code_generators/generate_umath.py
|
||||
index 292d9e0..df37941 100644
|
||||
--- a/numpy/core/code_generators/generate_umath.py
|
||||
+++ b/numpy/core/code_generators/generate_umath.py
|
||||
@@ -1233,7 +1233,7 @@ def make_code(funcdict, filename):
|
||||
|
||||
return 0;
|
||||
}
|
||||
- """) % (filename, code1, code2, code3)
|
||||
+ """) % (os.path.basename(filename), code1, code2, code3)
|
||||
return code
|
||||
|
||||
|
||||
Reference in New Issue
Block a user