diff options
author | YalingFang <fangyaling@loongson.cn> | 2024-01-05 08:14:12 +0000 |
---|---|---|
committer | YalingFang <fangyaling@loongson.cn> | 2024-01-05 08:14:12 +0000 |
commit | 88d074c0e0a27c1655362f3cd894bf436148ee83 (patch) | |
tree | b7e7233509c0ebb273d0ac8b28e6a2aa34b9d539 /contrib/depends | |
parent | Merge pull request #9050 (diff) | |
download | monero-88d074c0e0a27c1655362f3cd894bf436148ee83.tar.xz |
Add support for Loongarch
Diffstat (limited to 'contrib/depends')
-rw-r--r-- | contrib/depends/packages/openssl.mk | 1 | ||||
-rw-r--r-- | contrib/depends/toolchain.cmake.in | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/contrib/depends/packages/openssl.mk b/contrib/depends/packages/openssl.mk index b35cf5e97..b124054d9 100644 --- a/contrib/depends/packages/openssl.mk +++ b/contrib/depends/packages/openssl.mk @@ -38,6 +38,7 @@ $(package)_config_opts_arm_android=--static android-arm $(package)_config_opts_aarch64_android=--static android-arm64 $(package)_config_opts_aarch64_darwin=darwin64-arm64-cc $(package)_config_opts_riscv64_linux=linux-generic64 +$(package)_config_opts_loongarch64_linux=linux-generic64 $(package)_config_opts_mipsel_linux=linux-generic32 $(package)_config_opts_mips_linux=linux-generic32 $(package)_config_opts_powerpc_linux=linux-generic32 diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in index 6fe4618ae..d8c7dc926 100644 --- a/contrib/depends/toolchain.cmake.in +++ b/contrib/depends/toolchain.cmake.in @@ -144,6 +144,10 @@ if(ARCHITECTURE STREQUAL "riscv64") set(ARCH_ID "riscv64") set(ARCH "rv64gc") endif() +if(ARCHITECTURE STREQUAL "loongarch64") + set(ARCH_ID "loongarch64") + set(ARCH "loongarch") +endif() if(ARCHITECTURE STREQUAL "i686") SET(ARCH_ID "i386") |