diff options
author | Patrick Lauer <patrick@gentoo.org> | 2024-01-06 06:17:30 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2024-01-06 06:19:20 +0000 |
commit | 8535060d9fb59acc751f618bbd93f58b2c689b8c (patch) | |
tree | 938433cfde2ad22bdfb1b01499515f60ed527c1b /dev-lang | |
parent | dev-go/gopls: Copy deps to dev space (diff) | |
download | gentoo-8535060d9fb59acc751f618bbd93f58b2c689b8c.tar.gz gentoo-8535060d9fb59acc751f618bbd93f58b2c689b8c.tar.bz2 gentoo-8535060d9fb59acc751f618bbd93f58b2c689b8c.zip |
dev-lang/moarvm: add 2023.12
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/moarvm/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/moarvm/moarvm-2023.12.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-lang/moarvm/Manifest b/dev-lang/moarvm/Manifest index fa92b9cedd35..5eb20d17a581 100644 --- a/dev-lang/moarvm/Manifest +++ b/dev-lang/moarvm/Manifest @@ -1,2 +1,3 @@ DIST MoarVM-2023.02.tar.gz 14917710 BLAKE2B 57ea0a3871f51f2cf2bf7f7d9d70f4d00052cf3ab255916fc73eb33fabd0e96e44155582e73158cf98042705817b5541f3fea0d557b09e38ad6e45cad14f172f SHA512 a3dd172a84aba72df4bb9228f50eea3c4d74d4db285b06f19dc4502523f3de09580ad8a5525cf181038928263e47f72b0187a5d57dba019f18b9783ba4247203 DIST MoarVM-2023.10.tar.gz 14932372 BLAKE2B 2c6a12129d85d0deb85ea328c4cfbdf0f9df40cf2eba7e1ae96a453af9fdc71785d867ee6575eaebf0dabb9f56a856ce88073d01a6af3c0864a3d8cfd43c408b SHA512 1dbe4e0d29f665d95b96d7acd0954cf27c76872c78b66c7ec30e03789bfef0c36b658677be51be25cd5476c5ff278e15c0c610f8baa00a340b1c1725d0c2a5c3 +DIST MoarVM-2023.12.tar.gz 14942980 BLAKE2B f42caa33cadf2b878c1d0de0994c32d18b81b6e56c684a7ccee54c6abc3ff6abaa4f1e5420f2320aca185d29b2fbf02ec81abaf3eb5e334a5c903c3475d55db7 SHA512 9e756e8248cd8fd02efc3d14cd5e0a32cfbb7050a96d94d011009aeb9ec1ca5e9646a3c25b8741702b88abf3faf6aae43df43ca719e1ab17478c6d1984720f59 diff --git a/dev-lang/moarvm/moarvm-2023.12.ebuild b/dev-lang/moarvm/moarvm-2023.12.ebuild new file mode 100644 index 000000000000..e437c851b138 --- /dev/null +++ b/dev-lang/moarvm/moarvm-2023.12.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 +} |