unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: "Anders Ågren Thuné" <anders@aathn.org>, 64400@debbugs.gnu.org
Subject: [bug#64400] [PATCH 5/5] gnu: Add ocaml-owl.
Date: Tue, 11 Jul 2023 20:37:49 +0200	[thread overview]
Message-ID: <f1d778f11a309ce01b809159bd570ad3a2606c94.camel@gmail.com> (raw)
In-Reply-To: <20230701174258.21019-5-anders@aathn.org>

Am Samstag, dem 01.07.2023 um 17:43 +0000 schrieb Anders Ågren Thuné:
> * 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))
I'm pretty sure some of those inputs shouldn't be propagated.
> +    (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)))
This package sadly fails to build on aarch64 and probably also has
issues on other architectures, as it assumes some build flags specific
to x86_64 (see the CI build logs).  These should be stripped in a
patch, snippet or pre-build phase.  If these flags are there for
performance reasons, you should instead mark the package as tunable.

Cheers




  reply	other threads:[~2023-07-11 18:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-30 17:26 [bug#64400] [PATCH 0/5] Add ocaml-owl and ocaml-toml Anders Ågren Thuné
2023-07-01 17:43 ` [bug#64400] [PATCH 1/5] gnu: Add ocaml-ISO8601 Anders Ågren Thuné
2023-07-01 17:43   ` [bug#64400] [PATCH 2/5] gnu: Add ocaml-ocb Anders Ågren Thuné
2023-07-11 18:31     ` Liliana Marie Prikler
2023-07-01 17:43   ` [bug#64400] [PATCH 3/5] gnu: Add ocaml-npy Anders Ågren Thuné
2023-07-01 17:43   ` [bug#64400] [PATCH 4/5] gnu: Add ocaml-toml Anders Ågren Thuné
2023-07-01 17:43   ` [bug#64400] [PATCH 5/5] gnu: Add ocaml-owl Anders Ågren Thuné
2023-07-11 18:37     ` Liliana Marie Prikler [this message]
2023-07-11 18:30   ` [bug#64400] [PATCH 1/5] gnu: Add ocaml-ISO8601 Liliana Marie Prikler

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=f1d778f11a309ce01b809159bd570ad3a2606c94.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=64400@debbugs.gnu.org \
    --cc=anders@aathn.org \
    /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).