Skip to content

Commit

Permalink
deps: disable avx512 for simutf on benchmark ci
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
2 people authored and nodejs-github-bot committed Dec 22, 2022
1 parent 2ef13b8 commit 09f33c9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions deps/simdutf/simdutf.gyp
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
'variables': {
'gas_version%': '0.0',
'nasm_version%': '0.0',
'llvm_version%': '0.0',
},
'targets': [
{
'target_name': 'simdutf',
Expand All @@ -8,6 +13,16 @@
'include_dirs': ['.'],
},
'sources': ['simdutf.cpp'],
'conditions': [
['OS=="linux"', {
'conditions': [
# TODO(anonrig): Remove this validation when benchmark CI has binutils >= 2.30
['v(gas_version) < v("2.30") and v(nasm_version) < v("2.14") and v(llvm_version) < v("6.0")', {
'defines': ['SIMDUTF_IMPLEMENTATION_ICELAKE=0'],
}],
],
}],
],
},
]
}

0 comments on commit 09f33c9

Please sign in to comment.