From patchwork Thu Mar 27 19:49:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Enge X-Patchwork-Id: 40888 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6D66F27BBEA; Thu, 27 Mar 2025 19:51:25 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BEA0527BBE2 for ; Thu, 27 Mar 2025 19:51:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1txtG2-0008RD-Cj; Thu, 27 Mar 2025 15:51:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1txtFs-0008NO-A6 for guix-patches@gnu.org; Thu, 27 Mar 2025 15:51:08 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1txtFq-0006ZF-At for guix-patches@gnu.org; Thu, 27 Mar 2025 15:51:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=nneqJvxCTgB98eiEn9utCxIcOmpV8UdLuG45QzZBtuU=; b=FlMNY/o8Tf8QJJMCGtT+GgovmXBAKCHWfBPOhNncauWHwTstx008PveJg95eive4KXKR875/HQ0rwYGz1rX1+6Fp6b508FmCBeVtH6LdQZuxDKqS3KErASazB14nSuna75woDfrS2nq3v/pBPsuJ38YkIXGxdwr/1iPb6pi+m67PB0h+Iy5dzHGypZ5s97Ff3bJ1fplT5IpZJUmNzRy6AxY3gmX/MBo0fBrgQDaRsMOmrX/txM1ZeNjMDNNKyVgPUB7FPdJObmuFM4XaEsUWvUSB2+mbti1SFiWfjTHWhyMo92UVJDnJP/T2OwahSWmYmBL1xiIDlvVrjuKUfwymrQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1txtFm-0007hV-J0; Thu, 27 Mar 2025 15:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77321] [PATCH 2/2] gnu: Remove atlas. Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 27 Mar 2025 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77321 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77321@debbugs.gnu.org Cc: rekado@elephly.net, Andreas Enge , sharlatanus@gmail.com, bavier@posteo.net, Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 77321-submit@debbugs.gnu.org id=B77321.174310501729530 (code B ref 77321); Thu, 27 Mar 2025 19:51:02 +0000 Received: (at 77321) by debbugs.gnu.org; 27 Mar 2025 19:50:17 +0000 Received: from localhost ([127.0.0.1]:51467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txtF2-0007gE-H4 for submit@debbugs.gnu.org; Thu, 27 Mar 2025 15:50:17 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:59058) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1txtEz-0007dI-LC for 77321@debbugs.gnu.org; Thu, 27 Mar 2025 15:50:14 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id AB7B230A; Thu, 27 Mar 2025 20:50:07 +0100 (CET) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id lU1mtthCU-RN; Thu, 27 Mar 2025 20:50:06 +0100 (CET) Received: from jurong.lan (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 08A321BE; Thu, 27 Mar 2025 20:50:06 +0100 (CET) From: Andreas Enge Date: Thu, 27 Mar 2025 20:49:44 +0100 Message-ID: <1bb4793e92d4146d80aea012fd8feaceb3aeb923.1743104583.git.andreas@enge.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Rspamd-Queue-Id: AB7B230A X-Spamd-Result: default: False [-2.60 / 15.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM(-3.00)[-1.000]; FORGED_RECIPIENTS(2.00)[m:andreas@enge.fr,s:andreas.enge@aquilenet.fr]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FREEMAIL_CC(0.00)[elephly.net,posteo.net,gmail.com,enge.fr]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Action: no action X-Spamd-Bar: -- X-Rspamd-Server: hera X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/maths.scm (atlas): Delete variable. The package does not build anymore. Its last release dates from 2016. After the removal of shogun there are no other dependent packages. Change-Id: Ibe988d33451b63ef7680b6c0a19cff6430a42a68 --- gnu/packages/maths.scm | 129 ----------------------------------------- 1 file changed, 129 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index f0d0bb8f97..49e4ee4171 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6991,135 +6991,6 @@ (define-public suitesparse ;; GPUQREngine, RBio, SuiteSparse_GPURuntime, SuiteSparseQR, UMFPACK (license (list license:gpl2+ license:lgpl2.1+)))) -(define-public atlas - (package - (name "atlas") - (version "3.10.3") - (source (origin - (method url-fetch) - (uri (string-append "mirror://sourceforge/math-atlas/Stable/" - version "/atlas" version ".tar.bz2")) - (patches (search-patches "atlas-gfortran-compat.patch")) - (sha256 - (base32 - "1dyjlq3fiparvm8ypwk6rsmjzmnwk81l88gkishphpvc79ryp216")))) - (build-system gnu-build-system) - (home-page "https://math-atlas.sourceforge.net/") - (inputs `(("gfortran" ,gfortran) - ("lapack-tar" ,(package-source lapack)))) - (outputs '("out" "doc")) - ;; For the moment we drop support for MIPS at it fails to compile. See - ;; https://lists.gnu.org/archive/html/guix-devel/2014-11/msg00516.html - (supported-systems (delete "mips64el-linux" %supported-systems)) - (arguments - `(#:parallel-build? #f - #:parallel-tests? #f - - ;; ATLAS tunes itself for the machine it is built on, as explained at - ;; . - ;; For this reason, we want users to build it locally instead of using - ;; substitutes. - #:substitutable? #f - - #:modules ((srfi srfi-26) - (guix build gnu-build-system) - (guix build utils)) - #:configure-flags - `(;; Generate position independent code suitable for dynamic libraries - ;; and use WALL timer to get more accurate timing. - "-Fa" "alg" "-fPIC" "-D" "c" "-DWALL" - ;; Set word width. - "-b" - ,,(if (string-match "64" (%current-system)) - "64" - "32") - ;; Disable parallel build as it gives errors: atlas_pthread.h is - ;; needed to compile C files before it is generated. - "-Ss" "pmake" "make -j 1" - ;; Probe is failing for MIPS. We therefore define the system - ;; architecture explicitly by setting (-A) MACHINETYPE = 49 - ;; 'MIPSR1xK' and (-V) ISA = 1 'none'. - ,,@(if (string-prefix? "mips" (%current-system)) - (list "-A" "49" "-V" "1") - (list)) - ;; Generate shared libraries. - "--shared" - ;; Build a full LAPACK library. - ,(string-append "--with-netlib-lapack-tarfile=" - (assoc-ref %build-inputs "lapack-tar"))) - #:phases - (modify-phases %standard-phases - (add-after 'install 'install-doc - (lambda* (#:key outputs inputs #:allow-other-keys) - (let ((doc (string-append (assoc-ref outputs "doc") - "/share/doc/atlas"))) - (mkdir-p doc) - (for-each (cut install-file <> doc) - (find-files "../ATLAS/doc" ".*")) - #t))) - (add-after 'check 'check-pt - (lambda _ (invoke "make" "ptcheck"))) - ;; Fix files required to run configure. - (add-before 'configure 'fix-/bin/sh - (lambda _ - ;; Use `sh', not `/bin/sh'. - (substitute* (find-files "." "Makefile|configure|SpewMakeInc\\.c") - (("/bin/sh") - "sh")) - #t)) - ;; Fix /bin/sh in generated make files. - (add-after 'configure 'fix-/bin/sh-in-generated-files - (lambda _ - (substitute* (find-files "." "^[Mm]ake\\.inc.*") - (("/bin/sh") - "sh")) - #t)) - ;; ATLAS configure program does not accepts the default flags - ;; passed by the 'gnu-build-system'. - (replace 'configure - (lambda* (#:key native-inputs inputs outputs - (configure-flags '()) - #:allow-other-keys #:rest args) - (let* ((prefix (assoc-ref outputs "out")) - (bash (or (and=> (assoc-ref - (or native-inputs inputs) "bash") - (cut string-append <> "/bin/bash")) - "/bin/sh")) - (flags `(,(string-append "--prefix=" prefix) - ,@configure-flags)) - (abs-srcdir (getcwd)) - (srcdir (string-append "../" (basename abs-srcdir)))) - (format #t "source directory: ~s (relative from build: ~s)~%" - abs-srcdir srcdir) - (mkdir "../build") - (chdir "../build") - (format #t "build directory: ~s~%" (getcwd)) - (format #t "configure flags: ~s~%" flags) - (apply invoke bash - (string-append srcdir "/configure") - flags))))))) - (synopsis "Automatically Tuned Linear Algebra Software") - (description - "ATLAS is an automatically tuned linear algebra software library -providing C and Fortran77 interfaces to a portably efficient BLAS -implementation, as well as a few routines from LAPACK. - -Optimization occurs at build time. For this reason, the library is built on -the machine where it is installed, without resorting to pre-built substitutes. - -Before building the library, CPU throttling should be disabled. This can be -done in the BIOS, or, on GNU/Linux, with the following command: - -@example -# cpupower --governor performance -@end example - -Failure to do so will result in a library with poor performance.") - ;; The test suite is notoriously lengthy and routinely exceeds the default - ;; timeout of 21600 seconds on the not unbeefy berlin build nodes. - (properties '((timeout . 86400))) ; 1 day - (license license:bsd-3))) - (define-public cglm (package (name "cglm")