unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 66896@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Andreas Enge <andreas@enge.fr>,
	Efraim Flashner <efraim@flashner.co.il>,
	Eric Bavier <bavier@posteo.net>
Subject: [bug#66896] [PATCH v3 5/5] gnu: elemental: Update package style.
Date: Sun,  5 Nov 2023 14:56:22 +0000	[thread overview]
Message-ID: <3edfc9b9d9377180e8c7a1a9cab3e6407c5feb10.1699195588.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <1c3e20f81479ed702270fc6640939db165bd33bc.1699195588.git.sharlatanus@gmail.com>

* gnu/packages/maths.scm (elemental): Update package style, shift order
of package fields.
[arguments]: Use G-expressions. {phases}: Remove trailing #f from each
lambda.

Change-Id: Ib961eb99159e1206963041bd7014dca032a21441
---
 gnu/packages/maths.scm | 48 +++++++++++++++++++++---------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 0ed25834f6..34710fc65c 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -7611,7 +7611,29 @@ (define-public elemental
                  (base32
                   "06xcs4ic60ndcf2hq19gr8yjwdsnphpcyhapab41rkw726z4lm7p"))))
       (build-system cmake-build-system)
-      (home-page "https://github.com/elemental/Elemental")
+      (arguments
+       (list
+        #:build-type "Release" ;default RelWithDebInfo not supported
+        #:configure-flags
+        #~(list "-DEL_DISABLE_PARMETIS:BOOL=YES"
+                "-DEL_AVOID_COMPLEX_MPI:BOOL=NO"
+                "-DEL_CACHE_WARNINGS:BOOL=YES"
+                "-DEL_TESTS:BOOL=YES"
+                "-DCMAKE_INSTALL_LIBDIR=lib"
+                "-DGFORTRAN_LIB=gfortran")
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-before 'check 'mpi-setup
+                 #$%openmpi-setup)
+            (add-before 'check 'setup-tests
+              (lambda _                ;; Parallelism is done at the MPI layer.
+                (setenv "OMP_NUM_THREADS" "1")))
+            (add-after 'install 'remove-tests
+              (lambda _
+                ;; Tests are installed, with no easy configuration
+                ;; switch to prevent this, so delete them.
+                (delete-file-recursively
+                 (string-append  #$output "/bin/test")))))))
       (native-inputs
        (list gfortran))
       (inputs
@@ -7624,29 +7646,7 @@ (define-public elemental
              openmpi
              qd
              openblas))
-      (arguments
-       `(#:build-type "Release"           ;default RelWithDebInfo not supported
-         #:configure-flags `("-DEL_DISABLE_PARMETIS:BOOL=YES"
-                             "-DEL_AVOID_COMPLEX_MPI:BOOL=NO"
-                             "-DEL_CACHE_WARNINGS:BOOL=YES"
-                             "-DEL_TESTS:BOOL=YES"
-                             "-DCMAKE_INSTALL_LIBDIR=lib"
-                             "-DGFORTRAN_LIB=gfortran")
-         #:phases (modify-phases %standard-phases
-                    (add-before 'check 'mpi-setup
-                      ,%openmpi-setup)
-                    (add-before 'check 'setup-tests
-                      (lambda _
-                        ;; Parallelism is done at the MPI layer.
-                        (setenv "OMP_NUM_THREADS" "1")
-                        #t))
-                    (add-after 'install 'remove-tests
-                      (lambda* (#:key outputs #:allow-other-keys)
-                        ;; Tests are installed, with no easy configuration
-                        ;; switch to prevent this, so delete them.
-                        (delete-file-recursively
-                         (string-append (assoc-ref outputs "out") "/bin"))
-                        #t)))))
+      (home-page "https://github.com/elemental/Elemental")
       (synopsis "Dense and sparse-direct linear algebra and optimization")
       (description "Elemental is a modern C++ library for distributed-memory
 dense and sparse-direct linear algebra, conic optimization, and lattice
-- 
2.41.0





      parent reply	other threads:[~2023-11-05 11:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-02 15:36 [bug#66896] [PATCH 0/5] elemental: Update to 0.87.7-0.6eb15a0, fix build Sharlatan Hellseher
2023-11-02 15:37 ` [bug#66896] [PATCH 1/5] gnu: qd: Use G-expressions Sharlatan Hellseher
2023-11-02 15:37 ` [bug#66896] [PATCH 2/5] gnu: qd: Apply patch to fix accuracy in angle computation Sharlatan Hellseher
2023-11-02 15:37 ` [bug#66896] [PATCH 3/5] gnu: elemental: Update to 0.87.7-0.6eb15a0 Sharlatan Hellseher
2023-11-02 15:37 ` [bug#66896] [PATCH 4/5] gnu: elemental: Remove input labels Sharlatan Hellseher
2023-11-02 15:37 ` [bug#66896] [PATCH 5/5] gnu: elemental: Update package style Sharlatan Hellseher
2023-11-04  1:58 ` [bug#66896] Sharlatan Hellseher
2023-11-04  1:58 ` [bug#66896] [PATCH v2 1/5] gnu: qd: Use G-expressions Sharlatan Hellseher
2023-11-04  1:58   ` [bug#66896] [PATCH v2 2/5] gnu: qd: Update to 2.3.24 Sharlatan Hellseher
2023-11-04  1:58   ` [bug#66896] [PATCH v2 3/5] gnu: elemental: Update to 0.87.7-0.6eb15a0 Sharlatan Hellseher
2023-11-04  1:58   ` [bug#66896] [PATCH v2 4/5] gnu: elemental: Remove input labels Sharlatan Hellseher
2023-11-04  1:58   ` [bug#66896] [PATCH v2 5/5] gnu: elemental: Update package style Sharlatan Hellseher
2023-11-05 14:55 ` [bug#66896] Sharlatan Hellseher
2023-11-05 14:56 ` [bug#66896] [PATCH v3 1/5] gnu: qd: Use G-expressions Sharlatan Hellseher
2023-11-05 14:56   ` [bug#66896] [PATCH v3 2/5] gnu: qd: Update to 2.3.24 Sharlatan Hellseher
2023-11-19  2:01     ` bug#66896: " Eric Bavier
2023-11-05 14:56   ` [bug#66896] [PATCH v3 3/5] gnu: elemental: Update to 0.87.7-0.6eb15a0 Sharlatan Hellseher
2023-11-05 14:56   ` [bug#66896] [PATCH v3 4/5] gnu: elemental: Remove input labels Sharlatan Hellseher
2023-11-05 14:56   ` Sharlatan Hellseher [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3edfc9b9d9377180e8c7a1a9cab3e6407c5feb10.1699195588.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=66896@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=bavier@posteo.net \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).