public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lua] rawhide: Add loongarch64 support.
@ 2026-06-16 2:37 Sun Haiyong
0 siblings, 0 replies; only message in thread
From: Sun Haiyong @ 2026-06-16 2:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/lua
Branch : rawhide
Commit : e658e44a5ef9c611b9f4d006599a792874ab6555
Author : Sun Haiyong <sunhaiyong@zdbr.net>
Date : 2026-06-16T10:10:00+08:00
Stats : +6/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/lua/c/e658e44a5ef9c611b9f4d006599a792874ab6555?branch=rawhide
Log:
Add loongarch64 support.
Update luaconf.h, add detection for loongarch64.
---
diff --git a/lua.spec b/lua.spec
index 347c4c2..2802283 100644
--- a/lua.spec
+++ b/lua.spec
@@ -14,7 +14,7 @@
Name: lua
Version: %{major_version}.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Powerful light-weight programming language
License: MIT
URL: https://www.lua.org/
@@ -230,6 +230,9 @@ popd
%{_libdir}/*.a
%changelog
+* Tue Jun 16 2026 Sun Haiyong <sunhaiyong@zdbr.net> - 5.5.0-2
+- modify luaconf.h to add detection for loongarch64.
+
* Tue Feb 10 2026 Tom Callaway <spot@fedoraproject.org> - 5.5.0-1
- update to 5.5.0
- make lua5.4-libs as a compat bootstrap
diff --git a/luaconf.h b/luaconf.h
index 2b10184..9a0519a 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -54,6 +54,8 @@
#include "luaconf-mips.h"
#elif defined(__riscv)
#include "luaconf-riscv64.h"
+#elif defined(__loongarch_lp64)
+#include "luaconf-loongarch64.h"
#else
#error "The lua-devel package is not usable with the architecture."
#endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-16 2:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-16 2:37 [rpms/lua] rawhide: Add loongarch64 support Sun Haiyong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox