diff options
author | Ivan A. Melnikov <iv@altlinux.org> | 2025-04-10 17:09:19 +0400 |
---|---|---|
committer | Ivan A. Melnikov <iv@altlinux.org> | 2025-04-10 17:22:36 +0400 |
commit | 031c2f1722f9af10299de3d22ff3c1467d541241 (patch) | |
tree | 133fe82cb89fb529da105e88ae2bc9dd1a289c37 /tests | |
parent | 16db162e6c571138f0bb2f87bf225ba46baef1bb (diff) | |
download | portable-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.txt | 2 | ||||
-rw-r--r-- | tests/Makefile.am | 4 |
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/) |
31 | elseif(HOST_MIPS64) | 31 | elseif(HOST_MIPS64) |
32 | include_directories(../crypto/arch/mips64) | 32 | include_directories(../crypto/arch/mips64) |
33 | elseif(HOST_LOONGARCH64) | ||
34 | include_directories(../crypto/arch/loongarch64) | ||
33 | elseif(HOST_MIPS) | 35 | elseif(HOST_MIPS) |
34 | # XXX - can this go away? the directory doesn't exist... | 36 | # XXX - can this go away? the directory doesn't exist... |
35 | elseif(HOST_POWERPC) | 37 | 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 | |||
36 | AM_CPPFLAGS += -I$(top_srcdir)/crypto/arch/i386/ | 36 | AM_CPPFLAGS += -I$(top_srcdir)/crypto/arch/i386/ |
37 | endif | 37 | endif |
38 | 38 | ||
39 | if HOST_LOONGARCH64 | ||
40 | AM_CPPFLAGS += -I$(top_srcdir)/crypto/arch/loongarch64/ | ||
41 | endif | ||
42 | |||
39 | # XXX - do we still need this? | 43 | # XXX - do we still need this? |
40 | if HOST_MIPS | 44 | if HOST_MIPS |
41 | endif | 45 | endif |