From patchwork Sat Mar 29 09:21:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Enge X-Patchwork-Id: 40949 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 3540427BBE9; Sat, 29 Mar 2025 09:31:54 +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=unavailable 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 39E7927BBE2 for ; Sat, 29 Mar 2025 09:31:51 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tySXD-0002gO-BX; Sat, 29 Mar 2025 05:31:23 -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 1tySVx-0002SX-Hp for guix-patches@gnu.org; Sat, 29 Mar 2025 05:30:07 -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 1tySVw-0006x2-RW for guix-patches@gnu.org; Sat, 29 Mar 2025 05:30:05 -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=MjMtvumsd+kCjoQajqoxG6q29N3qa4URVP80AyA4EH4=; b=RvImiLYYh8S6D8EloxcpNIlDnRTJDwfQQ1kFXRuKA6E+I99cfipZK0qE/Mg0w/KrLnC4FtDyZIvCBTicMBd4EluJ7tNNJDpKrv8XsG1E67gIEesV1cRmhE/4Y+v3je/3TPaEWD65JmAYb8OWL6Z5c5jCEivGdEWtzHevcR0stGcfMNN9jUVQzsdbEtuF/xA/SPZX7W8gcWN4lSCeBmads+dNXgFTyyJNE5p7l8QmX7X+SLTacDVTGSI/wjXkKEAvznw2rX28XBmLwm87pSgEax/7XKwJLv3DGSH4ns8QSel0YMDg1REt/soUW+BqoeALwxv8FDp8aGJs1+sM8h3c2Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tySVw-0004uB-JJ; Sat, 29 Mar 2025 05:30:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77287] [PATCH v2 3/8] 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: Sat, 29 Mar 2025 09:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77287 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77287@debbugs.gnu.org Cc: rekado@elephly.net, Andreas Enge , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 77287-submit@debbugs.gnu.org id=B77287.174324055918702 (code B ref 77287); Sat, 29 Mar 2025 09:30:04 +0000 Received: (at 77287) by debbugs.gnu.org; 29 Mar 2025 09:29:19 +0000 Received: from localhost ([127.0.0.1]:56854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tySVC-0004rU-W8 for submit@debbugs.gnu.org; Sat, 29 Mar 2025 05:29:19 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:44910) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tySV2-0004q6-Un for 77287@debbugs.gnu.org; Sat, 29 Mar 2025 05:29:09 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id F3A9A3AC; Sat, 29 Mar 2025 10:29:02 +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 VlOwMcQ6L79B; Sat, 29 Mar 2025 10:29:02 +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 B0DD835B; Sat, 29 Mar 2025 10:29:00 +0100 (CET) From: Andreas Enge Date: Sat, 29 Mar 2025 10:21:27 +0100 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Rspamd-Queue-Id: F3A9A3AC X-Spamd-Result: default: False [-6.28 / 15.00]; REPLY(-4.00)[]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM(-2.68)[-0.893]; 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]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(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 0d56dd4410..017abecc00 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6995,135 +6995,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")