From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QNeAK91JnGEKawAAgWs5BA (envelope-from ) for ; Tue, 23 Nov 2021 02:54:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IDo9J91JnGFTFgAAB5/wlQ (envelope-from ) for ; Tue, 23 Nov 2021 01:54:37 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1070531795 for ; Tue, 23 Nov 2021 02:54:37 +0100 (CET) Received: from localhost ([::1]:53166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpL11-0008Ck-MJ for larch@yhetil.org; Mon, 22 Nov 2021 20:54:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpL0V-0008CC-B1 for guix-patches@gnu.org; Mon, 22 Nov 2021 20:54:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpL0U-0001Fj-HK for guix-patches@gnu.org; Mon, 22 Nov 2021 20:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpL0U-0001nJ-GB for guix-patches@gnu.org; Mon, 22 Nov 2021 20:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52043] [PATCH v2 1/2] gnu: Add instrumentation packages. References: <60c77ab6e2f5f098b1ecdc9c50c602072dbc2f68.1637608343.git.olivier.dion@polymtl.ca> In-Reply-To: <60c77ab6e2f5f098b1ecdc9c50c602072dbc2f68.1637608343.git.olivier.dion@polymtl.ca> Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Nov 2021 01:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52043 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52043@debbugs.gnu.org Cc: Olivier Dion Received: via spool by 52043-submit@debbugs.gnu.org id=B52043.16376324276875 (code B ref 52043); Tue, 23 Nov 2021 01:54:02 +0000 Received: (at 52043) by debbugs.gnu.org; 23 Nov 2021 01:53:47 +0000 Received: from localhost ([127.0.0.1]:49484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpL0E-0001mo-D7 for submit@debbugs.gnu.org; Mon, 22 Nov 2021 20:53:46 -0500 Received: from smtp.polymtl.ca ([132.207.4.11]:42354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpL08-0001mV-UO for 52043@debbugs.gnu.org; Mon, 22 Nov 2021 20:53:44 -0500 Received: from laura.hitronhub.home (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 1AN1rOaD002855 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 22 Nov 2021 20:53:32 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 1AN1rOaD002855 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1637632413; bh=XheZ88sIiFc3dTZKZrL22wqxL7VhhIJf0SppDqy3KDc=; h=From:To:Cc:Subject:Date:From; b=oML6S9WaIN/kkGTkinZ+uHN+WUO0pWmp1ChSk8wzwuopOZO+lsGCuUMpMWGq5J0K8 /shtrDM6jz9xS4DR5b7yVtjCSRCkdzl2DzZktsyWslUeFaTL+wbscD8jvxt5DYkbL3 O25txsfTwxQikegV6n8Io+NbRY5IoAly1MePNExQ= Date: Mon, 22 Nov 2021 20:53:23 -0500 Message-Id: <1bbfcda6f8e1c1fd94170b9af7186076d4f5bc3c.1637632353.git.olivier.dion@polymtl.ca> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Tue, 23 Nov 2021 01:53:24 +0000 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Olivier Dion X-ACL-Warn: , Olivier Dion via Guix-patches From: Olivier Dion via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637632477; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XheZ88sIiFc3dTZKZrL22wqxL7VhhIJf0SppDqy3KDc=; b=LoX6NgShRek6USSa6ClnANJ/7L1vpAMdo8gZSWrINkQQMpZaB7gMZpOVIFoD3/6hzOuhaH h0Zp8Rv66QEdw6NoAW8M/x5fSnMAc5Ab8sLWE48335kNFat6ultu3GZ0MI67mhz73nGChK UEmAzPVCUyB5k1msI4g1JTMfd0EYsR0LQgeowizXsFnRbBSETOcKnL1fRVoyproDjHTFbY A1nkhWdf97ZB0JtrqvcDV3H3Bl4etg6AWkwRmp0Tt9jz/lhlYlUUijACh9QDXimkHgDNBf OBaAAFjL6PUAq5fvNDtbz4BYCxLCW465aYZeANI2wLJrOsXoCgtD0ROQKmVWUw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637632477; a=rsa-sha256; cv=none; b=k9RxKyW+RwdcNx3Hc9iwUZZBhe0rIG+fCpE+STa/pGV+l6Z+n0kToEk9IfSn30ntvamOdt SGGZcRJMYr47PfRoOzYTsGSQPOlwKS92Sfn24TzfLPk4KZf3sVHz4D9b8hn3cSCX8N+XdQ yllbOHwaZqrM0fqvvN3FNSLIldepFbo60j9iwnpJ/OjdLtDxwqRgYHWd+wHyenQZiRqJSC xHhwdsV08hI1fR/JDHANTtkuw+Q7DDem/1HCaqDeHbyCqAb2Te16+4+jNef3GjLM4dH2ps pNz06WbL33N+SryqGUi4cS2hJT6ipaLyGauUCOnx36hahK+EbricZJyHT+Ymkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b=oML6S9Wa; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b=oML6S9Wa; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1070531795 X-Spam-Score: -3.58 X-Migadu-Scanner: scn1.migadu.com X-TUID: zOisa1mzW+bF * gnu/packages/instrumentation.scm: New file (dyninst): New variable. --- gnu/local.mk | 1 + gnu/packages/instrumentation.scm | 56 ++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 gnu/packages/instrumentation.scm diff --git a/gnu/local.mk b/gnu/local.mk index 3227fc3835..26dc098417 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -307,6 +307,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/inklingreader.scm \ %D%/packages/inkscape.scm \ %D%/packages/installers.scm \ + %D%/packages/instrumentation.scm \ %D%/packages/ipfs.scm \ %D%/packages/irc.scm \ %D%/packages/irods.scm \ diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm new file mode 100644 index 0000000000..8b55b313dc --- /dev/null +++ b/gnu/packages/instrumentation.scm @@ -0,0 +1,56 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Olivier Dion +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages instrumentation) + #:use-module (gnu packages boost) + #:use-module (gnu packages elf) + #:use-module (gnu packages llvm) + #:use-module (gnu packages tbb) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system cmake) + #:use-module ((guix licenses) #:prefix license:)) + +(define-public dyninst + (package + (name "dyninst") + ;; Newer versions are not promoted on main home page and require libiberty. + (version "10.2.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/dyninst/dyninst/archive/v" + version ".tar.gz")) + (sha256 + (base32 "18bvmvm3l18lpw8fz9yrjkd6fwqvxg0j2xfhvkzx4xr5l73wcxw0")))) + + (build-system cmake-build-system) + (arguments + `(#:tests? #f + ;; STERILE_BUILD: Do not download/build third-party dependencies from + ;; source. + #:configure-flags + (list "-DSTERILE_BUILD=ON"))) + (propagated-inputs + `(("elfutils" ,elfutils) + ("boost" ,boost) + ("tbb" ,tbb) + ("libomp" ,libomp))) + (home-page "https://dyninst.org/") + (synopsis "Dynamic instrumentation") + (description "Tools for binary instrumentation, analysis, and modification.") + (license license:lgpl2.0))) -- 2.34.0