z572 pushed a commit to branch master
in repository guix.

commit 151128b6286d8f66201dbabfb44f0c287da25585
Author: Zheng Junjie <[email protected]>
AuthorDate: Tue Dec 24 01:12:14 2024 +0800

    gnu: openssl: Support loongarch64.
    
    * gnu/packages/tls.scm (target->openssl-target, target->openssl-target): Add
    loongarch64 case.
    
    Change-Id: Ie85b4e1f39650f6134c9b5c4c81e0d5f83068558
---
 gnu/packages/tls.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 3d9951b59b..01997c6b73 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -398,7 +398,8 @@ OpenSSL for TARGET."
              (cond ((target-hurd? target)
                     "hurd")
                    ((and (target-linux? target)
-                         (target-riscv64? target))
+                         (or (target-riscv64? target)
+                             (target-loongarch64? target)))
                     "linux64")
                    ((target-linux? target)
                     "linux")
@@ -428,6 +429,8 @@ OpenSSL for TARGET."
               ((and (target-powerpc? target)
                     (target-64bit? target))
                "ppc64")
+              ((target-loongarch64? target)
+               "loongarch64")
               ((target-riscv64? target)
                "riscv64")
               ((target-64bit? target)

Reply via email to