From 031c2f1722f9af10299de3d22ff3c1467d541241 Mon Sep 17 00:00:00 2001 From: "Ivan A. Melnikov" Date: Thu, 10 Apr 2025 17:09:19 +0400 Subject: Basic loongarch64 support Just wire things up to make the project buildable on LoongArch64. opensslconf.h is taken form riscv64 folder as is, and is the same as on some other 64 bit architectures. Refs: https://github.com/libressl/portable/issues/1123 Signed-off-by: Ivan A. Melnikov --- tests/CMakeLists.txt | 2 ++ tests/Makefile.am | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8d6fa9d..f38486c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -30,6 +30,8 @@ elseif(HOST_I386) include_directories(../crypto/arch/i386/) elseif(HOST_MIPS64) include_directories(../crypto/arch/mips64) +elseif(HOST_LOONGARCH64) + include_directories(../crypto/arch/loongarch64) elseif(HOST_MIPS) # XXX - can this go away? the directory doesn't exist... elseif(HOST_POWERPC) diff --git a/tests/Makefile.am b/tests/Makefile.am index 8153fc9..217f445 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -36,6 +36,10 @@ if HOST_I386 AM_CPPFLAGS += -I$(top_srcdir)/crypto/arch/i386/ endif +if HOST_LOONGARCH64 +AM_CPPFLAGS += -I$(top_srcdir)/crypto/arch/loongarch64/ +endif + # XXX - do we still need this? if HOST_MIPS endif -- cgit v1.2.3-55-g6feb