Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37556302
en ru br
Репозитории ALT

Группа :: Разработка/Прочее
Пакет: moarvm

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: moarvm-2016.10-alt1.patch
Скачать


 .gear/rules                                        |   4 +
 .../tags/af46957bff701b365761fcd7ba28c62b77aab701  |   6 ++
 .gear/tags/list                                    |   3 +
 build/setup.pm                                     |   2 +-
 moarvm.spec                                        | 108 +++++++++++++++++++++
 5 files changed, 122 insertions(+), 1 deletion(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..d8773c6
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,4 @@
+tar: @version@:.
+diff: @version@:. .
+tar: dynasm:. name=dynasm
+tar: dyncall:. name=dyncall
diff --git a/.gear/tags/af46957bff701b365761fcd7ba28c62b77aab701 b/.gear/tags/af46957bff701b365761fcd7ba28c62b77aab701
new file mode 100644
index 0000000..b674be4
--- /dev/null
+++ b/.gear/tags/af46957bff701b365761fcd7ba28c62b77aab701
@@ -0,0 +1,6 @@
+object ab6541e2dff3c2bf8485653d85dc5e944f5474d1
+type commit
+tag 2016.10
+tagger Jonathan Worthington <jnthn@jnthn.net> 1476567011 +0200
+
+2016.10 release
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..f3e8b9b
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1,3 @@
+12ace5e3a50238f69a3616e65b3e9ca188c41ac5 dynasm
+1dabd7c2fd438920502c85eaf9ca4212d722c4b5 dyncall
+af46957bff701b365761fcd7ba28c62b77aab701 2016.10
diff --git a/build/setup.pm b/build/setup.pm
index 1a0e158..057e195 100755
--- a/build/setup.pm
+++ b/build/setup.pm
@@ -125,7 +125,7 @@ our %TC_POSIX = (
     ccshared   => '-fPIC',
     ldshared   => '-shared @ccshared@',
     moarshared => '',
-    ldrpath    => '-Wl,-rpath,"/@libdir@" -Wl,-rpath,"@prefix@/share/perl6/site/lib"',
+    ldrpath    => '',
 
     arflags => 'rcs',
     arout   => '',
diff --git a/moarvm.spec b/moarvm.spec
new file mode 100644
index 0000000..2388f44
--- /dev/null
+++ b/moarvm.spec
@@ -0,0 +1,108 @@
+Name: moarvm
+Version: 2016.10
+Release: alt1
+Summary: 6model-based VM for NQP and Rakudo Perl 6
+
+Group: Development/Other
+License: Artistic 2
+URL: http://moarvm.org
+
+# Cloned from https://github.com/MoarVM/MoarVM
+Source: %name-%version.tar
+# Cloned from https://github.com/MoarVM/dynasm
+Source2: dynasm.tar
+# Cloned from https://github.com/MoarVM/dyncall
+Source3: dyncall.tar
+
+Patch: %name-%version-%release.patch
+
+Packager: Vladimir Lettiev <crux@altlinux.ru>
+
+BuildRequires: libuv-devel libffi-devel perl-Pod-Usage perl-devel perl-podlators
+# TODO:
+# libatomic_ops-devel - sisyphus version is old and static only
+# sha-devel - not exists in sisyphus
+# libtommath-devel - sisyphus version 0.42 is old
+
+Requires: lib%name = %version-%release
+
+%description
+MoarVM (short for Metamodel On A Runtime Virtual Machine) is a runtime built
+for the 6model object system. It is primarily aimed at running NQP and Rakudo
+Perl 6, but should be able to serve as a backend for any compilers built using
+the NQP compiler toolchain.
+
+%package -n lib%name
+Summary:  MoarVM shared library
+Group: System/Libraries
+
+%description -n lib%name
+%summary
+
+%package -n lib%name-devel
+Summary:  Development files for lib%name
+Group: Development/C
+Requires: lib%name = %version-%release
+
+%description -n lib%name-devel
+%summary
+
+%prep
+%setup -a2 -a3
+%patch -p1
+
+rm -r 3rdparty/{libuv,dynasm,dyncall}
+mv dynasm dyncall 3rdparty
+
+%build
+perl Configure.pl --prefix=%_prefix --libdir=%_libdir \
+    --has-libffi --has-libuv
+%make_build
+
+%install
+%makeinstall_std
+
+%files
+%_bindir/moar
+
+%files -n lib%name
+%_datadir/nqp/lib/MAST
+%_libdir/libmoar.so
+%doc LICENSE CREDITS docs
+
+%files -n lib%name-devel
+%_includedir/moar
+%exclude %_includedir/libatomic_ops
+%exclude %_includedir/libtommath
+%_datadir/pkgconfig/moar.pc
+
+%changelog
+* Mon Oct 24 2016 Vladimir Lettiev <crux@altlinux.ru> 2016.10-alt1
+- 2016.10
+- build with bundled libtommath (system libtommath is too old)
+
+* Fri Oct 07 2016 Vladimir Lettiev <crux@altlinux.ru> 2016.09-alt1
+- 2016.09
+
+* Mon Sep 12 2016 Vladimir Lettiev <crux@altlinux.ru> 2016.08-alt1
+- 2016.08
+
+* Fri Apr 22 2016 Vladimir Lettiev <crux@altlinux.ru> 2016.04-alt1
+- 2016.04
+- switch to system libuv
+
+* Mon Feb 22 2016 Vladimir Lettiev <crux@altlinux.ru> 2016.02-alt1
+- 2016.02
+
+* Tue Feb 02 2016 Vladimir Lettiev <crux@altlinux.ru> 2016.01-alt1
+- 2016.01
+
+* Fri Dec 25 2015 Vladimir Lettiev <crux@altlinux.ru> 2015.12-alt1
+- 2015.12
+
+* Sun Nov 29 2015 Vladimir Lettiev <crux@altlinux.ru> 2015.11-alt1
+- 2015.11
+
+* Tue Oct 27 2015 Vladimir Lettiev <crux@altlinux.ru> 2015.10-alt1
+- initial build
+
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin