Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0beab65

Browse files
seiko2plusrgommers
authored andcommitted
Bybass sort validation for _simd module
1 parent 7ec6933 commit 0beab65

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

numpy/core/meson.build

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,13 +1174,17 @@ mtargets_res = mod_features.multi_targets(
11741174
src_file.process('src/_simd/_simd_data.inc.src'),
11751175
src_file.process('src/_simd/_simd.dispatch.c.src'),
11761176
],
1177+
# Skip validating the sort of `_simd_dispatch` because we execute all these features,
1178+
# not just the highest interest one. The sorting doesn't matter here,
1179+
# given the nature of this testing unit.
1180+
keep_sort: true,
11771181
dispatch: _simd_dispatch,
11781182
baseline: _simd_baseline,
11791183
prefix: 'NPY_',
11801184
dependencies: [py_dep, np_core_dep],
11811185
include_directories: ['src/_simd', 'src/npymath'],
11821186
c_args: c_args_common,
1183-
cpp_args: cpp_args_common
1187+
cpp_args: cpp_args_common,
11841188
)
11851189
CPU_MTARGETS_LOG += {'_simd.dispatch.h': mtargets_res[0]}
11861190

0 commit comments

Comments
 (0)