lua-language-server: update to 3.6.3.

This commit is contained in:
icp 2022-11-09 18:33:54 +05:30 committed by classabbyamp
parent ea1d9f44dc
commit 5a365bdb55
2 changed files with 2 additions and 34 deletions

View File

@ -1,32 +0,0 @@
commit a384b9814f0d1c0072d557c96df5b73831d25325
Author: q66 <daniel@octaforge.org>
Date: Sun Sep 25 13:46:41 2022 +0000
fix build on ppc*
diff --git a/3rd/luamake/3rd/bee.lua/bee/thread/spinlock.h b/3rd/luamake/3rd/bee.lua/bee/thread/spinlock.h
index ad0cf4e..ac77d14 100644
--- a/3rd/luamake/3rd/bee.lua/bee/thread/spinlock.h
+++ b/3rd/luamake/3rd/bee.lua/bee/thread/spinlock.h
@@ -18,6 +18,8 @@
asm volatile ("div %0, %0, zero" : "=r" (dummy));
asm volatile ("" ::: "memory");
}}
+#elif defined(__powerpc__)
+ namespace bee { inline void cpu_relax() { asm volatile("ori 0,0,0" ::: "memory"); }}
#else
#error unsupport platform
#endif
diff --git a/luamake/3rd/bee.lua/bee/thread/spinlock.h b/luamake/3rd/bee.lua/bee/thread/spinlock.h
index ad0cf4e..ac77d14 100644
--- a/luamake/3rd/bee.lua/bee/thread/spinlock.h
+++ b/luamake/3rd/bee.lua/bee/thread/spinlock.h
@@ -18,6 +18,8 @@
asm volatile ("div %0, %0, zero" : "=r" (dummy));
asm volatile ("" ::: "memory");
}}
+#elif defined(__powerpc__)
+ namespace bee { inline void cpu_relax() { asm volatile("ori 0,0,0" ::: "memory"); }}
#else
#error unsupport platform
#endif

View File

@ -1,6 +1,6 @@
# Template file for 'lua-language-server'
pkgname=lua-language-server
version=3.5.6
version=3.6.3
revision=1
create_wrksrc=yes
hostmakedepends="ninja"
@ -10,7 +10,7 @@ license="MIT"
homepage="https://github.com/sumneko/lua-language-server"
changelog="https://raw.githubusercontent.com/sumneko/lua-language-server/master/changelog.md"
distfiles="https://github.com/sumneko/lua-language-server/releases/download/${version}/lua-language-server-${version}-submodules.zip"
checksum=e93879645e8fd7de8b434f8db4825e29960806805f1612f34765a359251e1059
checksum=64615e10df74b5d8f3b785290c11c1f3fa1456fa8a3432171a8b686fc1f4fa21
do_build() {
ninja -C 3rd/luamake -f compile/ninja/linux.ninja