diff options
author | Patrick Lauer <patrick@gentoo.org> | 2024-11-01 13:03:13 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2024-11-01 13:04:52 +0000 |
commit | 087e2d182f684286057881be08fd856a6825af42 (patch) | |
tree | be43a01086c0428b4b15599c11e400e634417e16 /dev-lang/moarvm | |
parent | media-sound/ncspot: add 1.2.1 (diff) | |
download | gentoo-087e2d182f684286057881be08fd856a6825af42.tar.gz gentoo-087e2d182f684286057881be08fd856a6825af42.tar.bz2 gentoo-087e2d182f684286057881be08fd856a6825af42.zip |
dev-lang/moarvm: add 2024.10
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'dev-lang/moarvm')
-rw-r--r-- | dev-lang/moarvm/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/moarvm/moarvm-2024.10.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-lang/moarvm/Manifest b/dev-lang/moarvm/Manifest index 72da53b8ad76..7eaa37a82b66 100644 --- a/dev-lang/moarvm/Manifest +++ b/dev-lang/moarvm/Manifest @@ -1,3 +1,4 @@ DIST MoarVM-2024.04.tar.gz 14953770 BLAKE2B d6ea26bb98a1a6b2c3e6f0184a70c670830eb0872238779e9ce763f8c798bce803db4c5ba488c3f18bf5cf65a8d529fea9268a270458a33fff21ce10c74ee206 SHA512 874b22347fce3018884733ef734db0f09faae89191c2d37d7a15a897f8ce88ed9fbbd69768267492e6d1f019035ad224eef844b75e0fc1634cffd4b059314af1 DIST MoarVM-2024.05.tar.gz 14956570 BLAKE2B b4a6516dacf871e8c0fb9eb7813322310f038394225f574bd69096c14448f53c5be82eb8b4207361f55c804e165c17b9d63f78efa821d523e3195a31239a8c9f SHA512 703c1418ebf587bf16173e5711f41d8079ea605731505f5699590d3b355e3a54921a7cbab1bd22a2253ba4c79ef4b92f9989646b065239fb9e8450c352fd4f2e DIST MoarVM-2024.08.tar.gz 14993560 BLAKE2B 0e37a13fbb7fe4ef0959b64615b99d94721873d7257e7a26dd49013523a3956e83e12a33468560155b37446b859c0d77f87f1cb816de469d9916b1c4e57f3af5 SHA512 b1e3d0b067d4e685d4978962f9008d28e0cad960f55b373f6f3a13df35b8865da9301f0a2b67f9a0d8222a6d5500fce474168ecdf2837c3dc21e04fcb3211bfc +DIST MoarVM-2024.10.tar.gz 15013798 BLAKE2B e5fb6fc14268c6ba02336bda50ef8f460491be99b87eba91d99c6b62debeb637573584cc2ad39cf235a6a64245125989ce7a034e007831273f3af46a04a02edb SHA512 3e9a1f47751ccdd04e128fa50cf3362d66372485d7ddd10a7d7de9d82bf6f832a1f788363a2a5692873944b3abd12283390670ee04f6724e949d92bd73900a04 diff --git a/dev-lang/moarvm/moarvm-2024.10.ebuild b/dev-lang/moarvm/moarvm-2024.10.ebuild new file mode 100644 index 000000000000..e437c851b138 --- /dev/null +++ b/dev-lang/moarvm/moarvm-2024.10.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="MoarVM" +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git" + inherit git-r3 + S="${WORKDIR}/${P}" +else + SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_PN}-${PV}" +fi + +DESCRIPTION="A 6model-based VM for NQP and Raku" +HOMEPAGE="http://moarvm.org" +LICENSE="Artistic-2" +SLOT="0" + +IUSE="asan clang debug doc +jit optimize static-libs ubsan" + +RDEPEND="dev-libs/libatomic_ops + >=dev-libs/libuv-1.26:= + dev-libs/libffi:= + dev-libs/mimalloc" +DEPEND="${RDEPEND} + clang? ( >=sys-devel/clang-3.1 ) + dev-lang/perl" + +DOCS=( CREDITS README.markdown ) + +# Tests are conducted via nqp +RESTRICT=test + +src_configure() { + MAKEOPTS+=" NOISY=1" + use doc && DOCS+=( docs/* ) + local prefix="${EPREFIX}/usr" + local libdir="${EPREFIX}/usr/$(get_libdir)" + einfo "--prefix '${prefix}'" + einfo "--libdir '${libdir}'" + local myconfigargs=( + "--prefix" "${prefix}" + "--has-libuv" + "--has-libatomic_ops" + "--has-libffi" + "--has-mimalloc" + "--libdir" "${libdir}" + "--compiler" "$(usex clang clang gcc)" + "$(usex asan --asan)" + "$(usex debug --debug --no-debug)" + "$(usex optimize --optimize= --no-optimize)" + "$(usex static-libs --static)" + "$(usex ubsan --ubsan)" + ) + + perl Configure.pl "${myconfigargs[@]}" moarshared || die +} |