deps: add loong64 config into openssl gypi

PR-URL: https://github.com/nodejs/node/pull/48043
Reviewed-By: Michael Dawson <midawson@redhat.com>
pull/48606/head
Shi Pujin 2023-06-09 09:14:08 +08:00 committed by Michael Dawson
parent 3dc2b6e7a4
commit 9664e66902
31 changed files with 62 additions and 0 deletions

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/asn1.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/asn1.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/asn1.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/asn1.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/asn1t.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/asn1t.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/asn1t.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/asn1t.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/bio.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/bio.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/bio.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/bio.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/crypto/bn_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/crypto/bn_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/crypto/bn_conf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/crypto/bn_conf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/cmp.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/cmp.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/cmp.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/cmp.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/cms.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/cms.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/cms.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/cms.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/conf.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/conf.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/conf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/conf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/configuration.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/configuration.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/configuration.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/configuration.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/crmf.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/crmf.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/crmf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/crmf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/crypto.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/crypto.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/crypto.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/crypto.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/ct.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/ct.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/ct.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/ct.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/crypto/dso_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/crypto/dso_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/crypto/dso_conf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/crypto/dso_conf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/err.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/err.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/err.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/err.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/ess.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/ess.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/ess.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/ess.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/fipskey.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/fipskey.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/fipskey.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/fipskey.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/%%-$asmdir-%%/include/%%-$incdir-%%/%%-$name-%%.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/%%-$asmdir-%%/include/%%-$incdir-%%/%%-$name-%%.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/%%-$asmdir-%%/include/%%-$incdir-%%/%%-$name-%%.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/%%-$asmdir-%%/include/%%-$incdir-%%/%%-$name-%%.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/lhash.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/lhash.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/lhash.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/lhash.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/ocsp.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/ocsp.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/ocsp.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/ocsp.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/opensslv.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/opensslv.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/pkcs12.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/pkcs12.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/pkcs12.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/pkcs12.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/pkcs7.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/pkcs7.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/pkcs7.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/pkcs7.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/safestack.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/safestack.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/safestack.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/safestack.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/srp.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/srp.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/srp.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/srp.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/ssl.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/ssl.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/ssl.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/ssl.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/ui.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/ui.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/ui.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/ui.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/x509.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/x509.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/x509.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/x509.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/x509_vfy.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/x509_vfy.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/x509_vfy.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/x509_vfy.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -13,6 +13,8 @@
# include "./archs/linux-armv4/no-asm/include/openssl/x509v3.h"
#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/include/openssl/x509v3.h"
#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
# include "./archs/linux64-loongarch64/no-asm/include/openssl/x509v3.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/include/openssl/x509v3.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)

View File

@ -41,6 +41,8 @@
'includes': ['config/archs/linux64-mips64/no-asm/openssl-cl.gypi'],
}, 'target_arch=="riscv64" and OS=="linux"', {
'includes': ['config/archs/linux64-riscv64/no-asm/openssl-cl.gypi'],
}, 'target_arch=="loong64" and OS=="linux"', {
'includes': ['config/archs/linux64-loongarch64/no-asm/openssl-cl.gypi'],
}, {
# Other architectures don't use assembly
'includes': ['config/archs/linux-x86_64/no-asm/openssl-cl.gypi'],

View File

@ -42,6 +42,8 @@
'includes': ['config/archs/linux64-mips64/no-asm/openssl-fips.gypi'],
}, 'target_arch=="riscv64" and OS=="linux"', {
'includes': ['config/archs/linux64-riscv64/no-asm/openssl-fips.gypi'],
}, 'target_arch=="loong64" and OS=="linux"', {
'includes': ['config/archs/linux64-loongarch64/no-asm/openssl-fips.gypi'],
}, {
# Other architectures don't use assembly
'includes': ['config/archs/linux-x86_64/no-asm/openssl-fips.gypi'],

View File

@ -42,6 +42,8 @@
'includes': ['config/archs/linux64-mips64/no-asm/openssl.gypi'],
}, 'target_arch=="riscv64" and OS=="linux"', {
'includes': ['config/archs/linux64-riscv64/no-asm/openssl.gypi'],
}, 'target_arch=="loong64" and OS=="linux"', {
'includes': ['config/archs/linux64-loongarch64/no-asm/openssl.gypi'],
}, {
# Other architectures don't use assembly
'includes': ['config/archs/linux-x86_64/no-asm/openssl.gypi'],