From: Z572 via Guix-patches via <guix-patches@gnu.org>
To: 64067@debbugs.gnu.org
Subject: [bug#64067] [PATCH] gnu: psascan: Do not build with "-march=native".
Date: Wed, 14 Jun 2023 21:46:14 +0800 [thread overview]
Message-ID: <tencent_E646AA6596F41FAFCE4CB9534962EDEFA606@qq.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1962 bytes --]
* 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 <attila@lendvai.name>
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2022 David Elsing <david.elsing@posteo.net>
-;;; Copyright © 2022 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2022, 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2023 Sughosha <Sughosha@proton.me>
;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com>
@@ -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
next reply other threads:[~2023-06-14 13:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-14 13:46 Z572 via Guix-patches via [this message]
2023-06-14 19:36 ` bug#64067: [PATCH] gnu: psascan: Do not build with "-march=native" Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_E646AA6596F41FAFCE4CB9534962EDEFA606@qq.com \
--to=guix-patches@gnu.org \
--cc=64067@debbugs.gnu.org \
--cc=873216071@qq.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.