emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#28220: closed ([PATCH 1/2] gnu: add scotch32)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#28220: closed ([PATCH 1/2] gnu: add scotch32)
Date: Thu, 31 Aug 2017 10:22:02 +0000

Your message dated Thu, 31 Aug 2017 12:21:04 +0200
with message-id <address@hidden>
and subject line Re: [bug#28220] [PATCH 1/2] gnu: add scotch32
has caused the debbugs.gnu.org bug report #28220,
regarding [PATCH 1/2] gnu: add scotch32
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
28220: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28220
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 1/2] gnu: add scotch32 Date: Thu, 24 Aug 2017 15:56:44 +0100
*gnu/packages/maths.scm: Add scotch32
---
 gnu/packages/maths.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Hello Guix,

Here are the patches to add 'scotch32' and 'pt-scotch32' packages, as
discussed in bug#28045.

There is one 'guix lint' warning to be aware of:

"file names of patches should start with the package name"

This is caused by the new packages inheriting the patch names from the
original packages.  I guess this is best ignored ('pt-scotch' already
shares the same patches as 'scotch').

Paul.

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1bb9f10ec..bc0ffb09a 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1937,6 +1937,53 @@ bio-chemistry.")
     ;; See LICENSE_en.txt
     (license license:cecill-c)))
 
+(define-public scotch32
+  (package (inherit scotch)
+    (name "scotch32")
+    (arguments
+     (substitute-keyword-arguments (package-arguments scotch)
+       ((#:phases scotch-phases)
+        `(modify-phases ,scotch-phases
+          (replace
+           'configure
+           (lambda _
+             (call-with-output-file "Makefile.inc"
+               (lambda (port)
+                 (format port "
+EXE =
+LIB = .a
+OBJ = .o
+MAKE = make
+AR = ar
+ARFLAGS = -ruv
+CAT = cat
+CCS = gcc
+CCP = mpicc
+CCD = gcc
+CPPFLAGS =~{ -D~a~}
+CFLAGS = -O2 -g -fPIC $(CPPFLAGS)
+LDFLAGS = -lz -lm -lrt -lpthread
+CP = cp
+LEX = flex -Pscotchyy -olex.yy.c
+LN = ln
+MKDIR = mkdir
+MV = mv
+RANLIB = ranlib
+YACC = bison -pscotchyy -y -b y
+"
+                        '("COMMON_FILE_COMPRESS_GZ"
+                          "COMMON_PTHREAD"
+                          "COMMON_RANDOM_FIXED_SEED"
+                          "INTSIZE32"   ;use 32-bit integers.  See INSTALL.txt
+                          ;; Prevents symbolc clashes with libesmumps
+                          "SCOTCH_RENAME"
+                          ;; XXX: Causes invalid frees in superlu-dist tests
+                          ;; "SCOTCH_PTHREAD"
+                          ;; "SCOTCH_PTHREAD_NUMBER=2"
+                          "restrict=__restrict"))))))))))
+    (synopsis
+        "Programs and libraries for graph algorithms (using 32-bit integers")))
+
 (define-public pt-scotch
   (package (inherit scotch)
     (name "pt-scotch")
-- 
2.13.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#28220] [PATCH 1/2] gnu: add scotch32 Date: Thu, 31 Aug 2017 12:21:04 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Hi Paul,

Paul Garlick <address@hidden> skribis:

> *gnu/packages/maths.scm: Add scotch32

Applied with minor cosmetic changes.

Thanks and sorry for the delay!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]