mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 11:36:57 +00:00

This adds ARM64 Windows support in the OpenSSL build system. Since OpenSSL's ARM64 Windows support does not have support for ASM-- that is, VC-WIN64-ARM inherits from VC-noCE-common which has no ASM files--`openssl_no_asm.gypi` is always used for building. This essentially forces the 'no-asm' Configure flag. PR-URL: https://github.com/nodejs/node/pull/26001 Fixes: https://github.com/nodejs/node/issues/25998 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
50 lines
2.5 KiB
Python
50 lines
2.5 KiB
Python
{
|
|
'conditions': [
|
|
['target_arch=="ppc" and OS=="aix"', {
|
|
'includes': ['config/archs/aix-gcc/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="ppc" and OS=="linux"', {
|
|
'includes': ['config/archs/linux-ppc/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="ppc64" and OS=="aix"', {
|
|
'includes': ['config/archs/aix64-gcc/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', {
|
|
'includes': ['config/archs/linux-ppc64le/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="ppc64" and OS=="linux"', {
|
|
'includes': ['config/archs/linux-ppc64/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="s390" and OS=="linux"', {
|
|
'includes': ['config/archs/linux32-s390x/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="s390x" and OS=="linux"', {
|
|
'includes': ['config/archs/linux64-s390x/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="arm" and OS=="linux"', {
|
|
'includes': ['config/archs/linux-armv4/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="arm64" and OS=="linux"', {
|
|
'includes': ['config/archs/linux-aarch64/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="arm64" and OS=="win"', {
|
|
'includes': ['config/archs/VC-WIN64-ARM/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="ia32" and OS=="linux"', {
|
|
'includes': ['config/archs/linux-elf/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="ia32" and OS=="mac"', {
|
|
'includes': ['config/archs/darwin-i386-cc/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="ia32" and OS=="solaris"', {
|
|
'includes': ['config/archs/solaris-x86-gcc/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="ia32" and OS=="win"', {
|
|
'includes': ['config/archs/VC-WIN32/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="ia32"', {
|
|
# noasm linux-elf for other ia32 platforms
|
|
'includes': ['config/archs/linux-elf/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="x64" and OS=="freebsd"', {
|
|
'includes': ['config/archs/BSD-x86_64/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="x64" and OS=="mac"', {
|
|
'includes': ['config/archs/darwin64-x86_64-cc/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="x64" and OS=="solaris"', {
|
|
'includes': ['config/archs/solaris64-x86_64-gcc/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="x64" and OS=="win"', {
|
|
'includes': ['config/archs/VC-WIN64A/no-asm/openssl-cl.gypi'],
|
|
}, 'target_arch=="x64" and OS=="linux"', {
|
|
'includes': ['config/archs/linux-x86_64/no-asm/openssl-cl.gypi'],
|
|
}, {
|
|
# Other architectures don't use assembly
|
|
'includes': ['config/archs/linux-x86_64/no-asm/openssl-cl.gypi'],
|
|
}],
|
|
],
|
|
}
|