From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OK3BJuLEiWSbaAEASxT56A (envelope-from ) for ; Wed, 14 Jun 2023 15:47:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gHOfJuLEiWR8vgAAauVa8A (envelope-from ) for ; Wed, 14 Jun 2023 15:47: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 4F8751C269 for ; Wed, 14 Jun 2023 15:47:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9Qpz-00083w-K5; Wed, 14 Jun 2023 09:47:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9Qpy-00083n-DF for guix-patches@gnu.org; Wed, 14 Jun 2023 09:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9Qpy-0008II-4Y for guix-patches@gnu.org; Wed, 14 Jun 2023 09:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9Qpx-0004aM-VU for guix-patches@gnu.org; Wed, 14 Jun 2023 09:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64067] [PATCH] gnu: psascan: Do not build with "-march=native". Resent-From: Z572 <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Jun 2023 13:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64067 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64067@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168675040517599 (code B ref -1); Wed, 14 Jun 2023 13:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jun 2023 13:46:45 +0000 Received: from localhost ([127.0.0.1]:44126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9Qpg-0004Zn-MM for submit@debbugs.gnu.org; Wed, 14 Jun 2023 09:46:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:36594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1q9Qpa-0004Za-DO for submit@debbugs.gnu.org; Wed, 14 Jun 2023 09:46:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <873216071@qq.com>) id 1q9Qpa-000813-5U for guix-patches@gnu.org; Wed, 14 Jun 2023 09:46:38 -0400 Received: from out162-62-57-137.mail.qq.com ([162.62.57.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <873216071@qq.com>) id 1q9QpU-00085L-KJ for guix-patches@gnu.org; Wed, 14 Jun 2023 09:46:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1686750376; bh=ZkgH9t+HL2a9fBq1MFbCRQMJRgs4zQSAGWT58tjR4+4=; h=From:To:Subject:Date; b=VKQt1VQgI7ntsw7iwJwC3k4zlSxhun0/uq/Lsy6a0u9nipwBS5z7l5cXJkbu5PEad NL85OPqNC0JcCXVxUfjhYrr5kCEKd9LW5B4ZmltX5iEfw6lP97pCYmIG/BRyw5rE+n minrdk5TcKNRt6IiHb+Ms9t/q+ZRUAm6/cPQ8/SQ= Received: from localhost.localdomain ([111.0.51.197]) by newxmesmtplogicsvrszb9-0.qq.com (NewEsmtp) with SMTP id B8E09E46; Wed, 14 Jun 2023 21:46:14 +0800 X-QQ-mid: xmsmtpt1686750374tklyouxki Message-ID: X-QQ-XMAILINFO: MyIXMys/8kCtPczitXtPPGw1RNWkYI7zYSF46tRM2T85ZT1/D7AOd+FfZ6TnDN g2UUJJ0re/9MXejdadvuLBknJE3H2XnBFBKHUbGskLJPnrbkIwUgbv7nf6ID49yGFoX4bwZfDcHj 9CVGwTKCa5/lv1PsmcrbSKZDAVXWrAnQ1gOvKQZ82sZiy+O0n6M4pQqjvSHlHXiVuAxG/OcKLRgW Kq/zZMlhDSUqjTQOT0uA8D0mzp7RxbTsvu90vcrXCXXgeADBKlm6IANbzPUxtycjYHT1avbMHy+b aKg0ExiskH2nDq/pdSbctxqLmn3LhN5Bl3PreyN3azlJ0caCYQJmrM8UYPXTE3fTOmCnHBqg7MQU NMR2fxZhVPXJvK1UQR1YpVRr5/klkEq8hURlAGoVEW1H4m9HcZriZoMYxA9moaR0RYybrA9iguMr bSCLpqstQ77YicHBWVEVT5jY+sqCRGErIAc4iAsvot8BOVUfXsWDUNZYgNuTQNx6zXLSSg9ho6v/ 3UbtHjn115xbGuu2fJYT2w7NOtpW74E9Pf4gFV+Bsn25JyCcMfh6r5jcW6zEbcIjNm+5iIB++pbg lnJ7HjXRdYAmCiFwC4H4cVWGojLz+A7l5J8RNvXRRvhnwZvt8wFxLUad8fNzPBGdQcqwrpvSVEZl CtrTvixKbKnalJUla1+CxdYtvl1D0uvGVaPijrl8sbu7BOCuDLU2RfX90sMC4Httq2WTxveKWZvY qGEx2jkG/VCGcZHS9ARFDraJiIPVtD8wgOr/c4q4zqKPMc5p658FFWO9Uo8AiqIYUGmO479F/uNz YODXtERZWqVyaTR3szJKXPIScraIfdUc9ZLtp7xxmLwBBiPxzN2WoQCnp52VNoMy6YIkkZimTdN6 Zmpl8N2TW9Nk4sGDXx6nxMYYA0I1LhEzuapX9llqiG3ymCwRbazaaGKSsdBto8zqn0XIvgxL9Q X-QQ-XMAILREADINFO: MFSZYyQdPxvloIttF8cZzD8= Date: Wed, 14 Jun 2023 21:46:14 +0800 X-OQ-MSGID: <4f94ea66f53269742fa94d22dc209ffd5a3d3156.1686750371.git.873216071@qq.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=162.62.57.137; envelope-from=873216071@qq.com; helo=out162-62-57-137.mail.qq.com X-Spam_score_int: 11 X-Spam_score: 1.1 X-Spam_bar: + X-Spam_report: (1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Reply-to: Z572 <873216071@qq.com> X-ACL-Warn: , Z572 via Guix-patches From: Z572 via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686750434; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZkgH9t+HL2a9fBq1MFbCRQMJRgs4zQSAGWT58tjR4+4=; b=pV4YATGDce/JIGV80kFRaOyJQxOl4cwIuggIUkVPYedzF+2oOzNQHRWnM1wzhTFnMtlyB4 C/apwNq+bEoRUuoCw9WB50/ID0PBZ+pTR1ZGloIJegB6I+qu1Dmap7sVnwpilohPAYr02o QFMTmFHwdK13TPh7Pfo5fvEopbNqjX/ySM7KBVmb966was9o8WwaOguTA6+xe9bUmRdMUw fqCNUaBpdOQALeXwCmTpuHQocgCoyvo0y5AJELRwNUwk3Ok0Or5uRZ4s9y3cB8c93NW4wW ReFmIMjsybK4OxM2+cLk85i5DExbFrQ8BMK8VzsiRIuej5VoIzgOtLyg2+tozw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=VKQt1VQg; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686750434; a=rsa-sha256; cv=none; b=IxQL3CdZAXGmPR1E0iBKFQGAugIl9TmSqlbWrPfj+p87KCXiAP64DHhabekMWLdpVc9YXy 5fxVrb9VxEzr47i85mf0GodTGFEKSsFYC/I5QjObU8ZUu2cZJN0k8UYo2l+6vnxwTrZlA1 p5UPgkayUvJClaMSfBOM914eQ4Sw3Qey+/qpOa0Zl/jFBwN7o3OzMT7oMlOScPI9gJuCtw RhsFwzxfIdnHGldUqpVibTnDGSlcoUxMLws+9dHF4y8oSgzv5hGNt2AI6FTIu8/sPlgJy+ WolisqmYtDdzxQEjVvU/3uP54/EtQddgyEETlh57xgbxS0plX31owsxdX1wEuQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=VKQt1VQg; dmarc=pass (policy=none) header.from=gnu.org; 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: 4F8751C269 X-Spam-Score: -2.43 X-TUID: 2WJ+5GLOFYk5 * gnu/packages/cpp.scm (psascan)[origin]: Add 'snippet'. [properties]: New field. --- gnu/packages/cpp.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 365b15a3b9..39a34c20dd 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -30,7 +30,7 @@ ;;; Copyright © 2022 Attila Lendvai ;;; Copyright © 2022 Arun Isaac ;;; Copyright © 2022 David Elsing -;;; Copyright © 2022 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2022, 2023 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2023 Sughosha ;;; Copyright © 2023 Artyom V. Poptsov @@ -1173,7 +1173,11 @@ (define-public psascan "/pSAscan-" version ".tar.bz2")) (sha256 (base32 - "1cphk4gf202nzkxz6jdjzls4zy27055gwpm0r8cn99gr6c8548cy")))) + "1cphk4gf202nzkxz6jdjzls4zy27055gwpm0r8cn99gr6c8548cy")) + (modules '((guix build utils))) + (snippet '(begin (substitute* '("src/Makefile" + "tools/delete-bytes-255/Makefile") + (("-march=native") "")))))) (build-system gnu-build-system) (arguments (list @@ -1187,6 +1191,7 @@ (define-public psascan (install-file "psascan" (string-append #$output "/bin"))))))) (inputs (list libdivsufsort)) + (properties '((tunable? . #t))) (home-page "https://www.cs.helsinki.fi/group/pads/pSAscan.html") (synopsis "Parallel external memory suffix array construction") (description "This package contains an implementation of the parallel base-commit: 7c12255eb9fdd73b481c3c588b02809abd633be8 -- 2.40.1