From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mCObDaLnIGNNvgAAbAwnHQ (envelope-from ) for ; Tue, 13 Sep 2022 22:27:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kC1iDaLnIGNnbgAAauVa8A (envelope-from ) for ; Tue, 13 Sep 2022 22:27:14 +0200 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 D723B3AE29 for ; Tue, 13 Sep 2022 22:27:13 +0200 (CEST) Received: from localhost ([::1]:42948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYCUy-0003nP-RJ for larch@yhetil.org; Tue, 13 Sep 2022 16:27:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYCUo-0003lh-J4 for guix-patches@gnu.org; Tue, 13 Sep 2022 16:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYCUo-0001mj-Ao for guix-patches@gnu.org; Tue, 13 Sep 2022 16:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYCUo-0001ft-6L for guix-patches@gnu.org; Tue, 13 Sep 2022 16:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57780] [PATCH 2/2] gnu: xsimd-benchmark: Build example. Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Sep 2022 20:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57780 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57780@debbugs.gnu.org Cc: Greg Hogan Received: via spool by 57780-submit@debbugs.gnu.org id=B57780.16631008126408 (code B ref 57780); Tue, 13 Sep 2022 20:27:02 +0000 Received: (at 57780) by debbugs.gnu.org; 13 Sep 2022 20:26:52 +0000 Received: from localhost ([127.0.0.1]:52961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYCUe-0001fI-9V for submit@debbugs.gnu.org; Tue, 13 Sep 2022 16:26:52 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:40885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYCUd-0001f6-1w for 57780@debbugs.gnu.org; Tue, 13 Sep 2022 16:26:51 -0400 Received: by mail-qt1-f176.google.com with SMTP id z18so9682282qts.7 for <57780@debbugs.gnu.org>; Tue, 13 Sep 2022 13:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=2x8f+1GZNrVYfg/GVpi/OpoyrYJ1LEL4g/hRqdqtoyM=; b=INlejfWZ0xcScYfyi+nqT5umOX3TY+AVDAbAVwdEYN4WnxCIBrCJdaHG0Svqua2l90 4KdsSm8gfxPgONw9euijnWAGQRmlveSZDSF5iRh8OFITu7D/s0SAcvR0xbn4jztQDwH9 O/p6ZtOAZFboETCXZRK0d0onuMtUJ/6UZ58crPs1waqyswbb0kA5EI8bKw7x7u/zi5xn K5j4fr/P+49ZHk7WM9IsfPuAm7HY6Q6jBdJKw7SBTM3ZCqp2+vEpBRRIC2VnTU/IeUU4 XuOh0rVvW9g5wfsdN3CQ7DUMG76OL4t4nJ/lm4p0s8Fi6tg3J30N5dAB7BLwLThBdkET Yyeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=2x8f+1GZNrVYfg/GVpi/OpoyrYJ1LEL4g/hRqdqtoyM=; b=MP4hj1++OfSYJGJ4SzeOXoWuR2jY1WkoE38Oqwm5LAyQpnUgLKTEmVIYDSpV9eWqUn YFqyPjHLejADr3FOKI0SrpLbatje+ns0A9fwh2sq3/3Oxi5tZnZNpcOugBm2uxjHWrkw HGUGAyt+R69bzdHhFgrj41Ly7s3QFQlfGrXdV8cIg6msLa7+kiZkcgbaL1036w5tkmwi IkmFHgBZki/ta8O91c2lRMsQVFa/UV1pIqQbvKyyyg85Wbosu0uExhfjOy0rrg1Sx7EP tiTjTVBX/zRsSL2rl/z+y/Z0vcb5a3xq8yfTraboa1xPaXspkKg7qYSEGFrkp+4hz4jR /EzA== X-Gm-Message-State: ACgBeo0veXB51OKdy7hoX8pK2eb5xnub37eQu2P1IyIKOJ9qNer3eAvD smRN1mlnKAv83dOzvFMyLRZfcUQZxBcpF8Sw X-Google-Smtp-Source: AA6agR7P8bZDDF3NDWNBg6+Dw+e5NaSUAYgjaJBgbJftlNGcj9s63oNNrIpTdbUYpUHSvcdtLxvRbA== X-Received: by 2002:ac8:5796:0:b0:344:9321:5e2c with SMTP id v22-20020ac85796000000b0034493215e2cmr30421041qta.249.1663100805222; Tue, 13 Sep 2022 13:26:45 -0700 (PDT) Received: from ip-10-114-89-198.evoforge.org (ec2-52-70-167-183.compute-1.amazonaws.com. [52.70.167.183]) by smtp.gmail.com with ESMTPSA id y15-20020a05620a44cf00b006bc56c063fcsm355403qkp.62.2022.09.13.13.26.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Sep 2022 13:26:44 -0700 (PDT) From: Greg Hogan Date: Tue, 13 Sep 2022 20:26:38 +0000 Message-Id: <1ac1d30c696807ac8a5481cf0fa2a2931e00974a.1663082562.git.code@greghogan.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663100833; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=2x8f+1GZNrVYfg/GVpi/OpoyrYJ1LEL4g/hRqdqtoyM=; b=ODr1ya1rfCGp4H2P33x2jhUwMjZucvlGpOpbu5hhBcQ/cBsMdY0/l6Q4AMOfGmwWxtnX6k Ng2k0Is3hiKFMTRclUw+Rke1+lbYBMmTkI+nnAgGXnTETr6PTsxE6HLVd9pX7tc+N2kMQg 9szbKHO7siwEHn5G21KSN2A0Dy136rLqDkLQGI6iXxpWZ+dxuTgVXmpEYtsqJmePt2eoxE FqktqBpdRs1QGWSxFUAZzNAZn/Zav/ofQvKhl8K5WKzc4LOzNiCYN/oDrbbDesVsJt6po5 dTJxk9VjWXiKRuPNV/e7heM23+jtCCvQFQFjqmmUGFHkqog7PexXCRYc1V8+QQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663100833; a=rsa-sha256; cv=none; b=kokspozNwgv92GOL9jIolaaKztlG5rP6wBZVPbRHuK1msoE8UsCH+IjZhvrxysEtBVExiL EhjCAm0meSjttKCjr9ugQ7uzzZKXEPV1jk7nkBqcfRwuOu/ykzpsF9o4+tRfr6mfhVqXMc JgYDVkxW2KlILORoPD1RFQKGe8DpZUogDnXq16yeok55Env01OA6Gu9IG2yGIB5kcbMRLM wm2dprehK2q45tUXgM6P/FAd456p2RyBrCUZM4sh94cKnEvLADnuSHos4+IDFAKm24KH5R G3o2G+VT5tZ45Trggn8cDJhLlmUB+s+vrfQ/oI69RnJ6M8rkcNfmBAVbhel7CA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=INlejfWZ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=INlejfWZ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D723B3AE29 X-Spam-Score: 2.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: 80MkAeUXzYba * gnu/packages/cpp.scm (xsimd-benchmark): Fix package name. [arguments]<#:configure-flags>: Enable examples ... <#:phases>{install} ... and install. --- gnu/packages/cpp.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 8aea2e2441..6289c9520f 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -456,12 +456,12 @@ (define-public google-highway library for SIMD (Single Instruction, Multiple Data) with runtime dispatch.") (license license:asl2.0))) -(define-public xsmimd-benchmark +(define-public xsimd-benchmark (package (inherit xsimd) (name "xsimd-benchmark") (arguments - `(#:configure-flags (list "-DBUILD_BENCHMARK=ON") + `(#:configure-flags (list "-DBUILD_BENCHMARK=ON" "-DBUILD_EXAMPLES=ON") #:tests? #f #:phases (modify-phases %standard-phases (add-after 'unpack 'remove-march=native @@ -470,9 +470,11 @@ (define-public xsmimd-benchmark (("-march=native") "")))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) - ;; Install nothing but the executable. + ;; Install nothing but the executables. (let ((out (assoc-ref outputs "out"))) (install-file "benchmark/benchmark_xsimd" + (string-append out "/bin")) + (install-file "examples/mandelbrot" (string-append out "/bin")))))))) (synopsis "Benchmark of the xsimd library") -- 2.37.3