From patchwork Sat Jul 1 17:43:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Anders_=C3=85gren_Thun=C3=A9?= X-Patchwork-Id: 14498 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 72DBE27BBE2; Sun, 2 Jul 2023 08:34:00 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 AEBFB27BBEA for ; Sun, 2 Jul 2023 08:33:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFrZx-0005ua-L3; Sun, 02 Jul 2023 03:33:05 -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 1qFrZw-0005tw-29 for guix-patches@gnu.org; Sun, 02 Jul 2023 03:33:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFrZv-00022V-PQ for guix-patches@gnu.org; Sun, 02 Jul 2023 03:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFrZv-0008F6-Lm for guix-patches@gnu.org; Sun, 02 Jul 2023 03:33:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64400] [PATCH 5/5] gnu: Add ocaml-owl. Resent-From: Anders =?utf-8?b?w4VncmVuIFRodW7DqQ==?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 02 Jul 2023 07:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64400 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64400@debbugs.gnu.org Cc: Anders =?utf-8?b?w4VncmVuIFRodW7DqQ==?= Received: via spool by 64400-submit@debbugs.gnu.org id=B64400.168828317831604 (code B ref 64400); Sun, 02 Jul 2023 07:33:03 +0000 Received: (at 64400) by debbugs.gnu.org; 2 Jul 2023 07:32:58 +0000 Received: from localhost ([127.0.0.1]:59108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFrZp-0008Da-Ho for submit@debbugs.gnu.org; Sun, 02 Jul 2023 03:32:57 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:57975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFedG-0000UZ-R6 for 64400@debbugs.gnu.org; Sat, 01 Jul 2023 13:43:40 -0400 Date: Sat, 01 Jul 2023 17:43:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aathn.org; s=protonmail; t=1688233413; x=1688492613; bh=gfD+i4Y8HDsxXn2PBJT445HytAhu2q7DGl2+R/ol8+k=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=itPRlkY7et2AR5J6Oo0tLZUGjbe3Otb4W/sOWEnxQixDa16tAancslVC5+oYWTkvX HaCR5VrgFjm3LFJ/bTg6rH58WMHJpSvm+udQBtQujELtMoZfLSicPB+Mj146qCERi4 w4an215/TtawAJhW/bKbX8uZDnVKLYsVsbXOS8j9Sc5B3CjYwO+4QKpt9geVgqA9+n fcCexBbnPbY+Oy86pYS8+ailoK14q/jmnVBj0nwC0FGqPwX42zx2pJVCpt9j/xI/MY 4zHY25Zhb/lQ4V21jErt40ZlkUlit8gGlZrywugTUJVhG6Cdnf0D6MMik0rOZsXuBM BW1QhYyH5JtbA== From: Anders =?utf-8?b?w4VncmVuIFRodW7DqQ==?= Message-ID: <20230701174258.21019-5-anders@aathn.org> In-Reply-To: <20230701174258.21019-1-anders@aathn.org> References: <20230701174258.21019-1-anders@aathn.org> Feedback-ID: 38242901:user:proton MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 02 Jul 2023 03:32:54 -0400 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/ocaml.scm (ocaml-owl): New variable. --- gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 83077addb0..f118c1289e 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2797,6 +2797,34 @@ (define-public ocaml-toml OCaml primitive types are also supplied.") (license license:lgpl3))) +(define-public ocaml-owl + (package + (name "ocaml-owl") + (version "1.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/owlbarn/owl") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08jvgf1fd7d28cxxjifx4ikmwcbfbiyw0sivw3xy4vdzvbyc9xw9")))) + (build-system dune-build-system) + (propagated-inputs (list openblas zlib ocaml-ctypes ocaml-npy ocaml-compiler-libs)) + (native-inputs (list ocaml-alcotest ocaml-base ocaml-stdio)) + (home-page "https://github.com/owlbarn/owl") + (synopsis "OCaml Scientific and Engineering Computing") + (description + "Owl is an OCaml numerical library. It supports N-dimensional +arrays, both dense and sparse matrix operations, linear algebra, +regressions, fast Fourier transforms, and many advanced mathematical +and statistical functions (such as Markov chain Monte Carlo methods). +Recently, Owl has implemented algorithmic differentiation which +simplifies developing machine learning and neural network +algorithms.") + (license license:expat))) + (define-public ocaml-parmap (package (name "ocaml-parmap")