File: 0009-Fix-random-object-filenames-for-reproducibility.patch

package info (click to toggle)
numpy 1%3A2.2.4%2Bds-1.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 83,420 kB
  • sloc: python: 248,499; asm: 232,365; ansic: 216,874; cpp: 135,657; f90: 1,540; sh: 938; fortran: 558; makefile: 414; sed: 139; xml: 109; java: 92; perl: 79; cs: 54; javascript: 53; objc: 29; lex: 13; yacc: 9
file content (40 lines) | stat: -rw-r--r-- 1,142 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Thu, 6 Mar 2025 15:32:56 +0100
Subject: Fix random object filenames for reproducibility

---
 numpy/_core/meson.build | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/numpy/_core/meson.build b/numpy/_core/meson.build
index 6b6fbd3..7a5fc20 100644
--- a/numpy/_core/meson.build
+++ b/numpy/_core/meson.build
@@ -1181,7 +1181,7 @@ if CPU_FEATURES_NAMES.contains('AVX512_SPR')
   svml_file_suffix += ['h_la']
 endif
 
-svml_objects = []
+svml_sources = []
 if use_svml
   foreach svml_func : [
     'acos', 'acosh', 'asin',
@@ -1196,7 +1196,7 @@ if use_svml
     'tanh'
   ]
     foreach svml_sfx : svml_file_suffix
-      svml_objects += [
+      svml_sources += [
         'src/umath/svml/linux/avx512/svml_z0_'+svml_func+'_'+svml_sfx+'.s'
       ]
     endforeach
@@ -1214,8 +1214,8 @@ py.extension_module('_multiarray_umath',
     src_numpy_api[1],  # __multiarray_api.h
     src_umath_doc_h,
     npy_math_internal_h,
+    svml_sources,
   ],
-  objects: svml_objects,
   c_args: c_args_common,
   cpp_args: cpp_args_common,
   include_directories: [