From unknown Sun Sep 07 18:03:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41995] [PATCH 1/2] gnu: Add symengine. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jun 2020 01:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41995 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41995@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159278774411442 (code B ref -1); Mon, 22 Jun 2020 01:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jun 2020 01:02:24 +0000 Received: from localhost ([127.0.0.1]:32943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnAqu-0002yU-0M for submit@debbugs.gnu.org; Sun, 21 Jun 2020 21:02:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:36450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnAqp-0002yJ-UD for submit@debbugs.gnu.org; Sun, 21 Jun 2020 21:02:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnAqp-0004Ze-DC for guix-patches@gnu.org; Sun, 21 Jun 2020 21:02:19 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34579) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnAqm-00055O-Ps for guix-patches@gnu.org; Sun, 21 Jun 2020 21:02:19 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 303DE2400FB for ; Mon, 22 Jun 2020 03:02:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1592787733; bh=mntoDbhL5IE9wmxicXRtKzN8DXp22SkxU9d9roMbK2M=; h=From:To:Cc:Subject:Date:From; b=ebRsDqiHGFQQf3U+99uF6RsEVqmY7Xb7EIYG9TO0xWyLi495APTEONdD0tAz+v70b /swUi21wCHqey0MhEY9+GVADJMfn+FZVr6kzk3EFZu0Qg6Ol4ksH5sndrpTwgwHM0P NChrN0lJmCxdvjr0XFByApXIhNww6OPrizHXkqWB2Mcgvu6WntTehsRur9VwXmtCF+ LNjwucOVXPJM9GaWtevI1tjJRqsSKW+VeoQvHxWL1Szp/jRIUgNvt3iDlAL+XKYe8l eGkvKSkA+ISk2lyxrPDqBwMA06AIEP5Y2gybvRC5FsXw3f1Rj28pG70t05NDhkSKD/ OoNaMVx5GdH6Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49qrjH42zTz6tm8; Mon, 22 Jun 2020 03:02:11 +0200 (CEST) From: Vinicius Monego Date: Sun, 21 Jun 2020 22:01:54 -0300 Message-Id: <20200622010155.17641-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/21 20:15:02 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/algebra.scm (symengine): New variable. --- gnu/packages/algebra.scm | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index b78e6ef304..ec381ac708 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Björn Höfling ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Vincent Legoll +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -43,6 +44,7 @@ #:use-module (gnu packages graphviz) #:use-module (gnu packages image) #:use-module (gnu packages java) + #:use-module (gnu packages llvm) #:use-module (gnu packages maths) #:use-module (gnu packages mpi) #:use-module (gnu packages multiprecision) @@ -946,6 +948,46 @@ minimization and curve fitting. It is mature code, based on decades-old algorithms from the FORTRAN library MINPACK.") (license license:bsd-2))) +(define-public symengine + (package + (name "symengine") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/symengine/symengine.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "129iv9maabmb42ylfdv0l0g94mcbf3y4q3np175008rcqdr8z6h1")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags + '("-DCMAKE_BUILD_TYPE=Release" + "-DWITH_GMP=on" + "-DWITH_MPFR=on" + "-DWITH_MPC=on" + "-DINTEGER_CLASS=flint" + "-DWITH_LLVM=on" + "-DWITH_SYMENGINE_THREAD_SAFE=on" + "-DWITH_TCMALLOC=on"))) + (native-inputs + `(("gperftools" ,gperftools) + ("llvm" ,llvm))) + (inputs + `(("flint" ,flint) + ("gmp" ,gmp) + ("mpc" ,mpc) + ("mpfr" ,mpfr))) + (home-page "https://github.com/symengine/symengine") + (synopsis "Fast symbolic manipulation library") + (description "SymEngine is a standalone fast C++ symbolic manipulation +library. Optional thin wrappers allow usage of the library from other +languages.") + (license (list license:expat ;; SymEngine. + license:bsd-3)))) ;; Third party code. + (define-public eigen (package (name "eigen") -- 2.20.1 From unknown Sun Sep 07 18:03:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41995] [PATCH 1/2] gnu: Add symengine. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Jun 2020 06:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41995 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Vinicius Monego Cc: 41995@debbugs.gnu.org Received: via spool by 41995-submit@debbugs.gnu.org id=B41995.159298186823143 (code B ref 41995); Wed, 24 Jun 2020 06:58:01 +0000 Received: (at 41995) by debbugs.gnu.org; 24 Jun 2020 06:57:48 +0000 Received: from localhost ([127.0.0.1]:37637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnzLw-00061D-Da for submit@debbugs.gnu.org; Wed, 24 Jun 2020 02:57:48 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnzLu-00060z-Bh for 41995@debbugs.gnu.org; Wed, 24 Jun 2020 02:57:47 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 5FCA1E0006; Wed, 24 Jun 2020 06:57:39 +0000 (UTC) From: Nicolas Goaziou References: <20200622010155.17641-1-monego@posteo.net> Date: Wed, 24 Jun 2020 08:57:44 +0200 In-Reply-To: <20200622010155.17641-1-monego@posteo.net> (Vinicius Monego's message of "Sun, 21 Jun 2020 22:01:54 -0300") Message-ID: <87a70tvtlj.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Vinicius Monego writes: > * gnu/packages/algebra.scm (symengine): New variable. Thank you. I couldn't build it because gperftools currently has a failing test. > + '(#:configure-flags > + '("-DCMAKE_BUILD_TYPE=Release" > + "-DWITH_GMP=on" > + "-DWITH_MPFR=on" > + "-DWITH_MPC=on" > + "-DINTEGER_CLASS=flint" > + "-DWITH_LLVM=on" > + "-DWITH_SYMENGINE_THREAD_SAFE=on" IIUC correctly, these are the suggested build options in the README. It may be worth adding a comment about it since this looks a bit opinionated. > + "-DWITH_TCMALLOC=on"))) This does not belong to the set of suggested build options. Is there a particular reason to activate it? If so, would it make sense to add a comment about it? I also see there is a "BUILD_SHARED_LIBS" flag, off by default. Would it make sense to activate it? > + (license (list license:expat ;; SymEngine. > + license:bsd-3)))) ;; Third party code. In both comments, there should be a single semicolon and no full stop. Could you send an updated patch? Regards, -- Nicolas Goaziou From unknown Sun Sep 07 18:03:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41995] [PATCH 1/2] gnu: Add symengine. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Jun 2020 13:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41995 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41995@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15930046549995 (code B ref -1); Wed, 24 Jun 2020 13:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2020 13:17:34 +0000 Received: from localhost ([127.0.0.1]:37981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jo5HS-0002b8-CJ for submit@debbugs.gnu.org; Wed, 24 Jun 2020 09:17:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:44736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jo5HP-0002az-BG for submit@debbugs.gnu.org; Wed, 24 Jun 2020 09:17:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jo5HN-0004Ll-4F for guix-patches@gnu.org; Wed, 24 Jun 2020 09:17:31 -0400 Received: from mout01.posteo.de ([185.67.36.65]:35216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jo5HK-0006AS-HN for guix-patches@gnu.org; Wed, 24 Jun 2020 09:17:28 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D03FB16005C for ; Wed, 24 Jun 2020 15:17:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1593004641; bh=C0pgjM/w2PWDjn82MklgKm0ezLYPFIEOGdGf4qZ2SzU=; h=From:To:Cc:Subject:Date:From; b=CBL+YfCFatuh1df2ISRCyZMRN0PSm3KXhjsUoGVVAF/BSd3eUx3VXXF9otfkcrE6h 5tP4jVgwbdsTBF52x+LvWJMWdK9aoXtMlgtY++n02ddrKhQz5l9TYiS2ewwo5sgSKf soMtBjF8OybYD6DGos5MmbfrRgZ1QjaVJDCIkgSAk/v71lyVybokGq/8/6QhOo2LVj vZk6vAm8PFa5ER7gouFhzTV4YROhmsPiUONMIb1uk1tXt1elHT/YdVxIXaXXfp1G43 bxqokMlcdQ6tUT/cNfVqg6Gd5S8yLmb8bzom3CztJkb4rjVXB/fM9Vg2NClQDoKSSm ZBa6Jp4vYB0cw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49sNwc1vFkz6tmD; Wed, 24 Jun 2020 15:17:19 +0200 (CEST) From: Vinicius Monego Date: Wed, 24 Jun 2020 10:16:55 -0300 Message-Id: <20200624131656.42776-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200622010155.17641-1-monego@posteo.net> References: <20200622010155.17641-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/24 09:17:22 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/algebra.scm (symengine): New variable. --- Removed TCMalloc and gperftools, build libsymengine, add comments gnu/packages/algebra.scm | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index b78e6ef304..34e6d40dbb 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Björn Höfling ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Vincent Legoll +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -43,6 +44,7 @@ #:use-module (gnu packages graphviz) #:use-module (gnu packages image) #:use-module (gnu packages java) + #:use-module (gnu packages llvm) #:use-module (gnu packages maths) #:use-module (gnu packages mpi) #:use-module (gnu packages multiprecision) @@ -946,6 +948,46 @@ minimization and curve fitting. It is mature code, based on decades-old algorithms from the FORTRAN library MINPACK.") (license license:bsd-2))) +(define-public symengine + (package + (name "symengine") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/symengine/symengine.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "129iv9maabmb42ylfdv0l0g94mcbf3y4q3np175008rcqdr8z6h1")))) + (build-system cmake-build-system) + (arguments + '(;; These are the suggested build options in the README. + #:configure-flags + '("-DCMAKE_BUILD_TYPE=Release" + "-DWITH_GMP=on" + "-DWITH_MPFR=on" + "-DWITH_MPC=on" + "-DINTEGER_CLASS=flint" + "-DWITH_LLVM=on" + "-DWITH_SYMENGINE_THREAD_SAFE=on" + "-DBUILD_SHARED_LIBS=on"))) ; also build libsymengine + (native-inputs + `(("llvm" ,llvm))) + (inputs + `(("flint" ,flint) + ("gmp" ,gmp) + ("mpc" ,mpc) + ("mpfr" ,mpfr))) + (home-page "https://github.com/symengine/symengine") + (synopsis "Fast symbolic manipulation library") + (description "SymEngine is a standalone fast C++ symbolic manipulation +library. Optional thin wrappers allow usage of the library from other +languages.") + (license (list license:expat ; SymEngine + license:bsd-3)))) ; 3rd party code + (define-public eigen (package (name "eigen") -- 2.20.1 From unknown Sun Sep 07 18:03:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41995] [PATCH 2/2] gnu: Add python-symengine. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Jun 2020 13:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41995 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41995@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159300465810010 (code B ref -1); Wed, 24 Jun 2020 13:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2020 13:17:38 +0000 Received: from localhost ([127.0.0.1]:37983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jo5HV-0002bN-Kj for submit@debbugs.gnu.org; Wed, 24 Jun 2020 09:17:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:44794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jo5HR-0002b1-8t for submit@debbugs.gnu.org; Wed, 24 Jun 2020 09:17:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jo5HR-0004NJ-23 for guix-patches@gnu.org; Wed, 24 Jun 2020 09:17:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jo5HM-0006B7-Hp for guix-patches@gnu.org; Wed, 24 Jun 2020 09:17:32 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 69F14160072 for ; Wed, 24 Jun 2020 15:17:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1593004646; bh=VDCwKXdXAjk6hKlWH9FzIfxIrZiYO9hBI0RlJA6p/Lw=; h=From:To:Cc:Subject:Date:From; b=DdeTSJzFCwo9dsNLnjEp4quS8I7E9A22gWDW7GYB1K7U90VnHltedpIk6rymX88KI y/28rUFHd1JsIPQyhcXLWP9ORMfw++d7Dj63az5IuC8dreJcplNAwBOwA5DtUi7+Hz ig6bUppQuEFMQwJYCKGubd2FpfnnXWdmBdamaCt1t3VPf9XnQPeTPyGSn994Dwr2BI sDT5Tw4TWoqgInGfkuDYjElz1AQZU1XtmOhvNoHXtB3AoU+toVvlYQSjiQtky8UMyJ 8f5gmxCMDl6S1VfYNyGKJ5Nnm9yEmLr5q4+Ns5eR1LQrZ/cz0L0nTU+NqBAhVwvCLD lxE4gCkf7hvPQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49sNwj1TvXz6tmL; Wed, 24 Jun 2020 15:17:24 +0200 (CEST) From: Vinicius Monego Date: Wed, 24 Jun 2020 10:16:56 -0300 Message-Id: <20200624131656.42776-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200624131656.42776-1-monego@posteo.net> References: <20200622010155.17641-1-monego@posteo.net> <20200624131656.42776-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/24 09:17:22 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-xyz.scm (python-symengine): New variable. --- Removed python2 definition gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e95dec21c2..9e350e1688 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -81,6 +81,7 @@ ;;; Copyright © 2020 Josh Holland ;;; Copyright © 2020 Yuval Kogman ;;; Copyright © 2020 Michael Rohleder +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -106,6 +107,7 @@ #:use-module (gnu packages backup) #:use-module (gnu packages bash) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) #:use-module (gnu packages databases) @@ -10046,6 +10048,28 @@ document.") (define-public python2-jmespath (package-with-python2 python-jmespath)) +(define-public python-symengine + (package + (name "python-symengine") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "symengine" version)) + (sha256 + (base32 "1kn1w4dp9mrsq6kzmhf4pjmx3wicxc3dw1mwa924q8g48g77lr4c")))) + (build-system python-build-system) + (native-inputs + `(("cmake" ,cmake) + ("python-cython" ,python-cython))) + (inputs + `(("symengine" ,symengine))) + (home-page "https://github.com/symengine/symengine.py") + (synopsis "Python library providing wrappers to SymEngine") + (description "This library provides a Python wrapper to SymEngine, a fast C++ +symbolic manipulation library.") + (license license:expat))) + (define-public python-botocore (package (name "python-botocore") -- 2.20.1 From unknown Sun Sep 07 18:03:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41995] [PATCH 1/2] gnu: Add symengine. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Jun 2020 13:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41995 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 41995@debbugs.gnu.org Received: via spool by 41995-submit@debbugs.gnu.org id=B41995.159300598612077 (code B ref 41995); Wed, 24 Jun 2020 13:40:02 +0000 Received: (at 41995) by debbugs.gnu.org; 24 Jun 2020 13:39:46 +0000 Received: from localhost ([127.0.0.1]:38006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jo5cw-00038j-2e for submit@debbugs.gnu.org; Wed, 24 Jun 2020 09:39:46 -0400 Received: from mout02.posteo.de ([185.67.36.66]:43195) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jo5cr-00038R-9O for 41995@debbugs.gnu.org; Wed, 24 Jun 2020 09:39:44 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 167332400FB for <41995@debbugs.gnu.org>; Wed, 24 Jun 2020 15:39:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1593005975; bh=XRYdzOTS7DqPofJxAbTsxpWa44lcCzPmeVBxCXRiFMw=; h=Subject:From:To:Cc:Date:From; b=PzvpZD1woHsdGuTbb5ingrCnbtKyZBcDea7CguPfVqceRkLX3pGyY5pp2YYFz3veb XuQ83t4ONgV6mPAxBCGplE3Ig9b9D+xkVMu67rwzJ6HsrGf9NeF76coKs0OEg4FvEE 1aCvH4bvTpXqsMnrNZQfSszyjIlNiW84HDGjrfPfh00wYX3Zb4WkSACQ+036Mz1c3T jIyHQMcDEGDNaT9yb+UznwRqGp+Xoaid2irrT9/lyerKdW2ba6yg0URN41yEiOKbFK X693PVOTJT+eqI52BV+bUj7rJ/0ob8oDWr6eofIvuAfdlkFy4yOiTS6idmb78Gv9kD ReapEP/eNUE7A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49sPQF4BPqz9rxb; Wed, 24 Jun 2020 15:39:33 +0200 (CEST) Message-ID: <2b78b7092f77ec6cea1d117d6f06cc0f80bb1ea7.camel@posteo.net> From: Vinicius Monego Date: Wed, 24 Jun 2020 10:39:29 -0300 In-Reply-To: <87a70tvtlj.fsf@nicolasgoaziou.fr> References: <20200622010155.17641-1-monego@posteo.net> <87a70tvtlj.fsf@nicolasgoaziou.fr> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Nicolas, > + "-DWITH_TCMALLOC=on"))) > > This does not belong to the set of suggested build options. Is there > a particular reason to activate it? If so, would it make sense to add > a comment about it? That was part of the optimized build suggestions. I removed it, since this feature is provided by gperftools and it's causing trouble. > I also see there is a "BUILD_SHARED_LIBS" flag, off by default. Would > it > make sense to activate it? The shared library is used by the Julia wrapper. I noticed that we have a Julia build system, so I enabled this too. The other suggestions were also applied. From unknown Sun Sep 07 18:03:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vinicius Monego Subject: bug#41995: closed (Re: [bug#41995] [PATCH 1/2] gnu: Add symengine.) Message-ID: References: <878sgctkvk.fsf@nicolasgoaziou.fr> <20200622010155.17641-1-monego@posteo.net> X-Gnu-PR-Message: they-closed 41995 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 41995@debbugs.gnu.org Date: Wed, 24 Jun 2020 17:50:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1593021001-3358-1" This is a multi-part message in MIME format... ------------=_1593021001-3358-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #41995: [PATCH 1/2] gnu: Add symengine. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 41995@debbugs.gnu.org. --=20 41995: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41995 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1593021001-3358-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 41995-done) by debbugs.gnu.org; 24 Jun 2020 17:49:04 +0000 Received: from localhost ([127.0.0.1]:38838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jo9WC-0000qt-1T for submit@debbugs.gnu.org; Wed, 24 Jun 2020 13:49:04 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:43715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jo9W9-0000qN-AZ for 41995-done@debbugs.gnu.org; Wed, 24 Jun 2020 13:49:03 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 320CFE0006; Wed, 24 Jun 2020 17:48:53 +0000 (UTC) From: Nicolas Goaziou To: Vinicius Monego Subject: Re: [bug#41995] [PATCH 1/2] gnu: Add symengine. References: <20200622010155.17641-1-monego@posteo.net> <87a70tvtlj.fsf@nicolasgoaziou.fr> <2b78b7092f77ec6cea1d117d6f06cc0f80bb1ea7.camel@posteo.net> Date: Wed, 24 Jun 2020 19:49:03 +0200 In-Reply-To: <2b78b7092f77ec6cea1d117d6f06cc0f80bb1ea7.camel@posteo.net> (Vinicius Monego's message of "Wed, 24 Jun 2020 10:39:29 -0300") Message-ID: <878sgctkvk.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41995-done Cc: 41995-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Vinicius Monego writes: > The other suggestions were also applied. I applied both patches. I had to fix indentation. You may want to find out why it was off. Thank you! Regards, -- Nicolas Goaziou ------------=_1593021001-3358-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Jun 2020 01:02:24 +0000 Received: from localhost ([127.0.0.1]:32943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnAqu-0002yU-0M for submit@debbugs.gnu.org; Sun, 21 Jun 2020 21:02:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:36450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnAqp-0002yJ-UD for submit@debbugs.gnu.org; Sun, 21 Jun 2020 21:02:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnAqp-0004Ze-DC for guix-patches@gnu.org; Sun, 21 Jun 2020 21:02:19 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34579) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnAqm-00055O-Ps for guix-patches@gnu.org; Sun, 21 Jun 2020 21:02:19 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 303DE2400FB for ; Mon, 22 Jun 2020 03:02:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1592787733; bh=mntoDbhL5IE9wmxicXRtKzN8DXp22SkxU9d9roMbK2M=; h=From:To:Cc:Subject:Date:From; b=ebRsDqiHGFQQf3U+99uF6RsEVqmY7Xb7EIYG9TO0xWyLi495APTEONdD0tAz+v70b /swUi21wCHqey0MhEY9+GVADJMfn+FZVr6kzk3EFZu0Qg6Ol4ksH5sndrpTwgwHM0P NChrN0lJmCxdvjr0XFByApXIhNww6OPrizHXkqWB2Mcgvu6WntTehsRur9VwXmtCF+ LNjwucOVXPJM9GaWtevI1tjJRqsSKW+VeoQvHxWL1Szp/jRIUgNvt3iDlAL+XKYe8l eGkvKSkA+ISk2lyxrPDqBwMA06AIEP5Y2gybvRC5FsXw3f1Rj28pG70t05NDhkSKD/ OoNaMVx5GdH6Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49qrjH42zTz6tm8; Mon, 22 Jun 2020 03:02:11 +0200 (CEST) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH 1/2] gnu: Add symengine. Date: Sun, 21 Jun 2020 22:01:54 -0300 Message-Id: <20200622010155.17641-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/21 20:15:02 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Vinicius Monego X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/algebra.scm (symengine): New variable. --- gnu/packages/algebra.scm | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index b78e6ef304..ec381ac708 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Björn Höfling ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Vincent Legoll +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -43,6 +44,7 @@ #:use-module (gnu packages graphviz) #:use-module (gnu packages image) #:use-module (gnu packages java) + #:use-module (gnu packages llvm) #:use-module (gnu packages maths) #:use-module (gnu packages mpi) #:use-module (gnu packages multiprecision) @@ -946,6 +948,46 @@ minimization and curve fitting. It is mature code, based on decades-old algorithms from the FORTRAN library MINPACK.") (license license:bsd-2))) +(define-public symengine + (package + (name "symengine") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/symengine/symengine.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "129iv9maabmb42ylfdv0l0g94mcbf3y4q3np175008rcqdr8z6h1")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags + '("-DCMAKE_BUILD_TYPE=Release" + "-DWITH_GMP=on" + "-DWITH_MPFR=on" + "-DWITH_MPC=on" + "-DINTEGER_CLASS=flint" + "-DWITH_LLVM=on" + "-DWITH_SYMENGINE_THREAD_SAFE=on" + "-DWITH_TCMALLOC=on"))) + (native-inputs + `(("gperftools" ,gperftools) + ("llvm" ,llvm))) + (inputs + `(("flint" ,flint) + ("gmp" ,gmp) + ("mpc" ,mpc) + ("mpfr" ,mpfr))) + (home-page "https://github.com/symengine/symengine") + (synopsis "Fast symbolic manipulation library") + (description "SymEngine is a standalone fast C++ symbolic manipulation +library. Optional thin wrappers allow usage of the library from other +languages.") + (license (list license:expat ;; SymEngine. + license:bsd-3)))) ;; Third party code. + (define-public eigen (package (name "eigen") -- 2.20.1 ------------=_1593021001-3358-1--