Skip to content

Commit 64d3e3f

Browse files
anonriglemire
authored andcommitted
deps: disable avx512 for simutf on benchmark ci
Co-authored-by: Daniel Lemire <daniel@lemire.me> PR-URL: #45803 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent f1dcbe7 commit 64d3e3f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

deps/simdutf/simdutf.gyp

+15
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
2+
'variables': {
3+
'gas_version%': '0.0',
4+
'nasm_version%': '0.0',
5+
'llvm_version%': '0.0',
6+
},
27
'targets': [
38
{
49
'target_name': 'simdutf',
@@ -8,6 +13,16 @@
813
'include_dirs': ['.'],
914
},
1015
'sources': ['simdutf.cpp'],
16+
'conditions': [
17+
['OS=="linux"', {
18+
'conditions': [
19+
# TODO(anonrig): Remove this validation when benchmark CI has binutils >= 2.30
20+
['v(gas_version) < v("2.30") and v(nasm_version) < v("2.14") and v(llvm_version) < v("6.0")', {
21+
'defines': ['SIMDUTF_IMPLEMENTATION_ICELAKE=0'],
22+
}],
23+
],
24+
}],
25+
],
1126
},
1227
]
1328
}

0 commit comments

Comments
 (0)