From unknown Sat Aug 09 04:52:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#54635 <54635@debbugs.gnu.org> To: bug#54635 <54635@debbugs.gnu.org> Subject: Status: [PATCH 0/5] Add wfmash Reply-To: bug#54635 <54635@debbugs.gnu.org> Date: Sat, 09 Aug 2025 11:52:39 +0000 retitle 54635 [PATCH 0/5] Add wfmash reassign 54635 guix-patches submitter 54635 Arun Isaac severity 54635 normal tag 54635 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 05:19:39 2022 Received: (at submit) by debbugs.gnu.org; 30 Mar 2022 09:19:39 +0000 Received: from localhost ([127.0.0.1]:34488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUUN-0000vD-FA for submit@debbugs.gnu.org; Wed, 30 Mar 2022 05:19:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:50358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUUL-0000v6-Uw for submit@debbugs.gnu.org; Wed, 30 Mar 2022 05:19:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZUUJ-0003x4-TF for guix-patches@gnu.org; Wed, 30 Mar 2022 05:19:37 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:55546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZUUG-00051j-6U for guix-patches@gnu.org; Wed, 30 Mar 2022 05:19:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OkJqb0iZbQ2STAMSBL7luogokVxaPbErP9/oY0I6N4A=; b=U/WN18qBbuhVV9mybOKkz5DUYK UYJuh4u8ss7f/TZ/Omxd3Iqmq4w8kDKUXHrUYXB4NiJxLb0ZcgxdcAarNSgBXMB3917qaKoITWiKT o9lWvFljFEVVsiYLEScaQZ5L+Y44DUzi/R6grriUy7UchXxrJPOdFR5DM2DCHLnnj2QDlhj+VVJbB AthrubeUP4Bp9ohPIfGMMYq3wiOgXwbDfIe32GrusFXaHMNcUYNNJYhVgc+zdKpPxjdIgqo90fyQo MwHrNtTQ03tAXfAn+2wdY2tYNw4gvRBGgoMkg2Lb//0URvfBby0boEwSsiU92HOpRLwoIMPCo5AbC f+1xxGLQ==; Received: from [192.168.2.1] (port=7014 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZUTy-000T5J-UF; Wed, 30 Mar 2022 14:49:14 +0530 From: Arun Isaac To: guix-patches@gnu.org Subject: [PATCH 0/5] Add wfmash Date: Wed, 30 Mar 2022 14:49:13 +0530 Message-Id: <20220330091913.23206-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Arun Isaac , Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) This patchset adds wfmash, and ensures that, in addition to x86_64, it also cross-compiles to riscv64. Arun Isaac (5): gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux. gnu: htslib: Add bzip2 and xz to inputs. gnu: atomic-queue: Run tests correctly. gnu: atomic-queue: Do not depend on boost when cross-compiling. gnu: Add wfmash. gnu/packages/bioinformatics.scm | 55 +++++++++++++++++++++++++++++++-- gnu/packages/cpp.scm | 26 +++++++++++++--- gnu/packages/maths.scm | 15 ++++++++- 3 files changed, 88 insertions(+), 8 deletions(-) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 05:23:20 2022 Received: (at 54635) by debbugs.gnu.org; 30 Mar 2022 09:23:20 +0000 Received: from localhost ([127.0.0.1]:34494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUXv-00011p-Tj for submit@debbugs.gnu.org; Wed, 30 Mar 2022 05:23:20 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUXt-00011a-KN for 54635@debbugs.gnu.org; Wed, 30 Mar 2022 05:23:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7vNXv7lUJiAVR/n2OTfZzpM62iwa6YV6yQWykxxu3s4=; b=e7L6oB/p82yrwnFkgBXe8iXkum ohElwS/tpMjHo9veEEx6B3Exzi26vY4P8rJT8Vhml/Uj8cpVh9z5S0ErXH9mTSKuzShDX6kKSDmcH TfXMcn4qqIssWvkPUILAYTl+KtBYC/FCaz7oaSR9HIoj+rLG4TYQtqrzs7Y1Op68/eq7Ft0IoYuL4 wq8/hapf4iiY3EIbAhDuQuBs5YPMX9WdpGFJtJDcb5zQ/l9FNrO7CyjbofZc/zU4pOfMGIR9XMim5 gIP15CA/98VX2gljjajgNlHBC3Q9DAg+E76FqShGlqr7RyuR6hZc93+xluJF/XHiJI6tFOoi9FW4X NvSlAohQ==; Received: from [192.168.2.1] (port=6582 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZUXq-000T5d-QQ; Wed, 30 Mar 2022 14:53:14 +0530 From: Arun Isaac To: 54635@debbugs.gnu.org Subject: [PATCH 2/5] gnu: htslib: Add bzip2 and xz to inputs. Date: Wed, 30 Mar 2022 14:53:10 +0530 Message-Id: <20220330092313.23584-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220330092313.23584-1-arunisaac@systemreboot.net> References: <20220330092313.23584-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: Arun Isaac , Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) htslib links to libbz2 from bzip2 and liblzma from xz. Therefore, bzip2 and xz should be listed in inputs even though they are already present implicitly in native-inputs. Else, cross-compilation will fail. * gnu/packages/bioinformatics.scm (htslib)[inputs]: Add bzip2 and xz. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 4e1028b3ce..2f6f3efb66 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2016, 2020, 2022 Marius Bakke ;;; Copyright © 2016, 2018 Raoul Bonnal ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice -;;; Copyright © 2017, 2021 Arun Isaac +;;; Copyright © 2017, 2021, 2022 Arun Isaac ;;; Copyright © 2018 Joshua Sierles, Nextjournal ;;; Copyright © 2018 Gábor Boskovits ;;; Copyright © 2018, 2019, 2020, 2021 Mădălin Ionel Patrașcu @@ -4788,7 +4788,7 @@ (define-public htslib "--enable-libcurl" "--enable-s3"))) (inputs - (list curl openssl)) + (list bzip2 curl openssl xz)) ;; This is referred to in the pkg-config file as a required library. (propagated-inputs (list zlib)) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 05:23:23 2022 Received: (at 54635) by debbugs.gnu.org; 30 Mar 2022 09:23:23 +0000 Received: from localhost ([127.0.0.1]:34496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUXw-00011r-6X for submit@debbugs.gnu.org; Wed, 30 Mar 2022 05:23:23 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUXt-00011b-KQ for 54635@debbugs.gnu.org; Wed, 30 Mar 2022 05:23:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zMvabFjZY3Am0dZy4NS03MJ1hvRlema0+m2EfOMj0sI=; b=Lu0MTK2V9WI47prLhspTlH/iw4 KFUMhwyG07zhY8KFCIfaQ9Nk7eJY4U2CmmO4V3KIyT5hKc4Wirqz9cgxm3NSVYsjPMP5m11T/GVB4 nkNu7qQqp2Hrjn3bw9nj69FAZE8yAGPSsjYZCKQyun+WbvCk9SeG2ip0XAKhOITHh6sOwbxyFZPrz FRFhMaHSHKkXahoAdT1JOJDu+jYwG0MbkXM/HefRSncEYTzNDAfLTx/09yqcH+YCMkppTem0RAdmy kgm5WeCxRboXFFKnRGUT8EAQsGkQRUL+9+dItMtJcK9o/etefcfjxS2y4kbwFjp7nlk4di7pdeIx1 Al2KDaSw==; Received: from [192.168.2.1] (port=6582 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZUXq-000T5d-KT; Wed, 30 Mar 2022 14:53:14 +0530 From: Arun Isaac To: 54635@debbugs.gnu.org Subject: [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux. Date: Wed, 30 Mar 2022 14:53:09 +0530 Message-Id: <20220330092313.23584-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: Arun Isaac , Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/maths.scm (gsl)[arguments]: Force autotools bootstrap when cross-compiling to riscv64-linux. [native-inputs]: Add autoconf, automake and libtool when cross-compiling to riscv64-linux. --- gnu/packages/maths.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index ecb85642ec..f01bf51580 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -19,7 +19,7 @@ ;;; Copyright © 2017 Nikita ;;; Copyright © 2017 Ben Woodcroft ;;; Copyright © 2017 Theodoros Foradis -;;; Copyright © 2017, 2019 Arun Isaac +;;; Copyright © 2017, 2019, 2022 Arun Isaac ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice ;;; Copyright © 2017 Dave Love ;;; Copyright © 2018, 2019, 2020, 2021 Jan (janneke) Nieuwenhuizen @@ -533,6 +533,13 @@ (define-public gsl #:phases (modify-phases %standard-phases ,@(cond + ((target-riscv64?) + '((add-after 'unpack 'force-bootstrap + (lambda _ + ;; gsl ships with an old configure script that does not + ;; support riscv64. Regenerate it. + (delete-file "configure"))))) + ((or (string-prefix? "aarch64" system) (string-prefix? "powerpc" system)) ;; Some sparse matrix tests are failing on AArch64 and PowerPC: @@ -568,6 +575,12 @@ (define-public gsl (string-append "exit (77);\n" all))))))) (else '())))))) + (native-inputs + (if (target-riscv64?) + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool)) + '())) (home-page "https://www.gnu.org/software/gsl/") (synopsis "Numerical library for C and C++") (description -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 05:23:27 2022 Received: (at 54635) by debbugs.gnu.org; 30 Mar 2022 09:23:27 +0000 Received: from localhost ([127.0.0.1]:34501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUY2-00012W-JZ for submit@debbugs.gnu.org; Wed, 30 Mar 2022 05:23:26 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUXy-000120-4d for 54635@debbugs.gnu.org; Wed, 30 Mar 2022 05:23:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QAb4L9OYpYrSl1DkACShXuhE+fa1vIvTrjUidSNk7go=; b=VmIVvCNbQrAE1NyuMvf2/DogE3 TQELBt/MKnOva4m+0o/hlYsU2d/cUF/W66a8W3O9VSWqiPitfDYe/o1bSP3dIxloH7T8s9Mnde/lK 64OCKkacDNkqIVmjb3zQOwU+7HuDUFBCNPf3/sVh0sByn2A3CBentPSNcuEx688B1ByJoVvj43fjC zkqBiUUzVsyaQ0rtIs9nMyrZO9oNMjnnYKHzWt0Wj8BWSQ1bRsQmZsAzVhPeIpR1LWbu6fKIYhGa0 DSoubdIaQ+e6/k/6TZRr81xUpFcffyL/+pJpdGAFPOGTh/DvgjraOLddbHCBb9nVWhGB7qHBbUDm+ bpYSRZGQ==; Received: from [192.168.2.1] (port=6582 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZUXr-000T5d-4h; Wed, 30 Mar 2022 14:53:15 +0530 From: Arun Isaac To: 54635@debbugs.gnu.org Subject: [PATCH 4/5] gnu: atomic-queue: Do not depend on boost when cross-compiling. Date: Wed, 30 Mar 2022 14:53:12 +0530 Message-Id: <20220330092313.23584-4-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220330092313.23584-1-arunisaac@systemreboot.net> References: <20220330092313.23584-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: Arun Isaac , Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/cpp.scm (atomic-queue)[arguments]: When cross-compiling, add do-not-check-for-boost phase and delete the build phase. [native-inputs]: Do not include boost when cross-compiling. --- gnu/packages/cpp.scm | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index eb48902034..649a57b0d5 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1294,6 +1294,21 @@ (define-public atomic-queue `(#:configure-flags '("-Dbenchmarks=false") #:phases (modify-phases %standard-phases + ,@(if (%current-target-system) + `(;; boost is a test dependency. We don't run tests when + ;; cross-compiling. So, do not check for it. + (add-after 'unpack 'do-not-check-for-boost + (lambda _ + (substitute* "meson.build" + (("unit_test_framework =" all) + (string-append "# " all)) + ((", unit_test_framework") "")))) + ;; atomic-queue is a header-only library. Excepting the + ;; tests, no building is required. And since we don't run + ;; tests when cross-compiling, delete the build phase + ;; entirely. + (delete 'build)) + '()) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? @@ -1303,9 +1318,11 @@ (define-public atomic-queue (copy-recursively "../source/include/atomic_queue" (string-append (assoc-ref outputs "out") "/include/atomic_queue"))))))) - (native-inputs - (list boost - pkg-config)) + (native-inputs + (cons pkg-config + (if (%current-target-system) + '() + (list boost)))) (home-page "https://github.com/max0x7ba/atomic_queue") (synopsis "C++ lockless queue") (description -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 05:23:27 2022 Received: (at 54635) by debbugs.gnu.org; 30 Mar 2022 09:23:27 +0000 Received: from localhost ([127.0.0.1]:34503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUY2-00012Y-Vk for submit@debbugs.gnu.org; Wed, 30 Mar 2022 05:23:27 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUXy-000121-4q for 54635@debbugs.gnu.org; Wed, 30 Mar 2022 05:23:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zCzIPrvcABlLLfgBuYEpTJo55fiBaLAVkuvkcQrTmFE=; b=Zuluk4aI5QTGGswuXmaOdqa1nu 9Sz0Oqg5j4AEWMrLpzvJ9d79/BPG2UBjuOfroBljkLTQoLsBKPEHZYuV59VNI+21COkb0eFOfOVEF WmBiEf/YpRLKKLHdxgjtLPb9/17/sBupEbfWDaIQtaCGixnsDyyNDAxG3blY5AFzTMwZFX21hvQFh Q79tz7Es/7Pg7RuZ7RAtRblS78GlQrzHplvJ1ao9QyXEoUwndhrE4//dMV9QAxawVRAcI6ljZRnzI +IYiLGjb6u8Vaa4tg7+So6alMWYv3gpzBfQurqXz5eh+y/BTbq5KzZuqhpchSp3HXlIUkr36MVHns dchHzBPA==; Received: from [192.168.2.1] (port=6582 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZUXq-000T5d-Vv; Wed, 30 Mar 2022 14:53:15 +0530 From: Arun Isaac To: 54635@debbugs.gnu.org Subject: [PATCH 3/5] gnu: atomic-queue: Run tests correctly. Date: Wed, 30 Mar 2022 14:53:11 +0530 Message-Id: <20220330092313.23584-3-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220330092313.23584-1-arunisaac@systemreboot.net> References: <20220330092313.23584-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: Arun Isaac , Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/cpp.scm (atomic-queue)[arguments]: In the check phase, run tests instead of returning a function to run them. --- gnu/packages/cpp.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index bb7f5ab95a..eb48902034 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1297,8 +1297,7 @@ (define-public atomic-queue (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (lambda _ - (invoke "make" "run_tests"))))) + (invoke "./tests")))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (copy-recursively "../source/include/atomic_queue" -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 05:23:27 2022 Received: (at 54635) by debbugs.gnu.org; 30 Mar 2022 09:23:27 +0000 Received: from localhost ([127.0.0.1]:34505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUY3-00012g-BG for submit@debbugs.gnu.org; Wed, 30 Mar 2022 05:23:27 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZUXy-000123-AB for 54635@debbugs.gnu.org; Wed, 30 Mar 2022 05:23:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qdxbq1pvz3OvQqxf4iO+hoUkerdg5PrwZlSuFuVyO6I=; b=BZHEFGwQhF9qZQPw1YqYyARooR JQtuQroLniIhU3fzX1QA8IHnvxn3QccxjoAi1yQScYKxUgdy9V99DULIbgTaAF2NX3W21bNOFemHe Nz44NlMtPxTKTrbqmSuagJ50/9oQkjp+6w07dFpxx38UHLBWPudkQwhzep9i39RPe/5wHr4++D9jC yTteT+meZBftyVBMh7BNub7v+V7pFfar9+veLFYM+loVeXHyvWax0qIO5/0lVXxGmp+XHHjgF26cC TZ+/WSudNXgw6BrxbEExNyClIRBER4bHyVCF7iMyKBkODRxmWeoC3ZjevBHJWbL0wZcWZvYywW7Tz m3o+1/Ow==; Received: from [192.168.2.1] (port=6582 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZUXr-000T5d-9p; Wed, 30 Mar 2022 14:53:15 +0530 From: Arun Isaac To: 54635@debbugs.gnu.org Subject: [PATCH 5/5] gnu: Add wfmash. Date: Wed, 30 Mar 2022 14:53:13 +0530 Message-Id: <20220330092313.23584-5-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220330092313.23584-1-arunisaac@systemreboot.net> References: <20220330092313.23584-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: Arun Isaac , Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/bioinformatics.scm (wfmash): New variable. --- gnu/packages/bioinformatics.scm | 51 +++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 2f6f3efb66..500ba4ac60 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -16107,3 +16107,54 @@ (define-public ccwl @acronym{EDSL, Embedded Domain Specific Language} in the Scheme programming language.") (license license:gpl3+))) + +(define-public wfmash + (package + (name "wfmash") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/ekg/wfmash/releases/download/v" + version "/wfmash-v" version ".tar.gz")) + (sha256 + (base32 + "031cm1arpfckvihb28vlk69mirpnmlag81zcscfba1bac58wvr7c")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Unbundle atomic-queue. + (delete-file-recursively "src/common/atomic_queue") + (substitute* "src/align/include/computeAlignments.hpp" + (("\"common/atomic_queue/atomic_queue.h\"") + "")))))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + ;; Remove compiler flags and checks specific to x86 when not + ;; targeting it. + ,@(if (target-x86-64?) + '() + '((add-after 'unpack 'remove-x86-specific-compile-flags + (lambda _ + (substitute* (find-files "." "CMakeLists\\.txt") + (("-mcx16") "") + (("-march=native") "")) + (substitute* "src/common/dset64.hpp" + (("!__x86_64__") "0"))))))))) + (inputs + (list atomic-queue + gsl + htslib + jemalloc + zlib)) + (synopsis "Base-accurate DNA sequence aligner") + (description "@code{wfmash} is a DNA sequence read mapper based on mash +distances and the wavefront alignment algorithm. It is a fork of MashMap that +implements base-level alignment via the wflign tiled wavefront global +alignment algorithm. It completes MashMap with a high-performance alignment +module capable of computing base-level alignments for very large sequences.") + (home-page "https://github.com/ekg/wfmash") + (license license:expat))) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 07:33:18 2022 Received: (at 54635) by debbugs.gnu.org; 30 Mar 2022 11:33:18 +0000 Received: from localhost ([127.0.0.1]:34673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWZi-0006Zz-8F for submit@debbugs.gnu.org; Wed, 30 Mar 2022 07:33:18 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:47050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWZg-0006Zp-0I for 54635@debbugs.gnu.org; Wed, 30 Mar 2022 07:33:16 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id CbZD2700W4UW6Th01bZEy5; Wed, 30 Mar 2022 13:33:14 +0200 Message-ID: <04d943d67c26bedc32ffcb7951c6eb626e5facaf.camel@telenet.be> Subject: Re: [bug#54635] [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux. From: Maxime Devos To: Arun Isaac , 54635@debbugs.gnu.org Date: Wed, 30 Mar 2022 13:33:12 +0200 In-Reply-To: <20220330092313.23584-1-arunisaac@systemreboot.net> References: <20220330091913.23206-1-arunisaac@systemreboot.net> <20220330092313.23584-1-arunisaac@systemreboot.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-+0ul/tgxjXY3jpoOh8mG" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648639994; bh=Rt99+m9oxy2q/mqa4UAZQEsgGBk9U1XQs0xXknTa6zQ=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=XSWhi125HsvvuyRqBqSrdogrr+ZnQqXuN/9/TQ1P2Xq2nEe1uPJsYa9Y3Ct3pHQjO 0UN9pLMGfFu8t6rXcJ9z51/zwWSoOsIyzEKmwAzqwlJxfgVu0TprGCtHzBfTeso8CZ mhIoKYvoCALHGLUd90F/IrLakY+KIxkpjeWmY9Zi0f+fQFCfuB0ThE7FMk7ZgFHIPE AmScu52+ETFz/DPjmTYRdF9c2ygpHWVC/x0zWUmaohD3G/W/nVjH4WA8EIZzw1BX1O FpYzA1xOfbUPS7F73MUMWYWKjl14ZgA1A5QmMqIyWrgMCHWLrOSPOOf1ubRrGk/NsK sAlUggNHyJEJg== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-+0ul/tgxjXY3jpoOh8mG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 QXJ1biBJc2FhYyBzY2hyZWVmIG9wIHdvIDMwLTAzLTIwMjIgb20gMTQ6NTMgWyswNTMwXToKPiAr wqDCoMKgIChuYXRpdmUtaW5wdXRzCj4gK8KgwqDCoMKgIChpZiAodGFyZ2V0LXJpc2N2NjQ/KQo+ ICvCoMKgwqDCoMKgwqDCoMKgIGAoKCJhdXRvY29uZiIgLGF1dG9jb25mKQo+ICvCoMKgwqDCoMKg wqDCoMKgwqDCoCAoImF1dG9tYWtlIiAsYXV0b21ha2UpCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKg ICgibGlidG9vbCIgLGxpYnRvb2wpKQo+ICvCoMKgwqDCoMKgwqDCoMKgICcoKSkpCgpOb3dhZGF5 cyBpbnB1dCBsYWJlbHMgYXJlIG5vdCByZXF1aXJlZCBhbnltb3JlIGhlcmUsIHlvdSBjYW4gZG8K CiAobmF0aXZlLWlucHV0cyAoaWYgKHRhcmdlci1yaXNjdjY0PykgKGxpc3QgYXV0b2NvbmYgYXV0 b21ha2UgbGlidG9vbCkKJygpKSkKCkdyZWV0aW5ncywKTWF4aW1lLgo= --=-+0ul/tgxjXY3jpoOh8mG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkQ/+BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7uv3APsEPzooH+FWdeMH/y+cC5MTMhck OGqVtZQEXI2CdqbcIgEA9unxzKMww/iWfxHvTV7QKYtNGYbHuQxweLBZrImcsww= =32v2 -----END PGP SIGNATURE----- --=-+0ul/tgxjXY3jpoOh8mG-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 07:36:40 2022 Received: (at 54635) by debbugs.gnu.org; 30 Mar 2022 11:36:40 +0000 Received: from localhost ([127.0.0.1]:34682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWcx-0006f0-Tr for submit@debbugs.gnu.org; Wed, 30 Mar 2022 07:36:40 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:33356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWcv-0006eo-GA for 54635@debbugs.gnu.org; Wed, 30 Mar 2022 07:36:37 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id Cbcb2700T4UW6Th06bcb38; Wed, 30 Mar 2022 13:36:36 +0200 Message-ID: Subject: Re: [bug#54635] [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux. From: Maxime Devos To: Arun Isaac , 54635@debbugs.gnu.org Date: Wed, 30 Mar 2022 13:36:34 +0200 In-Reply-To: <20220330092313.23584-1-arunisaac@systemreboot.net> References: <20220330091913.23206-1-arunisaac@systemreboot.net> <20220330092313.23584-1-arunisaac@systemreboot.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-SMM7NYfqE7K3WPZaS2N+" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648640196; bh=oI+T4iYcsRw0dTh/Zp+tfeL7CF6PhkZhQRLkO5Jq7y4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=LiQu9LcxGpyFAKO5CaryNzSMybkGMDojAMN5clzdnQj5LvLD3ConwPRsFiFsgsxW5 yJ0x27Ma5XQm+Zv/onDn0kv92WQxHcFr5iAeniHJXiM0KgoPyo5eGtBGEjTOU+pqIw UaWQTVKWUaopcFO0r3LCSb6BoODVhmfehWsZ+ZO99rcBj43Pm+meN4BN79anQ3pl7k 3r5GAOJeqZ4UT9Hu2CihqbbIA9lwfdhgFlS21S5e+WdI90wrhYJ26C/Nxg+R1MJ5bQ DEutTyEG9C8i/RNs4cXMmQrBt4kLjxtf7YBHxpMJ7wzb4xX6WgmI3lUREFfbmNvzS2 wqcrnIxMY04Kw== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-SMM7NYfqE7K3WPZaS2N+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 QXJ1biBJc2FhYyBzY2hyZWVmIG9wIHdvIDMwLTAzLTIwMjIgb20gMTQ6NTMgWyswNTMwXToKPiDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgICxAKGNvbmQKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqAgKCh0YXJnZXQtcmlzY3Y2ND8pCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgJygo YWRkLWFmdGVyICd1bnBhY2sgJ2ZvcmNlLWJvb3RzdHJhcAo+ICvCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqAgKGxhbWJkYSBfCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqAgOzsgZ3NsIHNoaXBzIHdpdGggYW4gb2xkIGNvbmZpZ3VyZSBzY3JpcHQg dGhhdCBkb2VzIG5vdAo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg IDs7IHN1cHBvcnQgcmlzY3Y2NC4gUmVnZW5lcmF0ZSBpdC4KPiArwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoZGVsZXRlLWZpbGUgImNvbmZpZ3VyZSIpKSkpKQo+ICsK CldEWVQgb2YgbWFraW5nIHRoaXMgdW5jb25kaXRpb25hbD8gIFR3byBiZW5lZml0czoKCiAgKiBp ZiBHdWl4IGlzIHBvcnRlZCB0byBhbm90aGVyIG5ldyBhcmNoaXRlY3R1cmUsCiAgICB0aGVuIG5v IGNoYW5nZXMgYXJlIG5lY2Vzc2FyeSB0byB0aGUgcGFja2FnZSBkZWZpbml0aW9uLgoKICAqICdj b25maWd1cmUnIGFuZCAnTWFrZWZpbGUuaW4nIGFyZSBub3Qgc291cmNlIGNvZGUsCiAgICBhbmQg bW9yZSBkaWZmaWN1bHQgdG8gYXVkaXQgZm9yIHRoaW5ncyBsaWtlIG1hbHdhcmUgdGhhbgogICAg J2NvbmZpZ3VyZS5hYycgYW5kICdNYWtlZmlsZS5hbScuCgpHcmVldGluZ3MsCk1heGltZS4K --=-SMM7NYfqE7K3WPZaS2N+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkRAwhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7przAQCA2vHYr2jzrV62rX78/ie30ubS noeYomSgTzSZtJMYqwD/SnGXSFASebMQgLZ4x00XSBLZI9u82KNLxXceGEL25g8= =kX1Z -----END PGP SIGNATURE----- --=-SMM7NYfqE7K3WPZaS2N+-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 07:40:41 2022 Received: (at 54635) by debbugs.gnu.org; 30 Mar 2022 11:40:41 +0000 Received: from localhost ([127.0.0.1]:34687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWgr-0006l8-Dp for submit@debbugs.gnu.org; Wed, 30 Mar 2022 07:40:41 -0400 Received: from flashner.co.il ([178.62.234.194]:45992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWgq-0006kv-FR for 54635@debbugs.gnu.org; Wed, 30 Mar 2022 07:40:40 -0400 Received: from localhost (unknown [5.102.239.82]) by flashner.co.il (Postfix) with ESMTPSA id D5B304011D; Wed, 30 Mar 2022 11:40:33 +0000 (UTC) Date: Wed, 30 Mar 2022 14:39:54 +0300 From: Efraim Flashner To: Maxime Devos Subject: Re: [bug#54635] [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux. Message-ID: Mail-Followup-To: Efraim Flashner , Maxime Devos , Arun Isaac , 54635@debbugs.gnu.org References: <20220330091913.23206-1-arunisaac@systemreboot.net> <20220330092313.23584-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Wr4C7PFh/yaNGCKg" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Wr4C7PFh/yaNGCKg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 30, 2022 at 01:36:34PM +0200, Maxime Devos wrote: > Arun Isaac schreef op wo 30-03-2022 om 14:53 [+0530]: > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ,@(c= ond > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 ((target-riscv64?) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 '((add-after 'unpack 'force-bootstrap > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lambda _ > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; gsl ships with an ol= d configure script that does not > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; support riscv64. Reg= enerate it. > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (delete-file "configure= "))))) > > + >=20 > WDYT of making this unconditional? Two benefits: >=20 > * if Guix is ported to another new architecture, > then no changes are necessary to the package definition. >=20 > * 'configure' and 'Makefile.in' are not source code, > and more difficult to audit for things like malware than > 'configure.ac' and 'Makefile.am'. This can be with a TODO for core-updates. gsl itself has about 2000 dependant packages. That said, I'm not convinced about unilaterally removing configure unless we make it a policy to remove it. Also, I haven't had trouble with building gsl on riscv64-linux without this patch. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Wr4C7PFh/yaNGCKg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmJEQYgACgkQQarn3Mo9 g1HgSxAAoegHgtmRF76zsby/u/r1yyKOKe2wbcL8DKK1rJMWUUd1he/f8M4YeeCn +jg5UKDS3T7rIXnp95NSnrxEX285sjkmaX0KirsY+aGq4AIbNxg+BB7Zz0aNBkSx RFu29kduN592BsMi1rOYKK1Vhd0P72Xp6q4DewOgMltAjtJIBhJFeZjB4rayotn/ qYULummdFCyodH9gCRL203v3XMgQeuN6hjnXXKqiR45E6LvnaNh1MsPTIS3YDlJA UHhYuyppt2ivYTkBXqFD5k/+dlHDZ3M3Pekxb2xo6ghaOhV1HMJdtRNNeL1eQUUJ BPIZoLs/trbirRxhyN4zGoKaiTxNboQh26qI7hHBPZrz6gndejKL8wM8N+vDTbgr Old3n0/SgmfY8lAJZ5JJ56J6KoPJF8by1LculU1GfjVAjf44sUbZoCH6AM6uImn8 gJXXjLn62t803EpRRUZqT4fxdB8tIcZwYDDO7UNrszK2zIi0GPk8e7QEC9L58Tae tW2PD+cI+uj5p6422bEY1YUNUNJPGQPHQCI+kZrr/4dShI2IjBYryPR1lGkhFsLX zbHxzm4hFWLY6cWHBsGporF6TPRo7DaHnCCTCyXSaeWEV54pdUNhf5aDpJ/EP8cg 7YmQNc2qdajEUZh1OFvfEoC+WNipvDv0gqKoginCAjwwNklwkUQ= =ywNk -----END PGP SIGNATURE----- --Wr4C7PFh/yaNGCKg-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 30 07:49:45 2022 Received: (at 54635) by debbugs.gnu.org; 30 Mar 2022 11:49:45 +0000 Received: from localhost ([127.0.0.1]:34704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWpc-00070l-Ph for submit@debbugs.gnu.org; Wed, 30 Mar 2022 07:49:44 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:43472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWpa-00070c-Bh for 54635@debbugs.gnu.org; Wed, 30 Mar 2022 07:49:43 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id Cbpg2700C4UW6Th01bpgpJ; Wed, 30 Mar 2022 13:49:41 +0200 Message-ID: <848708b853ca9e04c6aa92f14021724dd23af025.camel@telenet.be> Subject: Re: [bug#54635] [PATCH 4/5] gnu: atomic-queue: Do not depend on boost when cross-compiling. From: Maxime Devos To: Arun Isaac , 54635@debbugs.gnu.org Date: Wed, 30 Mar 2022 13:49:35 +0200 In-Reply-To: <20220330092313.23584-4-arunisaac@systemreboot.net> References: <20220330092313.23584-1-arunisaac@systemreboot.net> <20220330092313.23584-4-arunisaac@systemreboot.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-x6iBJWzC1Yc+TMTq6pKS" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648640981; bh=56w3Wuq3gYPQikim73d2g7Ot45a2mm8EcHswdb5jGHk=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=NIy03SaY5AeK4B0MGiwN+u1yVAFYDZxokrYWMAD7zdMuXdulS4to0CFORXWcBlSzp DRNP/cRytV3nJH4sjMyr/HJZizd6A/gqJKTTrN79xDhGxkDBWdzNViF+RE0VSFzJhU zF0FTN0kIUOR4hJQlso2UoKUOc9SUqvgjY7PBgyE3e87nn/Bx1SC7rDBfYOwMZoAOx uAwXlwaiz6zy70mJ8hQsVTfGhVsqE1i22LMryKqZe5zuI5BmDzztA98oi+rzFLVmHq NJ1yjsOv+P7JQiY5Oi/DBmlg6GdG84FuP6BNi6xelPMk/53uMc8EhxCIWjVYZ34eW1 XiuHeUE28FP/w== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-x6iBJWzC1Yc+TMTq6pKS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Arun Isaac schreef op wo 30-03-2022 om 14:53 [+0530]: > * gnu/packages/cpp.scm (atomic-queue)[arguments]: When cross-compiling, a= dd > do-not-check-for-boost phase and delete the build phase. > [native-inputs]: Do not include boost when cross-compiling. I think it's simpler and less tedious to just always include test dependencies in native-inputs, without special-casing cross- compilation. WYDT? Also, being header-only does not per-se mean =E2=80=98no building=E2=80=99.= E.g., what if some of the headers are generated? I think it's a bit simpler and less likely to cause trouble to just always run the build phase, even if sometimes it is a no-op. Greetings, Maxime. --=-x6iBJWzC1Yc+TMTq6pKS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkRDzxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7uzFAQDE+CCL73GXWEncENwvV47x4yJE PaUZr9S+ocStGbasuAEAiRT2LbbTLYLMnXgkJqE3wrVdgz2IAvGTplOWwmybQQY= =gUv1 -----END PGP SIGNATURE----- --=-x6iBJWzC1Yc+TMTq6pKS-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 02:14:09 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 06:14:09 +0000 Received: from localhost ([127.0.0.1]:37478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZo4P-0002RF-GX for submit@debbugs.gnu.org; Thu, 31 Mar 2022 02:14:09 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZo4N-0002R4-41 for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 02:14:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Iy4tIQljG8HOXER6KEG2P2SFXnJoP+2RNn7C9wG/dmk=; b=WXZVFZfprlerk8kSghJI2qeJoY spjoM2NPqkq1hbcMENi3M9XKZBMAIBlF+G7PIxOvReCTeXRzWUqgNAFY8HaZ9l2kZ3QUyE29cjgkc 7YrNI+0K+5L0lyUr3ECpLgIzIPjhCeIlQA1ByDRmXmvf1bajD/H8kQw9P17m0jtSW9hIS8JKfpRSe zOqyTqiHjmBwdLT5iXPK6D8nHtxk3z9yeFIDOuxhqCLaUaXySS1m+sSypAgIUXbntPpc3a+JzPMZ+ cqO0IPRqtnxy9GSK2nsTWkBz+5H60PeXmNlwuOFN61rEXZNqBfk4OHSCymknSkDO7P3XOoJAamnOx bykDxU6A==; Received: from [192.168.2.1] (port=57828 helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZo4J-000UzO-Jr; Thu, 31 Mar 2022 11:44:03 +0530 From: Arun Isaac To: Maxime Devos , 54635@debbugs.gnu.org Subject: Re: [bug#54635] [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux. In-Reply-To: <04d943d67c26bedc32ffcb7951c6eb626e5facaf.camel@telenet.be> References: <20220330091913.23206-1-arunisaac@systemreboot.net> <20220330092313.23584-1-arunisaac@systemreboot.net> <04d943d67c26bedc32ffcb7951c6eb626e5facaf.camel@telenet.be> Date: Thu, 31 Mar 2022 11:44:03 +0530 Message-ID: <87mth6zm1g.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Nowadays input labels are not required anymore here, you can do > > (native-inputs (if (targer-riscv64?) (list autoconf automake libtool) > '())) Yes, indeed! Will remove the input labels in the next version of the patchset. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 02:33:47 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 06:33:47 +0000 Received: from localhost ([127.0.0.1]:37509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZoNP-0002w5-24 for submit@debbugs.gnu.org; Thu, 31 Mar 2022 02:33:47 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZoNL-0002vu-HO for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 02:33:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lk3ZEIiD6QT8sCw0rtogSNiVKA0Qh/6bAKIuGhbHa88=; b=QAw2MnlOu+5qRQNnYWPSEsIHyM xqbfEFq3Db7l4k2g9P/JEIPvjlh5BAss2q4H9kW2iHGFupM6F6cpIqaBrta0r58bA429esTMxoSGu /YR/RzhHSxZcMfibPmf9ig9REeGpaVPZdRfNk/1KvJNFvAJLRM8ep/CwGfn9RY/25MtZuVeWKCUAh NLuSje6FOYEOnpxEbWLtb1NmVCK5ad/AsyE2yFEwUSOG3v2D5lNjY7/OiHBcwOc7WRv0uqjOgUTBU 1DPF9YWGf6h+T3KZUgJv4DPXb/N+taktSnqR5tpEzPlwAIXDgFIhefphxgoLiB298qBQ6db02zLcA ATIt4sVQ==; Received: from [192.168.2.1] (port=57830 helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZoNI-000V23-0e; Thu, 31 Mar 2022 12:03:40 +0530 From: Arun Isaac To: Efraim Flashner , Maxime Devos Subject: Re: [bug#54635] [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux. In-Reply-To: References: <20220330091913.23206-1-arunisaac@systemreboot.net> <20220330092313.23584-1-arunisaac@systemreboot.net> Date: Thu, 31 Mar 2022 12:03:39 +0530 Message-ID: <87k0cazl4s.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ,@(= cond >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 ((target-riscv64?) >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 '((add-after 'unpack 'force-bootstrap >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lambda _ >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; gsl ships with an ol= d configure script that does not >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; support riscv64. Reg= enerate it. >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (delete-file "configure= "))))) >> > + >>=20 >> WDYT of making this unconditional? Two benefits: >>=20 >> * if Guix is ported to another new architecture, >> then no changes are necessary to the package definition. >>=20 >> * 'configure' and 'Makefile.in' are not source code, >> and more difficult to audit for things like malware than >> 'configure.ac' and 'Makefile.am'. > > This can be with a TODO for core-updates. gsl itself has about 2000 > dependant packages. I agree. That was my reasoning as well. If we agree that making it unconditional is the way forward, I can send another patch for core-updates after this patchset is pushed to master. > That said, I'm not convinced about unilaterally removing configure > unless we make it a policy to remove it. Also, I haven't had trouble > with building gsl on riscv64-linux without this patch. Without the force-boostrap phase, the configure phase fails during cross-compilation. --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build --target=3Driscv64-linux-gnu gsl [...] starting phase `configure' source directory: "/tmp/guix-build-gsl-2.7.drv-0/gsl-2.7" (relative from bu= ild: ".") build directory: "/tmp/guix-build-gsl-2.7.drv-0/gsl-2.7" configure flags: ("CC_FOR_BUILD=3Dgcc" "CONFIG_SHELL=3D/gnu/store/4y5m9lb8k= 3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "SHELL=3D/gnu/store/4y= 5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "--prefix=3D/gn= u/store/x7ag3i38ykn2l3f6sfn06bn9356kdk0x-gsl-2.7" "--enable-fast-install" "= --build=3Dx86_64-unknown-linux-gnu" "--host=3Driscv64-linux-gnu" "--disable= -static") checking for a BSD-compatible install... /gnu/store/d251rfgc9nm2clzffzhgiip= dvfvzkvwi-coreutils-8.32/bin/install -c checking whether build environment is sane... yes checking for riscv64-linux-gnu-strip... riscv64-linux-gnu-strip checking for a race-free mkdir -p... /gnu/store/d251rfgc9nm2clzffzhgiipdvfv= zkvwi-coreutils-8.32/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... no checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for a sed that does not truncate output... /gnu/store/wxgv6i8g0p24= q5gcyzd0yr07s8kn9680-sed-4.8/bin/sed checking whether make sets $(MAKE)... (cached) no checking build system type... x86_64-unknown-linux-gnu checking host system type... Invalid configuration `riscv64-linux-gnu': mac= hine `riscv64' not recognized configure: error: /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-= 5.1.8/bin/bash ./config.sub riscv64-linux-gnu failed error: in phase 'configure': uncaught exception: %exception #<&invoke-error program: "/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6h= acd16-bash-minimal-5.1.8/bin/bash" arguments: ("./configure" "CC_FOR_BUILD= =3Dgcc" "CONFIG_SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-mi= nimal-5.1.8/bin/bash" "SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-= bash-minimal-5.1.8/bin/bash" "--prefix=3D/gnu/store/x7ag3i38ykn2l3f6sfn06bn= 9356kdk0x-gsl-2.7" "--enable-fast-install" "--build=3Dx86_64-unknown-linux-= gnu" "--host=3Driscv64-linux-gnu" "--disable-static") exit-status: 1 term-s= ignal: #f stop-signal: #f>=20 phase `configure' failed after 0.3 seconds command "/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin= /bash" "./configure" "CC_FOR_BUILD=3Dgcc" "CONFIG_SHELL=3D/gnu/store/4y5m9l= b8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "SHELL=3D/gnu/store= /4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "--prefix=3D= /gnu/store/x7ag3i38ykn2l3f6sfn06bn9356kdk0x-gsl-2.7" "--enable-fast-install= " "--build=3Dx86_64-unknown-linux-gnu" "--host=3Driscv64-linux-gnu" "--disa= ble-static" failed with status 1 builder for `/gnu/store/fwjvvklmswc9midrcdg6qir2knvmraif-gsl-2.7.drv' faile= d with exit code 1 build of /gnu/store/fwjvvklmswc9midrcdg6qir2knvmraif-gsl-2.7.drv failed View build log at '/var/log/guix/drvs/fw/jvvklmswc9midrcdg6qir2knvmraif-gsl= -2.7.drv.gz'. guix build: error: build of `/gnu/store/fwjvvklmswc9midrcdg6qir2knvmraif-gs= l-2.7.drv' failed --8<---------------cut here---------------end--------------->8--- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 03:24:50 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 07:24:50 +0000 Received: from localhost ([127.0.0.1]:37628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpAo-0004KE-H6 for submit@debbugs.gnu.org; Thu, 31 Mar 2022 03:24:50 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpAj-0004K2-G3 for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 03:24:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=USnJTBsLOugKJKN5pOcJ/iLcH/oLwvll/KPDexQIwWM=; b=e7sT0UjcvQRQlQryOddTTadgGr +xFjO7qCCEgLjeCj++ITANvBoXtUblUER8rldwsa+wN1ARSLY/hYMkcTVSEOXAn/ppGVa7H1stt6W 2zhX4QhW65d6wUu9/Q1Vx8v4DmS2a2Ysuu++AUW0UPPphr9mz/hikFTWiKz9wwhqnE8PhCGElAS4V MscRgoWuC074FS17GUx5DePpeM+oEJjP0ncX6yTrMD9OJ5jBjypwBRf1vx0/+SeiYzlCuVFqNcMcY lEt355ZBI4nHKk0+ltyFNHuS7C9IqwAv5IzA7BaAtxeeZWDkq7XTbeu7zIjxGM7pp2i+zEkg0g7i2 YAD0rfqg==; Received: from [192.168.2.1] (port=57832 helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZpAf-000V5w-Q0; Thu, 31 Mar 2022 12:54:41 +0530 From: Arun Isaac To: Maxime Devos , 54635@debbugs.gnu.org Subject: Re: [bug#54635] [PATCH 4/5] gnu: atomic-queue: Do not depend on boost when cross-compiling. In-Reply-To: <848708b853ca9e04c6aa92f14021724dd23af025.camel@telenet.be> References: <20220330092313.23584-1-arunisaac@systemreboot.net> <20220330092313.23584-4-arunisaac@systemreboot.net> <848708b853ca9e04c6aa92f14021724dd23af025.camel@telenet.be> Date: Thu, 31 Mar 2022 12:54:41 +0530 Message-ID: <87h77ezirq.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > I think it's simpler and less tedious to just always include test > dependencies in native-inputs, without special-casing cross- > compilation. WYDT? Sure, agreed! > Also, being header-only does not per-se mean =E2=80=98no building=E2=80= =99. E.g., what > if some of the headers are generated? I think it's a bit simpler and > less likely to cause trouble to just always run the build phase, even > if sometimes it is a no-op. Agreed too! Will address both in the next version of my patchset. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 03:29:08 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 07:29:08 +0000 Received: from localhost ([127.0.0.1]:37632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpEv-0004Qc-1d for submit@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:08 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpEs-0004QQ-Pp for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=89RmlLIFLrDguICsp52XrOOutjN3JQ9crwx+mZjeVKo=; b=qRKNGNQyjGhl6z4MZAvFJY7INH QvsJOtO7D0x8SnS4hMb3yiJcQ4p5k14lCI80uy5q8rNRhGkAXSfaN6Jsj0rxLySMqfhAvLp18iiSB tQGYPuMa/K84BRlOXWt7PQrnnd/zFdgPg/Pz1hJmO1vqNpSlmkR9nQGdBpMJs3o6Z1tiK3qTGdZKH YNJKO4HGaItjhNCrZptkhfRmcojSmicsUBCNvbmWC9Cwto4K11wovi+G1WGNjMKNzZcIAVCxFHUX/ HZjDJ1BNgZd64z2HNmh0DtKVbihSKcPfU8mf/8EJtX7rN1Thd34v88fjDMgLAj8j1y/Dc/so4vL67 9K/jcaeA==; Received: from [192.168.2.1] (port=47376 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZpEh-000V88-E4; Thu, 31 Mar 2022 12:58:51 +0530 From: Arun Isaac To: Efraim Flashner , Maxime Devos Subject: [PATCH v2 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux. Date: Thu, 31 Mar 2022 12:58:45 +0530 Message-Id: <20220331072849.22417-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/maths.scm (gsl)[arguments]: Force autotools bootstrap when cross-compiling to riscv64-linux. [native-inputs]: Add autoconf, automake and libtool when cross-compiling to riscv64-linux. --- gnu/packages/maths.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index ecb85642ec..a05f89cb4e 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -19,7 +19,7 @@ ;;; Copyright © 2017 Nikita ;;; Copyright © 2017 Ben Woodcroft ;;; Copyright © 2017 Theodoros Foradis -;;; Copyright © 2017, 2019 Arun Isaac +;;; Copyright © 2017, 2019, 2022 Arun Isaac ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice ;;; Copyright © 2017 Dave Love ;;; Copyright © 2018, 2019, 2020, 2021 Jan (janneke) Nieuwenhuizen @@ -533,6 +533,13 @@ (define-public gsl #:phases (modify-phases %standard-phases ,@(cond + ((target-riscv64?) + '((add-after 'unpack 'force-bootstrap + (lambda _ + ;; gsl ships with an old configure script that does not + ;; support riscv64. Regenerate it. + (delete-file "configure"))))) + ((or (string-prefix? "aarch64" system) (string-prefix? "powerpc" system)) ;; Some sparse matrix tests are failing on AArch64 and PowerPC: @@ -568,6 +575,10 @@ (define-public gsl (string-append "exit (77);\n" all))))))) (else '())))))) + (native-inputs + (if (target-riscv64?) + (list autoconf automake libtool) + '())) (home-page "https://www.gnu.org/software/gsl/") (synopsis "Numerical library for C and C++") (description -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 03:29:09 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 07:29:09 +0000 Received: from localhost ([127.0.0.1]:37637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpEz-0004R3-FA for submit@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:09 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpEx-0004Qg-2k for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zCzIPrvcABlLLfgBuYEpTJo55fiBaLAVkuvkcQrTmFE=; b=E6L0KOHHXS4mwD3V+LY0OuRf+s Uep6SyCLyIb4zM7dzRWuz3s8BEoCGW5V7eICzHjrGtzhXTN7vwUuOXSD5+KfQDAwEbaU2M1m1GXcp eeS+VjYtM+rqnHS5VrTpTl38WIRHWStrrcj8es/w0qTgF/lZ9TAf9ohxd11nDDcK+BdOf/6k3GynK iJfRqmD0T8ZNzI6xASAit96rV0opb8CFdmvX8kmwOUm2VHOms16y4OXmpoFCVIWVClv78SfJfWcx9 +ZcQ8L/PmgO026OzvBbPG7QeWMk83OecuJ3LyxPc/IDFH1czu1IRs6ds1xydkry0AzRauVrkWoy6O MWl2HW0g==; Received: from [192.168.2.1] (port=47376 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZpEi-000V88-13; Thu, 31 Mar 2022 12:58:52 +0530 From: Arun Isaac To: Efraim Flashner , Maxime Devos Subject: [PATCH v2 3/5] gnu: atomic-queue: Run tests correctly. Date: Thu, 31 Mar 2022 12:58:47 +0530 Message-Id: <20220331072849.22417-3-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/cpp.scm (atomic-queue)[arguments]: In the check phase, run tests instead of returning a function to run them. --- gnu/packages/cpp.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index bb7f5ab95a..eb48902034 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1297,8 +1297,7 @@ (define-public atomic-queue (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (lambda _ - (invoke "make" "run_tests"))))) + (invoke "./tests")))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (copy-recursively "../source/include/atomic_queue" -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 03:29:13 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 07:29:13 +0000 Received: from localhost ([127.0.0.1]:37640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpF2-0004RK-S8 for submit@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:13 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpEx-0004Qf-2W for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qdxbq1pvz3OvQqxf4iO+hoUkerdg5PrwZlSuFuVyO6I=; b=W6imaFCsxxe6fqOSS8UoOY0lIj 5paIlTeGF0GLeKVoB13rj91PBYH+VxpZTtC6QlI4XdLPfy7CgxecxolLZoiu2hyGQpkR66nhvERET 9H9tbAZAlvJXifTnW65TSmKITcw8LvjOaCWZScJYUjTfXsEuaJEeMoTTnH+0ITyZPtHKGauAltPtz gDKRUgJVQ79xITQhLt3HpN/LTmjeLE3+QBinMNTiNizSbzSmJCqytMXLUaDEPNmaYE2vKzeNPogDT jzij9+j2Y1t8jhhthQsblwzIWadsNju+YPpT+5XP4kcHD+YTNm3mfiyUMJLLa9MLQrXpL4g4J3DyI wTyptS3g==; Received: from [192.168.2.1] (port=47376 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZpEi-000V88-Lq; Thu, 31 Mar 2022 12:58:52 +0530 From: Arun Isaac To: Efraim Flashner , Maxime Devos Subject: [PATCH v2 5/5] gnu: Add wfmash. Date: Thu, 31 Mar 2022 12:58:49 +0530 Message-Id: <20220331072849.22417-5-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/bioinformatics.scm (wfmash): New variable. --- gnu/packages/bioinformatics.scm | 51 +++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 2f6f3efb66..500ba4ac60 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -16107,3 +16107,54 @@ (define-public ccwl @acronym{EDSL, Embedded Domain Specific Language} in the Scheme programming language.") (license license:gpl3+))) + +(define-public wfmash + (package + (name "wfmash") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/ekg/wfmash/releases/download/v" + version "/wfmash-v" version ".tar.gz")) + (sha256 + (base32 + "031cm1arpfckvihb28vlk69mirpnmlag81zcscfba1bac58wvr7c")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Unbundle atomic-queue. + (delete-file-recursively "src/common/atomic_queue") + (substitute* "src/align/include/computeAlignments.hpp" + (("\"common/atomic_queue/atomic_queue.h\"") + "")))))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + ;; Remove compiler flags and checks specific to x86 when not + ;; targeting it. + ,@(if (target-x86-64?) + '() + '((add-after 'unpack 'remove-x86-specific-compile-flags + (lambda _ + (substitute* (find-files "." "CMakeLists\\.txt") + (("-mcx16") "") + (("-march=native") "")) + (substitute* "src/common/dset64.hpp" + (("!__x86_64__") "0"))))))))) + (inputs + (list atomic-queue + gsl + htslib + jemalloc + zlib)) + (synopsis "Base-accurate DNA sequence aligner") + (description "@code{wfmash} is a DNA sequence read mapper based on mash +distances and the wavefront alignment algorithm. It is a fork of MashMap that +implements base-level alignment via the wflign tiled wavefront global +alignment algorithm. It completes MashMap with a high-performance alignment +module capable of computing base-level alignments for very large sequences.") + (home-page "https://github.com/ekg/wfmash") + (license license:expat))) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 03:29:13 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 07:29:13 +0000 Received: from localhost ([127.0.0.1]:37642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpF3-0004RQ-5x for submit@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:13 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpEw-0004Qe-DI for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7vNXv7lUJiAVR/n2OTfZzpM62iwa6YV6yQWykxxu3s4=; b=CbNvm1aWNQdexYMnf68JxgaUe4 zYW36IPVW+gvP/ysd005pGK7HtrCro6oqbwo7OGcHqUIoRjHm8X0XqCEHS0AvnqYUTgPVK51Qi86W cFrLmdSAlMtenJCSAIO5aQjHEWUWTdav7c4IruhQdd8i3QvtqnTkOLD11f8Os6e//xG2us0Ygxi9L I4tgx9M8QTWmTymdO387Re/EKEfYDN/vhWqwn0ADtJqlS3k6rlQBuRfVb4VWsjMGxg9kSo8PRPjV1 jC5sHdCJ5hcWZrgcmcFkhJO7WsRX6THI2xNOUoBsyiVrrg3a6oJv2LCQsyhrlcGU7YamdX3s8THrA Dih0G6Zw==; Received: from [192.168.2.1] (port=47376 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZpEh-000V88-Nt; Thu, 31 Mar 2022 12:58:51 +0530 From: Arun Isaac To: Efraim Flashner , Maxime Devos Subject: [PATCH v2 2/5] gnu: htslib: Add bzip2 and xz to inputs. Date: Thu, 31 Mar 2022 12:58:46 +0530 Message-Id: <20220331072849.22417-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) htslib links to libbz2 from bzip2 and liblzma from xz. Therefore, bzip2 and xz should be listed in inputs even though they are already present implicitly in native-inputs. Else, cross-compilation will fail. * gnu/packages/bioinformatics.scm (htslib)[inputs]: Add bzip2 and xz. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 4e1028b3ce..2f6f3efb66 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2016, 2020, 2022 Marius Bakke ;;; Copyright © 2016, 2018 Raoul Bonnal ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice -;;; Copyright © 2017, 2021 Arun Isaac +;;; Copyright © 2017, 2021, 2022 Arun Isaac ;;; Copyright © 2018 Joshua Sierles, Nextjournal ;;; Copyright © 2018 Gábor Boskovits ;;; Copyright © 2018, 2019, 2020, 2021 Mădălin Ionel Patrașcu @@ -4788,7 +4788,7 @@ (define-public htslib "--enable-libcurl" "--enable-s3"))) (inputs - (list curl openssl)) + (list bzip2 curl openssl xz)) ;; This is referred to in the pkg-config file as a required library. (propagated-inputs (list zlib)) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 03:29:19 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 07:29:19 +0000 Received: from localhost ([127.0.0.1]:37644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpF8-0004Rh-Id for submit@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:18 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpF2-0004RH-AW for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=urVEWQh6U0Sizl7naOjWCvAZ/L4J1AfvavArtLdRRRU=; b=c8auhFRRP6d14xqDDnSsZK5E/a z6QZHoNzfSybM0wb/gKv2QgXsT9GvGMO1XbbOEuWi9OQjqwkiTETYN11fq8uReUe3XIhOI4IvlZAU OFr9fhiUFqktd32T8eIWFsPsDJZu4wjTuH9PZU0m/wznK7Y+xURi7ogzUw0HgyFZLc6pNZT3i/KJR 4aTmRQPT4EhsruotkFggvlikao6z+nY6glh5ArfvfL1KEL8LwuX/i0xXQmy4jkht4xTfaNj74GZmO dKaKRoAkV50tyl9bC96z1i/Xl0D6p9dl4w1R1PsRyCinb2OSgFy0hG5D9NLbEqRfq1JlmvYwmqKf2 DRRON7rQ==; Received: from [192.168.2.1] (port=47376 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZpEi-000V88-Al; Thu, 31 Mar 2022 12:58:52 +0530 From: Arun Isaac To: Efraim Flashner , Maxime Devos Subject: [PATCH v2 4/5] gnu: atomic-queue: Do not look for boost when cross-compiling. Date: Thu, 31 Mar 2022 12:58:48 +0530 Message-Id: <20220331072849.22417-4-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/cpp.scm (atomic-queue)[arguments]: When cross-compiling, add a do-not-check-for-boost phase. --- gnu/packages/cpp.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index eb48902034..b0d4fdeb3e 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1294,6 +1294,15 @@ (define-public atomic-queue `(#:configure-flags '("-Dbenchmarks=false") #:phases (modify-phases %standard-phases + ,@(if (%current-target-system) + `(;; boost is a test dependency. We don't run tests when + ;; cross-compiling. Disable all targets that depend on it. + (add-after 'unpack 'do-not-check-for-boost + (lambda _ + (substitute* "meson.build" + (("unit_test_framework = [^\n]*" all) + "unit_test_framework = disabler()"))))) + '()) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 07:29:53 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 11:29:53 +0000 Received: from localhost ([127.0.0.1]:38073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZszx-0002kH-Fy for submit@debbugs.gnu.org; Thu, 31 Mar 2022 07:29:53 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:42020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZszv-0002k9-RZ for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 07:29:52 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id CzVp2700Y4UW6Th06zVqQZ; Thu, 31 Mar 2022 13:29:50 +0200 Message-ID: Subject: Re: [bug#54635] [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux. From: Maxime Devos To: Arun Isaac , Efraim Flashner Date: Thu, 31 Mar 2022 13:29:48 +0200 In-Reply-To: <87k0cazl4s.fsf@systemreboot.net> References: <20220330091913.23206-1-arunisaac@systemreboot.net> <20220330092313.23584-1-arunisaac@systemreboot.net> <87k0cazl4s.fsf@systemreboot.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-c7v98H2wlsHDR3FmBvq9" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648726190; bh=7iy7i1gwo35awOvbaqD/gbUbQbaGAdUen4EvN7HWNd4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=YcAVdc7bsg6dvaVtrF5gESv4ikh9+fR9AaPY9K5Bz4ig9D+pjebzUMy2S5s/TL4Xc KZvoX5Tz/FUyIN2vBnbKjSHLHABY2k96jJvV0VAAffCIa8CaM3AyGqRIVcZSqu5aaa 2qPFJs9+slHfVo2U3dvYmF2nEG+KPioyEb2AFlmO51zNmwrtJeZHwJio/zmBEQQjx2 q8HYd7Gu+wJOCu9YelRQwkGq7F2Qeb+BwgzBo/FIE9LMaIcn57dJ1uw7Ge17U0Iudh Vc2BFuz6vslY/kbR0XsvT0PZEfdj4f4JQKWwNhC+PxBOlMRxyGcXfKTD+yIufxEVZl luDRKHjntSUfw== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-c7v98H2wlsHDR3FmBvq9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Arun Isaac schreef op do 31-03-2022 om 12:03 [+0530]: > > > WDYT of making this unconditional?=C2=A0 Two benefits: > > >=20 > > > =C2=A0=C2=A0 * if Guix is ported to another new architecture, > > > =C2=A0=C2=A0=C2=A0=C2=A0 then no changes are necessary to the package= definition. > > >=20 > > > =C2=A0=C2=A0 * 'configure' and 'Makefile.in' are not source code, > > > =C2=A0=C2=A0=C2=A0=C2=A0 and more difficult to audit for things like = malware than > > > =C2=A0=C2=A0=C2=A0=C2=A0 'configure.ac' and 'Makefile.am'. > >=20 > > This can be with a TODO for core-updates. gsl itself has about 2000 > > dependant packages. >=20 > I agree. That was my reasoning as well. If we agree that making it > unconditional is the way forward, I can send another patch for > core-updates after this patchset is pushed to master. I started an e-mail thread about this at . Greetings, Maxime. --=-c7v98H2wlsHDR3FmBvq9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkWQrBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qSFAQDTuaUm7RFy+0+7mVUDgXPGmbVe 03UbOjRuyAwuYS5AZwEAqVvJtMmTd3XOLnI13AD4VpEheMQJ6hNO0BJH71MtDA4= =o9az -----END PGP SIGNATURE----- --=-c7v98H2wlsHDR3FmBvq9-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 07:34:32 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 11:34:33 +0000 Received: from localhost ([127.0.0.1]:38088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZt4S-00052S-Ne for submit@debbugs.gnu.org; Thu, 31 Mar 2022 07:34:32 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:50010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZt4R-00052K-Ar for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 07:34:31 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id CzaW2700T4UW6Th06zaWgK; Thu, 31 Mar 2022 13:34:30 +0200 Message-ID: <41db70e1e90803d02444ea5c0ffae0e0d6309700.camel@telenet.be> Subject: Re: [PATCH v2 5/5] gnu: Add wfmash. From: Maxime Devos To: Arun Isaac , Efraim Flashner Date: Thu, 31 Mar 2022 13:34:29 +0200 In-Reply-To: <20220331072849.22417-5-arunisaac@systemreboot.net> References: <20220331072849.22417-5-arunisaac@systemreboot.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-vqum5sGE4V9EGmEU4+fw" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648726470; bh=JQBBiRZMqiNDJlwx3awBn1YDcNerVSliQ+4peYI2xEg=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=biA+iU7RSyzfizo37PVsDw2l0bNDiXU27m14qGgPxNNiKp4audal6SNxWvY/IoLok MJgJnc+Hhr18C4ETBGKr905S0Wqix82N1lRnpITfSGpFAP73obHnDMRYvVGW8+p2nm 8OraXqPhYS3FP0Q2bDlY1yhKMyv9KRPIDbiEkYwsn1QvVyrDyXA85+2dohfDIexpfm eIi0D2drR5/pfJwcWr6vdROCeYC0otHXEcln3oL92U9g1syBYjC/ijd9ww0bsq9+FW iy/gUKEgkGImKfExbbrFG7HaxZR9RO2sm9dB9KYy5iO4PsUaRouhSg4h6yEReRqH4t lGboFGFE+ulbg== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-vqum5sGE4V9EGmEU4+fw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Arun Isaac schreef op do 31-03-2022 om 12:58 [+0530]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (("-march=3Dna= tive") "")) This is also wrong for x86 systems because it makes the build non- reproducible. Also, has upstream been informed about some of the compiler flags being architecture-specific? Greetings, Maxime. --=-vqum5sGE4V9EGmEU4+fw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkWRxRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gstAP0RrwO4JZ0rAerFNEIKaHCxfvUY rZKRUgKb6TFniKPqZQD+MI0UhDhhOMCJboXwLAN+CsDg6Ns15c+u05cpASwmvwQ= =VBBR -----END PGP SIGNATURE----- --=-vqum5sGE4V9EGmEU4+fw-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 08:19:11 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 12:19:11 +0000 Received: from localhost ([127.0.0.1]:38191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZtlf-000270-M5 for submit@debbugs.gnu.org; Thu, 31 Mar 2022 08:19:11 -0400 Received: from flashner.co.il ([178.62.234.194]:46844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZtld-00026m-Mj for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 08:19:10 -0400 Received: from localhost (unknown [5.102.239.82]) by flashner.co.il (Postfix) with ESMTPSA id C6E7240023; Thu, 31 Mar 2022 12:19:03 +0000 (UTC) Date: Thu, 31 Mar 2022 15:18:21 +0300 From: Efraim Flashner To: Maxime Devos Subject: Re: [PATCH v2 5/5] gnu: Add wfmash. Message-ID: Mail-Followup-To: Efraim Flashner , Maxime Devos , Arun Isaac , 54635@debbugs.gnu.org References: <20220331072849.22417-5-arunisaac@systemreboot.net> <41db70e1e90803d02444ea5c0ffae0e0d6309700.camel@telenet.be> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7+1VMiyNyHhDRPBC" Content-Disposition: inline In-Reply-To: <41db70e1e90803d02444ea5c0ffae0e0d6309700.camel@telenet.be> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --7+1VMiyNyHhDRPBC Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 31, 2022 at 01:34:29PM +0200, Maxime Devos wrote: > Arun Isaac schreef op do 31-03-2022 om 12:58 [+0530]: > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (("-march= =3Dnative") "")) >=20 > This is also wrong for x86 systems because it makes the build non- > reproducible. Also, has upstream been informed about some of the > compiler flags being architecture-specific? I'm pretty sure upstream is aware of it, and the -mcx16 flag. That whole phase doesn't need to be non-x86_64 only, upstream prefers it that way to get fater results but IMO it would be fine to move it into a snippet. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --7+1VMiyNyHhDRPBC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmJFnAsACgkQQarn3Mo9 g1HfGA//cpMglg4yDTptiU1hN1Q6pOV4io4ehyUS+tqdvhTYZZ7O6/K+yemThL4I cgd6kVEcGrK1QEBjJaGfSQ/NfIzxS8ryg6ol0RueYbXaHxt4jJd5WlLYpGvWB1Zv hiBO/odNTgN1zKq78cvfHJutfD8nZsoFTa4ZaNuE5qj4QAVA4OEcB+42lBFEzj9D yOJo1gUMOFbZU21PqcGiKeqD9Q5q9YeoBmByzP4MWgUmch46fpertBFFj2P13d8q 2n2nJkDlKQKz5n+Zp8ibvyvenGg8w1H9jdHcmvycGijNx+fpX4SnN+/fMu7NDr5u uEgLUigcXECUG0nwv9+7nQi/EzGUBK+qgKP/OBV84D8kkD0IohYynazBqd2rM/Op zHgLUFhXXy3+7nF3dwxACQFsc85gMoL0teXQxK7U5GPUvIUcdfyMjvNWpsr77XoL GaivlXnHKfEbbxzyb6hSKfpPD15JHdDR5vkyyy/4VtkL2y0Rz94UUxYA5+lCFL4y b9PUy3Y6rj6lezvoKzz18BvQiiDuudahoSVssH8UOG+ATLSLlGJC+UrJTMYUTYut LJWo/vSb4SabGC2RmfkDmCijnoMadzJNSlxD6tkeDLk0AvDXSGabVYAFrAtJ2kQU qf3FCU8eNNVHTS0KaE2h+ijMUlXgcLLiMe/1qtm0pTUgAjswhew= =MBAx -----END PGP SIGNATURE----- --7+1VMiyNyHhDRPBC-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 08:36:11 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 12:36:11 +0000 Received: from localhost ([127.0.0.1]:38227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZu27-0004ip-2R for submit@debbugs.gnu.org; Thu, 31 Mar 2022 08:36:11 -0400 Received: from flashner.co.il ([178.62.234.194]:47224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZu24-0004ia-Oe for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 08:36:09 -0400 Received: from localhost (unknown [5.102.239.82]) by flashner.co.il (Postfix) with ESMTPSA id A68C640023; Thu, 31 Mar 2022 12:36:02 +0000 (UTC) Date: Thu, 31 Mar 2022 15:35:20 +0300 From: Efraim Flashner To: Arun Isaac Subject: Re: [bug#54635] [PATCH 1/5] gnu: gsl: Force bootstrap when cross-compiling to riscv64-linux. Message-ID: Mail-Followup-To: Efraim Flashner , Arun Isaac , Maxime Devos , 54635@debbugs.gnu.org References: <20220330091913.23206-1-arunisaac@systemreboot.net> <20220330092313.23584-1-arunisaac@systemreboot.net> <87k0cazl4s.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pIPAtajNCU2EQRLC" Content-Disposition: inline In-Reply-To: <87k0cazl4s.fsf@systemreboot.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org, Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --pIPAtajNCU2EQRLC Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 31, 2022 at 12:03:39PM +0530, Arun Isaac wrote: >=20 > >> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ,= @(cond > >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 ((target-riscv64?) > >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 '((add-after 'unpack 'force-bootstrap > >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lambda _ > >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; gsl ships with an= old configure script that does not > >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; support riscv64. = Regenerate it. > >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (delete-file "config= ure"))))) > >> > + > >>=20 > >> WDYT of making this unconditional? Two benefits: > >>=20 > >> * if Guix is ported to another new architecture, > >> then no changes are necessary to the package definition. > >>=20 > >> * 'configure' and 'Makefile.in' are not source code, > >> and more difficult to audit for things like malware than > >> 'configure.ac' and 'Makefile.am'. > > > > This can be with a TODO for core-updates. gsl itself has about 2000 > > dependant packages. >=20 > I agree. That was my reasoning as well. If we agree that making it > unconditional is the way forward, I can send another patch for > core-updates after this patchset is pushed to master. >=20 > > That said, I'm not convinced about unilaterally removing configure > > unless we make it a policy to remove it. Also, I haven't had trouble > > with building gsl on riscv64-linux without this patch. >=20 > Without the force-boostrap phase, the configure phase fails during > cross-compilation. >=20 > --8<---------------cut here---------------start------------->8--- =2E.snip.. > --8<---------------cut here---------------end--------------->8--- I somehow missed that when I was testing it before. It builds fine natively on riscv64-linux and I haven't tested cross-building from riscv64-linux to another architecture. I think for now we can tag it as (target-riscv64?) and (%current-target-system) so it only takes effect when needed. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --pIPAtajNCU2EQRLC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmJFoAgACgkQQarn3Mo9 g1H93g//edLAeCpCtFeziUbaQZeCSmK4jwK1d9VL4koOJg6uK+TEWMHkrLJxAZ7A Q3ShizTjmjVeJaMv/EqFZNO7FZprcVj72H6+6F+D1R0YEy89NSRvdUPMssA9ng1b rbSLLv+8KYhKUP8lTHhxhhesylZMZD6aQrT/4njgxV4WN7LMaOM6pEkvMPQ+GOG0 UdcetnlZdsulbCXpqRnjjJMqXZjisZHSKVd+b17ajCMtgxE5ywHj/lWrbhNkjnsw mCYgCBbnx7cxZM8/gRP09WcANcfVZWlPE3r+g2+PI7hjDJ4W+dKkh8EeTyecyvZq c+jJU+kmjSEfKuLsiRUTgh1F286kGtZREyMVjzuLbIsAR+WI03IUCQAls7pjliod GmJkJwe9sLX9O1qAyTNuoPOVj+VUF3F9If+eeYpQlJS3GCPluBHK3wz78+4Jhn62 4abHy/3LNAPxNXLH7VtMQcv39rFz3gPkHyV0Rikm0TiJiiVhXcWCGVJEle+YAUYN VKvOnBfPnC1rxAVvbWyD6ie/v8dp+xNjU3hZsRl1p8FbSyORqaqnW4HeJIe1pNys fvJ6EXIqWiSTGf+Dhn45QuFF2zUjSWZf8y+wxsm69Hew0wJrfjx0Wy0fvAwH7HhM WJ99UMHcopoU4LsL2QfBPVySsg+iK26RCR6g/qq1NkpzBEyEHDw= =4Unz -----END PGP SIGNATURE----- --pIPAtajNCU2EQRLC-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 09:08:01 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 13:08:01 +0000 Received: from localhost ([127.0.0.1]:38257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZuWv-0005YO-1Q for submit@debbugs.gnu.org; Thu, 31 Mar 2022 09:08:01 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:45790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZuWs-0005YD-6x for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 09:07:59 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id D17v2700V4UW6Th0117w65; Thu, 31 Mar 2022 15:07:56 +0200 Message-ID: Subject: Re: [PATCH v2 5/5] gnu: Add wfmash. From: Maxime Devos To: Efraim Flashner Date: Thu, 31 Mar 2022 15:07:49 +0200 In-Reply-To: References: <20220331072849.22417-5-arunisaac@systemreboot.net> <41db70e1e90803d02444ea5c0ffae0e0d6309700.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-pKJXKbGidOaop7/pL8w+" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648732076; bh=HDzUnFrotvfdL3NJDjf4L9TfGEgk0tzj3ay87f8xUS8=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=mQl6t7YgGaGp8ZwX/G6e7fjWb+8Cxk8gTnZiQhcUJUufbRy/6W1iuC97D5SwYxJi0 O0mzyIXwkKU8HrHXpNHNrik8iS5obbPNUKFiJKz/T4KOL38SnkL6SvJFEbKWfrOKI9 4lYGuFdYaQKDuUYtA02xABMuvbKnJde/xCNvG7lQ4HHMXhJLiwbpt70fbPg3EI9nRh vTRrkZMaHJ6E7g5wIrS1OjeyFT3zggYDJ98xMZAsXslvitFaPjYuwJmxCpIQpqQHiy YT96ei4IMjmBBeAAUCB5JQnnaKhvgOakfBnoRI5QX1vyuYpJK+UZhCvliKUCrmUeR2 D0aIPxfYNOzFA== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-pKJXKbGidOaop7/pL8w+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Efraim Flashner schreef op do 31-03-2022 om 15:18 [+0300]: > > Arun Isaac schreef op do 31-03-2022 om 12:58 [+0530]: > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (("-marc= h=3Dnative") "")) > >=20 > > This is also wrong for x86 systems because it makes the build non- > > reproducible.=C2=A0 Also, has upstream been informed about some of the > > compiler flags being architecture-specific? >=20 > I'm pretty sure upstream is aware of it, and the -mcx16 flag. That > whole phase doesn't need to be non-x86_64 only, upstream prefers it > that way to get fater results wfmash could be written to detect CPU features at runtime and there is also --tune. Also, upstream preferring march=3Dnative does not make the build reproducible. > but IMO it would be fine to move it into a snippet. It does not have to be in a snippet, it just needs to be reproducible (so no march=3Dnative, whether on x86 or not). Upstream seems to be aware of the non-x86 (https://github.com/ekg/wfmash/issues/125) but they do not seem to be aware of the problems with march=3Dnative. Greetings, Maxime --=-pKJXKbGidOaop7/pL8w+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkWnpRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7o9bAQCFIikxPU4bS66nUKdMf5I3qQhE Rccbyx7CaBeKu1zE2AD+OZ1+U6noeMuJSVbWfGDLE18eP8vPt3P0pQbwJa9vfA4= =Bsnw -----END PGP SIGNATURE----- --=-pKJXKbGidOaop7/pL8w+-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 09:09:56 2022 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 13:09:56 +0000 Received: from localhost ([127.0.0.1]:38264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZuYm-0005bb-Kt for submit@debbugs.gnu.org; Thu, 31 Mar 2022 09:09:56 -0400 Received: from flashner.co.il ([178.62.234.194]:47988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZuYl-0005bN-EG for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 09:09:55 -0400 Received: from localhost (unknown [5.102.239.82]) by flashner.co.il (Postfix) with ESMTPSA id 341CA40023; Thu, 31 Mar 2022 13:09:49 +0000 (UTC) Date: Thu, 31 Mar 2022 16:09:07 +0300 From: Efraim Flashner To: Maxime Devos Subject: Re: [PATCH v2 5/5] gnu: Add wfmash. Message-ID: Mail-Followup-To: Efraim Flashner , Maxime Devos , Arun Isaac , 54635@debbugs.gnu.org References: <20220331072849.22417-5-arunisaac@systemreboot.net> <41db70e1e90803d02444ea5c0ffae0e0d6309700.camel@telenet.be> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vBt0S0p2Ah3wRLtz" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635 Cc: 54635@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --vBt0S0p2Ah3wRLtz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 31, 2022 at 03:07:49PM +0200, Maxime Devos wrote: > Efraim Flashner schreef op do 31-03-2022 om 15:18 [+0300]: > > > Arun Isaac schreef op do 31-03-2022 om 12:58 [+0530]: > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (("-marc= h=3Dnative") "")) > > >=20 > > > This is also wrong for x86 systems because it makes the build non- > > > reproducible.=C2=A0 Also, has upstream been informed about some of the > > > compiler flags being architecture-specific? > >=20 > > I'm pretty sure upstream is aware of it, and the -mcx16 flag. That > > whole phase doesn't need to be non-x86_64 only, upstream prefers it > > that way to get fater results >=20 > wfmash could be written to detect CPU features at runtime and there is > also --tune. Also, upstream preferring march=3Dnative does not make the > build reproducible. >=20 > > but IMO it would be fine to move it into a snippet. >=20 > It does not have to be in a snippet, it just needs to be reproducible > (so no march=3Dnative, whether on x86 or not). >=20 > Upstream seems to be aware of the non-x86 > (https://github.com/ekg/wfmash/issues/125) but they do not seem to be > aware of the problems with march=3Dnative. I will let them know. I also added a patch which runs a test suite based on the github action. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --vBt0S0p2Ah3wRLtz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmJFp/AACgkQQarn3Mo9 g1GpxRAAv4oOo35KZ44eyNjoojyQUkjO/b6KuG4RsaLdz71p5aoThFVCPDcz5tWf l9r4hdCj3Dbg78lqeY3o7NZ1o9yiSFftMZDd5NDlwUAb6W2SROWGLttx00GyWpcR eqi1wnUQzLyUBPnzyxnesUivfZuQ2NvfklnX/yzKKJpD5AEuzMw3aqgXLOqhog/m ELMv2SjyPnllr7GKAx0hDEnq1L6tnf43aPCBDTGONwBnUP15nk5vfc609557zIQx gfMkAE4L1wOCxp1nhaqddt2KopNMO3Vi8V8YcTANhrM8ouRmKPTy1Mgfp8enmXy4 8uqRlURS861npqM0QvNIj9gJiKpOUi6x2jOmlFTV6tFWV3lc8PtvkEz5FwoXwT3h 9iI3O1ID5LpqjYbdMUkG+JVXY/Ctxg6FkcSx4bM5r6EYJSOWyAxz9ax4EGcJ9JVS AK7Id30v23AfVOA48qUHNuHdTgTRMT5gi5NLOV2I9NLpM2seGIcOGEiRL+J/0nez hOFDrtUQObm6HuNS1wcaP0RhaxCigse6jB5C5BiYLGVR1UUwgP4A29Gj2ZmFydw8 emTHdK2IjnNguDIdkjDYe0VeejplJRiEN/pft6+sTzWBA3gxk6PPhrG8tO4E8dRG GCIvlv6yRuAG++CGwtvmyoQT5vSP6chBYHmGuyvlf/yw3WfnLlw= =Evhb -----END PGP SIGNATURE----- --vBt0S0p2Ah3wRLtz-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 31 09:32:18 2022 Received: (at 54635-done) by debbugs.gnu.org; 31 Mar 2022 13:32:18 +0000 Received: from localhost ([127.0.0.1]:38290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZuuQ-00069Y-4K for submit@debbugs.gnu.org; Thu, 31 Mar 2022 09:32:18 -0400 Received: from flashner.co.il ([178.62.234.194]:48476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZuuO-00069M-Dv for 54635-done@debbugs.gnu.org; Thu, 31 Mar 2022 09:32:16 -0400 Received: from localhost (unknown [5.102.239.82]) by flashner.co.il (Postfix) with ESMTPSA id 6290C40023; Thu, 31 Mar 2022 13:32:10 +0000 (UTC) Date: Thu, 31 Mar 2022 16:31:28 +0300 From: Efraim Flashner To: Maxime Devos Subject: Re: [PATCH v2 5/5] gnu: Add wfmash. Message-ID: Mail-Followup-To: Efraim Flashner , Maxime Devos , Arun Isaac , 54635-done@debbugs.gnu.org References: <20220331072849.22417-5-arunisaac@systemreboot.net> <41db70e1e90803d02444ea5c0ffae0e0d6309700.camel@telenet.be> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PQfNK4hbb0I1GiG7" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635-done Cc: 54635-done@debbugs.gnu.org, Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --PQfNK4hbb0I1GiG7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 31, 2022 at 03:07:49PM +0200, Maxime Devos wrote: > Efraim Flashner schreef op do 31-03-2022 om 15:18 [+0300]: > > > Arun Isaac schreef op do 31-03-2022 om 12:58 [+0530]: > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (("-marc= h=3Dnative") "")) > > >=20 > > > This is also wrong for x86 systems because it makes the build non- > > > reproducible.=C2=A0 Also, has upstream been informed about some of the > > > compiler flags being architecture-specific? > >=20 > > I'm pretty sure upstream is aware of it, and the -mcx16 flag. That > > whole phase doesn't need to be non-x86_64 only, upstream prefers it > > that way to get fater results >=20 > wfmash could be written to detect CPU features at runtime and there is > also --tune. Also, upstream preferring march=3Dnative does not make the > build reproducible. >=20 > > but IMO it would be fine to move it into a snippet. >=20 > It does not have to be in a snippet, it just needs to be reproducible > (so no march=3Dnative, whether on x86 or not). I suppose not, but the -mcx16 should be in the snippet, since it adds compiler flags which only work on some architectures. And while we're at it we can do the -march=3Dnative one too. > Upstream seems to be aware of the non-x86 > (https://github.com/ekg/wfmash/issues/125) but they do not seem to be > aware of the problems with march=3Dnative. >=20 I've pushed these patches with a few tweaks and an additional patch to run a test suite based on the github workflow in the repository. The entire check phase takes ~2 minutes on my pinebook pro, so aarch64 doesn't seem to need to skip some tests like riscv64 does. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --PQfNK4hbb0I1GiG7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmJFrTAACgkQQarn3Mo9 g1FBcA/+JvClmkerJJIax/JXybHhlAdV+382r9jJLJMovjB4RGTc/2ayjF0Bm297 ojDI5OIZB7FlqsyTaXtFvdL3AIMfOmWgaK+YywiHWoIGiNF6zbKwqqIv0pjrcoN9 lawO46TUe0jQD7mYvAFO814/8H7w7KDUv9YhZL7KC+dmNrK5nDtohDRIddxZkM9L xy6eTuzM00uMBP42sttkEpS30BEjQhutsuyhQGZDdWTBtEvoXymFnu5O1X60qx/l Vo/w/sQgW3/g3H+zrux4wVix5+p6kYzWiU5vgdcn0Q9VuU4/ByS2zw/FHtpmyvxM yw7508y664YDD3PVP5XadHYdJ954twRpnByXvaKME46PwCb8HxRfgTVUW/65gov3 m8bt7jrR5eQBLA2eAQ/AmHGCfjfOjaZogXkR8qUmXYVU1Gq6R9vmh1IK+MuR/fZ6 vzsBbNNlDRuZF1/vznezpTZsjmZI0IkmYHErE9T+en/L83Auu1F/eR/NgOy4wsDI OmwzDChQDBdZBj55r1H4lYgbXhCiariVp3UIQKUrlDdO2cS1XXkDHNcVyvv91VsX bAUFgUO9LKcXJgy7ncjqOaLnXmW94Mq2sjgEGB6fevBvZUVXHnYjhZ4F75FbphLJ TDi0Dj9uPM365hCH031WHhjsug2IL+vsAYBEcnxCyCf0Oi7FPCM= =zO0z -----END PGP SIGNATURE----- --PQfNK4hbb0I1GiG7-- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 01 03:40:18 2022 Received: (at 54635-done) by debbugs.gnu.org; 1 Apr 2022 07:40:18 +0000 Received: from localhost ([127.0.0.1]:40755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naBtK-0007ta-3e for submit@debbugs.gnu.org; Fri, 01 Apr 2022 03:40:18 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naBtH-0007tN-CZ for 54635-done@debbugs.gnu.org; Fri, 01 Apr 2022 03:40:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=BOgFBh71lh2DHCw2kJ1HnQE6L6MLQ0DEaJznfMaIujM=; b=PYiRKUaNbMJCUnAEi19b+MZt+u uVL0DBdjqdQ4bqMIf/Fr4oWByz1bve6CNuzqZZYcgmDgbyF13sGWmabmV7rSkQUBRpv9ltTF361f+ VMD4lcQjZLec5kbonFttAQ93OVBpeoF9oE8kZJcrpDjG5k+CXPQ+pBj7vAie11igeOFVLUizMMnbs hVl4lR8RxBCWxfRSv2p1yg+h+kCcuZoXlHm5C/byG8MF7smNCVrFT5pi+hSKGsv6TRMy/pzsF0giK /zH2HNKTReBrf80u4RSe/o1I3zlUCi91Xv60tVrQ5vYOXywixAVKkIBF0bgMXUV6dAcnQdPnJ7+Hk Eyygwq6A==; Received: from [192.168.2.1] (port=41916 helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1naBtD-000WxQ-ME; Fri, 01 Apr 2022 13:10:11 +0530 From: Arun Isaac To: Efraim Flashner , Maxime Devos Subject: Re: [PATCH v2 5/5] gnu: Add wfmash. In-Reply-To: References: <20220331072849.22417-5-arunisaac@systemreboot.net> <41db70e1e90803d02444ea5c0ffae0e0d6309700.camel@telenet.be> Date: Fri, 01 Apr 2022 13:10:11 +0530 Message-ID: <87lewp8d5w.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635-done Cc: 54635-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thanks for reviewing and merging this patchset! >> wfmash could be written to detect CPU features at runtime and there is >> also --tune. wfmash's speed is one of the critical features it brings to the table. We might have rendered the package more or less unusable by disabling CPU optimizations. I could try talking to upstream about detecting and using CPU features at runtime. But, I don't know too much about the topic. Any quick links I can share with them? > I've pushed these patches with a few tweaks and an additional patch to > run a test suite based on the github workflow in the repository. The > entire check phase takes ~2 minutes on my pinebook pro, so aarch64 > doesn't seem to need to skip some tests like riscv64 does. I think it is better if upstream provides us a `make check' target to run these tests. I have asked them: https://github.com/ekg/wfmash/issues/130 Hard-coding their CI tests makes the package fragile. In the future, upstream could change the tests they run. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 01 05:39:26 2022 Received: (at 54635-done) by debbugs.gnu.org; 1 Apr 2022 09:39:26 +0000 Received: from localhost ([127.0.0.1]:40906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naDkb-0002Y1-Ua for submit@debbugs.gnu.org; Fri, 01 Apr 2022 05:39:26 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:54474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naDkZ-0002Xo-25 for 54635-done@debbugs.gnu.org; Fri, 01 Apr 2022 05:39:23 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id DMfL270164UW6Th01MfMWd; Fri, 01 Apr 2022 11:39:21 +0200 Message-ID: <85579601b4391c964a2dcfe7bdf2ef67c24b3409.camel@telenet.be> Subject: Re: [PATCH v2 5/5] gnu: Add wfmash. From: Maxime Devos To: Arun Isaac , Efraim Flashner Date: Fri, 01 Apr 2022 11:39:16 +0200 In-Reply-To: <87lewp8d5w.fsf@systemreboot.net> References: <20220331072849.22417-5-arunisaac@systemreboot.net> <41db70e1e90803d02444ea5c0ffae0e0d6309700.camel@telenet.be> <87lewp8d5w.fsf@systemreboot.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-RQVstMS+kyRoay1uOUwl" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648805961; bh=FA0t9YgdVnipAf86E52M/0EkMFcqbK62eGAtL1W/2/o=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=LKfXzFdbRK7MbYxVekwPTY0hEJ3Z+Q/Uh9T4Sptb8/lIjBCH+pKA5dMdflSwCx5KG eow+IoOEOm1km4C3cVK8wj/1syUUBfo+XKxOOawvQrQ/Full15NY8Vg12aoifn5ox1 MNC9cP2hUbfP9PUhtnus1la/vYZ0lCteKV2gnI1+9BPwlgCcrSEcvfQ3jV9hWNubw9 KQGPSamXS6KvOvz3v09IUMsaJEQrVMca6eo77XjSfo+CYZoaV9UFIm7VTfhVEixXAf IS3F/1ls2wdvrtWnv3l6DTMsVaFlEJ1b9dpy7MaJq7GMTl9m5JFOxzZZsc7SwZRIuT Tg5EfxvhEqPxw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54635-done Cc: 54635-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-RQVstMS+kyRoay1uOUwl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Arun Isaac schreef op vr 01-04-2022 om 13:10 [+0530]: > wfmash's speed is one of the critical features it brings to the > table. We might have rendered the package more or less unusable by > disabling CPU optimizations. >=20 > I could try talking to upstream about detecting and using CPU features > at runtime. But, I don't know too much about the topic. Any quick links > I can share with them? For the concept, maybe , which is about combining high performance with reproducibility using the (Guix-specific) --tune package transformation. =C2=A0To implement run- time detection, the following could be useful: * Guix article: * LWN article: . Greetings, Maxime. --=-RQVstMS+kyRoay1uOUwl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkbIRBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kHRAP922KpPIa/XnBT902BEwiLlrQsv NsGKkYtWeTv62bIwLgD/a19oid5QxetNyWMYRPOEUqqXJoG3OK0dHVQiE+IK7gU= =5FkS -----END PGP SIGNATURE----- --=-RQVstMS+kyRoay1uOUwl-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 04 14:01:35 2022 Received: (at 54635-done) by debbugs.gnu.org; 4 Apr 2022 18:01:35 +0000 Received: from localhost ([127.0.0.1]:52877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbR1C-0008Jj-Rq for submit@debbugs.gnu.org; Mon, 04 Apr 2022 14:01:35 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbR19-0008JP-Iu for 54635-done@debbugs.gnu.org; Mon, 04 Apr 2022 14:01:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=89IEzcrr34urHL8GanUUS7rYQ1SD2jD6SquqWFjyzIU=; b=g8/+imPAgwl9BPjrcK5JNi0rP2 e9s78QbFuhm5mAp0BmABv+iUpuwtdVRNI9xWWSHbXfZgpH2GAk7xLIjUbwy85FfLUfe3ZM+5gjAY2 iXoqyXWEZocKGV3Lv6aABHRRn9ZpnqYplW2UiTYsQeyZtSQrJ5NXJ779M1osbM3GdVZGyRuPI71hL y3gjFP+2+4SOtIywoVU4FQ1N+/hwd1s71wxd41eMec2g/duA9alLzMDTKGoVZzI8X21OnOE1UPvwF 5PiVYh8/XpSTB9eqBFEJQUPcxWTfjs60Y1SNibiVX9Soh9ndQp7qtmxhByhrSMZ/Zve+VW10wAxGG 5f7iHYOg==; Received: from [192.168.2.1] (port=33522 helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nbR15-000gc8-SB; Mon, 04 Apr 2022 23:31:27 +0530 From: Arun Isaac To: Maxime Devos , Efraim Flashner Subject: Re: [PATCH v2 5/5] gnu: Add wfmash. In-Reply-To: <85579601b4391c964a2dcfe7bdf2ef67c24b3409.camel@telenet.be> References: <20220331072849.22417-5-arunisaac@systemreboot.net> <41db70e1e90803d02444ea5c0ffae0e0d6309700.camel@telenet.be> <87lewp8d5w.fsf@systemreboot.net> <85579601b4391c964a2dcfe7bdf2ef67c24b3409.camel@telenet.be> Date: Mon, 04 Apr 2022 23:31:27 +0530 Message-ID: <87fsms7mo8.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54635-done Cc: 54635-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Maxime, > For the concept, maybe > > , which is about combining high performance with reproducibility using > the (Guix-specific) --tune package transformation. =C2=A0To implement run- > time detection, the following could be useful: > > * Guix article: > > * LWN article: . This is helpful. I will read and pass it on to wfmash upstream. Thanks, Arun From unknown Sat Aug 09 04:52:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 03 May 2022 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator