diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch b/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch index d952aed00c..18d7f3f84e 100644 --- a/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch +++ b/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch | |||
| @@ -1,7 +1,11 @@ | |||
| 1 | This regex decides whether to use O3 opimisation on numpy or not. | 1 | From cde931f4380745b9818b55d7b06a43d347518967 Mon Sep 17 00:00:00 2001 |
| 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
| 3 | Date: Fri, 29 Sep 2023 22:53:24 +0100 | ||
| 4 | Subject: [PATCH] This regex decides whether to use O3 opimisation on numpy or | ||
| 5 | not. | ||
| 2 | 6 | ||
| 3 | It includes "od", which happens to be a substring of "reproducible" | 7 | It includes "od", which happens to be a substring of "reproducible" |
| 4 | but not "qemux86-world". | 8 | but not "qemux86-world". |
| 5 | 9 | ||
| 6 | The regex will run against all compiler options including things like: | 10 | The regex will run against all compiler options including things like: |
| 7 | 11 | ||
| @@ -17,12 +21,15 @@ reproducible target ran first and won the race to populate sstate. | |||
| 17 | 21 | ||
| 18 | Upstream-Status: Inappropriate [upstream have dropped distutils and switched to meson] | 22 | Upstream-Status: Inappropriate [upstream have dropped distutils and switched to meson] |
| 19 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | 23 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
| 20 | 24 | --- | |
| 21 | Index: numpy-1.26.0/numpy/distutils/ccompiler_opt.py | 25 | numpy/distutils/ccompiler_opt.py | 2 +- |
| 22 | =================================================================== | 26 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 23 | --- numpy-1.26.0.orig/numpy/distutils/ccompiler_opt.py | 27 | |
| 24 | +++ numpy-1.26.0/numpy/distutils/ccompiler_opt.py | 28 | diff --git a/numpy/distutils/ccompiler_opt.py b/numpy/distutils/ccompiler_opt.py |
| 25 | @@ -990,7 +990,7 @@ class _CCompiler: | 29 | index b1a6fa3..7b0302b 100644 |
| 30 | --- a/numpy/distutils/ccompiler_opt.py | ||
| 31 | +++ b/numpy/distutils/ccompiler_opt.py | ||
| 32 | @@ -991,7 +991,7 @@ def __init__(self): | ||
| 26 | ("cc_is_nocc", "", ""), | 33 | ("cc_is_nocc", "", ""), |
| 27 | ) | 34 | ) |
| 28 | detect_args = ( | 35 | detect_args = ( |
