mirror of
https://github.com/wownero/wownero.git
synced 2026-10-24 02:48:34 +02:00
guix: add initial loongarch64 support
This commit is contained in:
@@ -9,3 +9,4 @@ mips*
|
||||
arm*
|
||||
aarch64*
|
||||
riscv64*
|
||||
loongarch64*
|
||||
|
||||
@@ -163,7 +163,7 @@ if(ARCHITECTURE STREQUAL "riscv64")
|
||||
endif()
|
||||
if(ARCHITECTURE STREQUAL "loongarch64")
|
||||
set(ARCH_ID "loongarch64")
|
||||
set(ARCH "loongarch")
|
||||
set(ARCH "loongarch64")
|
||||
endif()
|
||||
|
||||
if(ARCHITECTURE STREQUAL "i686")
|
||||
|
||||
@@ -199,6 +199,7 @@ case "$HOST" in
|
||||
aarch64-linux-gnu) echo /lib/ld-linux-aarch64.so.1 ;;
|
||||
riscv64-linux-gnu) echo /lib/ld-linux-riscv64-lp64d.so.1 ;;
|
||||
i686-linux-gnu) echo /lib/ld-linux.so.2 ;;
|
||||
loongarch64-linux-gnu) echo /lib64/ld-linux-loongarch-lp64d.so.1 ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
)
|
||||
|
||||
@@ -276,7 +276,9 @@ chain for " target " development."))
|
||||
(list
|
||||
gcc-toolchain-14
|
||||
(list gcc-toolchain-14 "static")
|
||||
(make-monero-cross-toolchain target)))
|
||||
(if (string-contains target "loongarch64")
|
||||
(make-monero-cross-toolchain target #:base-libc glibc)
|
||||
(make-monero-cross-toolchain target))))
|
||||
((string-contains target "freebsd")
|
||||
(list
|
||||
xz ; used to unpack freebsd_base
|
||||
|
||||
Reference in New Issue
Block a user