From patchwork Fri May 10 10:05:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 13944 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 13D8816F1E; Fri, 10 May 2019 11:07:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8AA7216F12 for ; Fri, 10 May 2019 11:07:11 +0100 (BST) Received: from localhost ([127.0.0.1]:40535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP2Qp-0002gx-4n for patchwork@mira.cbaines.net; Fri, 10 May 2019 06:07:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP2Qj-0002e5-1a for guix-patches@gnu.org; Fri, 10 May 2019 06:07:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hP2Qg-0006cj-W2 for guix-patches@gnu.org; Fri, 10 May 2019 06:07:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51896) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hP2Qg-0006cP-Ps for guix-patches@gnu.org; Fri, 10 May 2019 06:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hP2Qg-0003GR-J8 for guix-patches@gnu.org; Fri, 10 May 2019 06:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35666] [PATCH 1/2] gnu: hdf5: Build a thread-safe library. References: <20190510095630.16695-1-ludo@gnu.org> In-Reply-To: <20190510095630.16695-1-ludo@gnu.org> Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 May 2019 10:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35666 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35666@debbugs.gnu.org Received: via spool by 35666-submit@debbugs.gnu.org id=B35666.155748277112479 (code B ref 35666); Fri, 10 May 2019 10:07:02 +0000 Received: (at 35666) by debbugs.gnu.org; 10 May 2019 10:06:11 +0000 Received: from localhost ([127.0.0.1]:37206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hP2Pq-0003F7-U4 for submit@debbugs.gnu.org; Fri, 10 May 2019 06:06:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hP2Pp-0003Eo-0K for 35666@debbugs.gnu.org; Fri, 10 May 2019 06:06:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP2Ph-0005lf-Bi; Fri, 10 May 2019 06:06:01 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=51584 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hP2Pg-0005WB-OV; Fri, 10 May 2019 06:06:01 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Fri, 10 May 2019 12:05:45 +0200 Message-Id: <20190510100546.17536-1-ludo@gnu.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Bavier , Ludovic =?utf-8?q?Court=C3=A8s?= , Paul Garlick Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Ludovic Courtès * gnu/packages/maths.scm (hdf5)[arguments]: Pass "--enable-threadsafe --with-pthread --enable-unsupported". --- gnu/packages/maths.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index d59028599f..2c3889ece2 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -781,7 +781,17 @@ incompatible with HDF5.") `(;; Some of the users, notably Flann, need the C++ interface. #:configure-flags '("--enable-cxx" "--enable-fortran" - "--enable-fortran2003") + "--enable-fortran2003" + + ;; Build a thread-safe library. Unfortunately, + ;; 'configure' invites you to either turn off C++, + ;; Fortran, and the high-level interface (HL), or + ;; to pass '--enable-unsupported'. Debian + ;; packagers chose to pass '--enable-unsupported' + ;; and we follow their lead here. + "--enable-threadsafe" + "--with-pthread" + "--enable-unsupported") ;; Use -fPIC to allow the R bindings to link with the static libraries #:make-flags (list "CFLAGS=-fPIC" "CXXFLAGS=-fPIC") From patchwork Fri May 10 10:05:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 13943 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 EE4D416F1E; Fri, 10 May 2019 11:07:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8057D16F12 for ; Fri, 10 May 2019 11:07:08 +0100 (BST) Received: from localhost ([127.0.0.1]:40533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP2Ql-0002eF-10 for patchwork@mira.cbaines.net; Fri, 10 May 2019 06:07:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP2Qi-0002e4-Sh for guix-patches@gnu.org; Fri, 10 May 2019 06:07:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hP2Qg-0006cZ-Sj for guix-patches@gnu.org; Fri, 10 May 2019 06:07:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hP2Qg-0006c6-G5 for guix-patches@gnu.org; Fri, 10 May 2019 06:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hP2Qg-0003GJ-3O for guix-patches@gnu.org; Fri, 10 May 2019 06:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35666] [PATCH 2/2] gnu: hdf5: Add dependency on Perl. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 May 2019 10:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35666 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35666@debbugs.gnu.org Received: via spool by 35666-submit@debbugs.gnu.org id=B35666.155748277112472 (code B ref 35666); Fri, 10 May 2019 10:07:02 +0000 Received: (at 35666) by debbugs.gnu.org; 10 May 2019 10:06:11 +0000 Received: from localhost ([127.0.0.1]:37204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hP2Pq-0003F5-Ky for submit@debbugs.gnu.org; Fri, 10 May 2019 06:06:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hP2Po-0003En-V4 for 35666@debbugs.gnu.org; Fri, 10 May 2019 06:06:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP2Pi-0005qH-Mi; Fri, 10 May 2019 06:06:02 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=51584 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hP2Ph-0005WB-Vh; Fri, 10 May 2019 06:06:02 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Fri, 10 May 2019 12:05:46 +0200 Message-Id: <20190510100546.17536-2-ludo@gnu.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190510100546.17536-1-ludo@gnu.org> References: <20190510100546.17536-1-ludo@gnu.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Bavier , Ludovic =?utf-8?q?Court=C3=A8s?= , Paul Garlick Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Ludovic Courtès * gnu/packages/maths.scm (hdf5)[native-inputs]: Add PERL. --- gnu/packages/maths.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 2c3889ece2..7ea94d1060 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -774,7 +774,8 @@ incompatible with HDF5.") (inputs `(("zlib" ,zlib))) (native-inputs - `(("gfortran" ,gfortran))) + `(("gfortran" ,gfortran) + ("perl" ,perl))) ;part of the test machinery needs Perl (outputs '("out" ; core library "fortran")) ; fortran interface (arguments