Received: (at submit) by debbugs.gnu.org; 15 Sep 2024 02:49:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 14 22:49:05 2024 Received: from localhost ([127.0.0.1]:48071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1spfJw-0001cn-Ki for submit <at> debbugs.gnu.org; Sat, 14 Sep 2024 22:49:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:44746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mail@HIDDEN>) id 1spfJu-0001cS-98 for submit <at> debbugs.gnu.org; Sat, 14 Sep 2024 22:49:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1spfJh-00070l-0Q for guix-patches@HIDDEN; Sat, 14 Sep 2024 22:48:50 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1spfJe-00049D-8P for guix-patches@HIDDEN; Sat, 14 Sep 2024 22:48:48 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 28C5B233CF; Sun, 15 Sep 2024 04:48:43 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id zhQTNKHDTp3k; Sun, 15 Sep 2024 04:48:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aartaka.me; s=mail; t=1726368522; bh=iKs00i2KuMeP42xbsUuhZrpOQYeupBeXe0kArxFLROs=; h=From:To:Subject:Date; b=W6deKXZ9q0Qj3DaWKtcjzJaQ7BL7nAKWAaOWiqKCvXcHDoNouv/G+/JcnIccTNUdy CovFa6pSL1eWyb5jLyTJhxm42BmSOrdHVVQK8fHcSwHr2eWP80lE2noptxrvosBBu0 GsDvLBfUCe5XBdLcZECAKX/fwxGzlF9yNSb+RGUT8l5XVnrsTQtVniAyUAKOdGrkau RDAewwHsjDE1lMiF/dHa/eKr9/ND2CepT8nL3m/bWQ3rhTBb8pelNHU6OELOhlMnMo 1QSKSbGT9/lYYCbFpL9uX5tuGsP3fLB1R2OEkOHKEt04F8caLVNSIusidsvQiXACm0 GJvvqc7dJYlqw== From: Artyom Bologov <mail@HIDDEN> To: Guix Patches <guix-patches@HIDDEN> Subject: [PATCH] gnu: openblas: Add debug output. Date: Sun, 15 Sep 2024 06:48:38 +0400 Message-ID: <87jzfdskc9.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=178.21.23.139; envelope-from=mail@HIDDEN; helo=layka.disroot.org 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Hi y'all, This patch adds a debug output to OpenBLAS and adjusts build flags accordingly. The final non-debug build is likely unaffected by DEBUG=1, because Guix strips the debug symbols out anyway. Note that this change likely requires checking the CI for the package, like with bug #73058. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-openblas-Add-debug-output.patch Content-Description: Add debug output to OpenBLAS From 1cd8da82659bf9d369201135c86717d2ea40d7ca Mon Sep 17 00:00:00 2001 From: Artyom Bologov <mail@HIDDEN> Date: Sun, 15 Sep 2024 06:42:29 +0400 Subject: [PATCH] gnu: openblas: Add debug output. * gnu/packages/maths.scm (openblas): Add "debug" output [outputs]: Add argument, add "debug" output [arguments]<#:make-flags>: Add DEBUG=1 flag --- gnu/packages/maths.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index a0cc0788ca..2d5b239548 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -5173,6 +5173,7 @@ (define-public openblas #:make-flags #~(list (string-append "PREFIX=" #$output) "SHELL=bash" + "DEBUG=1" ; enable debug symbols "MAKE_NB_JOBS=0" ;use jobserver for submakes "NO_STATIC=1" ;avoid a 67 MiB static archive @@ -5225,6 +5226,7 @@ (define-public openblas (list `(,gfortran "lib"))) (native-inputs (list cunit gfortran perl)) + (outputs '("out" "debug")) (home-page "https://www.openblas.net/") (synopsis "Optimized BLAS library based on GotoBLAS") (description -- 2.41.0 --=-=-= Content-Type: text/plain Thanks, -- Artyom Bologov https://aartaka.me --=-=-=--
Artyom Bologov <mail@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#73262
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.