aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIvan A. Melnikov <iv@altlinux.org>2025-04-10 17:09:19 +0400
committerIvan A. Melnikov <iv@altlinux.org>2025-04-10 17:22:36 +0400
commit031c2f1722f9af10299de3d22ff3c1467d541241 (patch)
tree133fe82cb89fb529da105e88ae2bc9dd1a289c37 /tests
parent16db162e6c571138f0bb2f87bf225ba46baef1bb (diff)
downloadportable-031c2f1722f9af10299de3d22ff3c1467d541241.tar.gz
portable-031c2f1722f9af10299de3d22ff3c1467d541241.tar.bz2
portable-031c2f1722f9af10299de3d22ff3c1467d541241.zip
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 <iv@altlinux.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt2
-rw-r--r--tests/Makefile.am4
2 files changed, 6 insertions, 0 deletions
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)
30 include_directories(../crypto/arch/i386/) 30 include_directories(../crypto/arch/i386/)
31elseif(HOST_MIPS64) 31elseif(HOST_MIPS64)
32 include_directories(../crypto/arch/mips64) 32 include_directories(../crypto/arch/mips64)
33elseif(HOST_LOONGARCH64)
34 include_directories(../crypto/arch/loongarch64)
33elseif(HOST_MIPS) 35elseif(HOST_MIPS)
34 # XXX - can this go away? the directory doesn't exist... 36 # XXX - can this go away? the directory doesn't exist...
35elseif(HOST_POWERPC) 37elseif(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
36AM_CPPFLAGS += -I$(top_srcdir)/crypto/arch/i386/ 36AM_CPPFLAGS += -I$(top_srcdir)/crypto/arch/i386/
37endif 37endif
38 38
39if HOST_LOONGARCH64
40AM_CPPFLAGS += -I$(top_srcdir)/crypto/arch/loongarch64/
41endif
42
39# XXX - do we still need this? 43# XXX - do we still need this?
40if HOST_MIPS 44if HOST_MIPS
41endif 45endif