From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6405815808B for ; Mon, 4 Apr 2022 14:49:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29439E08ED; Mon, 4 Apr 2022 14:49:27 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0AB46E08ED for ; Mon, 4 Apr 2022 14:49:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ECE9A34148C for ; Mon, 4 Apr 2022 14:49:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34171303 for ; Mon, 4 Apr 2022 14:49:24 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1649029568.2af0b71b5b88f92fe10289f6d75e2628e5c60daa.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-ml/mirage-profile/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-ml/mirage-profile/Manifest dev-ml/mirage-profile/metadata.xml dev-ml/mirage-profile/mirage-profile-0.9.0-r2.ebuild X-VCS-Directories: dev-ml/mirage-profile/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 2af0b71b5b88f92fe10289f6d75e2628e5c60daa X-VCS-Branch: master Date: Mon, 4 Apr 2022 14:49:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0b925d06-2fe6-4817-a9fe-d7c6648234d5 X-Archives-Hash: b7748d6aed66050e7941326b698a848f commit: 2af0b71b5b88f92fe10289f6d75e2628e5c60daa Author: Alessandro Barbieri gmail com> AuthorDate: Sun Apr 3 07:55:42 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Apr 3 23:46:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2af0b71b dev-ml/mirage-profile: initial import Signed-off-by: Alessandro Barbieri gmail.com> dev-ml/mirage-profile/Manifest | 1 + dev-ml/mirage-profile/metadata.xml | 14 ++++++++ .../mirage-profile/mirage-profile-0.9.0-r2.ebuild | 39 ++++++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/dev-ml/mirage-profile/Manifest b/dev-ml/mirage-profile/Manifest new file mode 100644 index 000000000..0add7acf4 --- /dev/null +++ b/dev-ml/mirage-profile/Manifest @@ -0,0 +1 @@ +DIST mirage-profile-0.9.0.tar.gz 11633 BLAKE2B d55b73be2df42230666577be11e1c9138cadc8e1d895a1b58cec342adfac165c76a405298cd24d2d21e6caad12b9593599ba4c62c459e51cf9be58409edfb425 SHA512 9a1ba91cfe1454aa85a6f1f72c934d413a8bc4f4793689f309abeca9be22c66c3c3213e8d360ea62813c019e064573cb250d835656c6302429b8e7cbdb39fa2c diff --git a/dev-ml/mirage-profile/metadata.xml b/dev-ml/mirage-profile/metadata.xml new file mode 100644 index 000000000..7f44c78f2 --- /dev/null +++ b/dev-ml/mirage-profile/metadata.xml @@ -0,0 +1,14 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/mirage-profile + + + Adds a Xen MirageOS backend collector + + diff --git a/dev-ml/mirage-profile/mirage-profile-0.9.0-r2.ebuild b/dev-ml/mirage-profile/mirage-profile-0.9.0-r2.ebuild new file mode 100644 index 000000000..b5f8080af --- /dev/null +++ b/dev-ml/mirage-profile/mirage-profile-0.9.0-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Collect profiling information" +HOMEPAGE="https://github.com/mirage/mirage-profile" +SRC_URI="https://github.com/mirage/mirage-profile/archive/v${PV}.tar.gz -> mirage-profile-${PV}.tar.gz" +S="${WORKDIR}/mirage-profile-${PV}" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt xen" + +RDEPEND=" + dev-ml/mtime + dev-ml/io-page + dev-ml/ocplib-endian + + xen? ( + dev-ml/mirage-xen + dev-ml/xenstore + ) +" +DEPEND="${RDEPEND}" + +src_compile() { + local pkgs="mirage-profile-unix,mirage-profile" + use xen && pkgs="${pkgs},mirage-profile-xen" + dune build --only-packages "${pkgs}" -j $(makeopts_jobs) --profile release || die +} + +src_install() { + dune_src_install mirage-profile mirage-profile-unix + use xen && dune_src_install mirage-profile-xen +}