mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 21:19:50 +01:00
build: disable openssl asm on arm64 for now
There is reason to believe the generated assembly isn't working correctly so let's disable it for now pending further investigation. PR-URL: https://github.com/nodejs/node/pull/24270 Refs: https://github.com/nodejs/node/issues/23913 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
a8847aa5e0
commit
4684de6423
@ -27,7 +27,6 @@
|
||||
|
||||
'clang%': 0,
|
||||
|
||||
'openssl_no_asm%': 0,
|
||||
'openssl_fips%': '',
|
||||
|
||||
# Reset this number to 0 on major V8 upgrades.
|
||||
@ -52,6 +51,12 @@
|
||||
'icu_use_data_file_flag%': 0,
|
||||
|
||||
'conditions': [
|
||||
['target_arch=="arm64"', {
|
||||
# Disabled pending https://github.com/nodejs/node/issues/23913.
|
||||
'openssl_no_asm%': 1,
|
||||
}, {
|
||||
'openssl_no_asm%': 0,
|
||||
}],
|
||||
['GENERATOR=="ninja"', {
|
||||
'obj_dir': '<(PRODUCT_DIR)/obj',
|
||||
'conditions': [
|
||||
|
@ -1183,9 +1183,11 @@ def configure_openssl(o):
|
||||
variables = o['variables']
|
||||
variables['node_use_openssl'] = b(not options.without_ssl)
|
||||
variables['node_shared_openssl'] = b(options.shared_openssl)
|
||||
variables['openssl_no_asm'] = 1 if options.openssl_no_asm else 0
|
||||
variables['openssl_fips'] = ''
|
||||
|
||||
if options.openssl_no_asm:
|
||||
variables['openssl_no_asm'] = 1
|
||||
|
||||
if options.without_ssl:
|
||||
def without_ssl_error(option):
|
||||
error('--without-ssl is incompatible with %s' % option)
|
||||
|
3
deps/openssl/openssl.gyp
vendored
3
deps/openssl/openssl.gyp
vendored
@ -1,7 +1,4 @@
|
||||
{
|
||||
'variables': {
|
||||
'openssl_no_asm%': 0,
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'openssl',
|
||||
|
Loading…
Reference in New Issue
Block a user