From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uN2UIJ2hrWSBiAAASxT56A (envelope-from ) for ; Tue, 11 Jul 2023 20:38:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QEfaIJ2hrWRpfQEAauVa8A (envelope-from ) for ; Tue, 11 Jul 2023 20:38:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2F59530511 for ; Tue, 11 Jul 2023 20:38:21 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=BkApsFeQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689100701; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jdglVEhgq8PVzCkFUAQAyF/IyGm2JXQx9yJUTti71mc=; b=EeYgqSdjVXyA0r7tQLxGn+o7Q6fXGK9Aknmtz1MhdXppBdtkhyda0mmCt9COv7Z9b0lcfC Q/P2TfLMpSlHrvguXcJAyYvk/7IYxZi+wP63TVHlUoTScElwl/gkQC9aqo3fOc4hoMdjsQ mmPpobQZztv+HimQjohqB8f5L5vGkoNqSTDpLlBEI9IdGIXt7tAeE5qc+PoqYbKHPbkAcE oZvPn78dtK0N8SPui7RP7EX6u1FIq9Jm/3O6AmRYtpLXKMe92MWRdLqypX18PsXrBGTupR +Ljh3pxSjhqLZO7KvLYGpglZ8bMA++xsQ7NKBLCImasGiG6MYc/ZZJTDW6ySkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=BkApsFeQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689100701; a=rsa-sha256; cv=none; b=cLtx8pp2MQ7t15EqsXwV+/Fc4RzBglTzz0RWNKjtM/Bsrf0E8Ifgfadb4kucvpVIFt8B9Z +fqfHJtO6+KA/oT9UamuSTaV6lpRHMle7a0LqNXQY86TW1ZR6zH0conXlkEXHaesyctHov Fl7gUgKz3tuPxiJTlOgiENMX1VkhWcCbb8l6cugWmPO6xgQh2xqk72nvabRQOfAqdrodGg dTGORmXWOmfmq4obLd2jBIsW8QBfSDvNGTM78UYmOCjar/QXwBWTMFQtLGdt9KgjsI/id+ oAc6aRjLep7H7XNwOyBmnTEzRP+NRutctbnzg8Vm5fwYe026G7cWpCQbRqelEQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJIFW-0001E0-Dp; Tue, 11 Jul 2023 14:38:10 -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 1qJIFP-0001Db-2m for guix-patches@gnu.org; Tue, 11 Jul 2023 14:38: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 1qJIFO-0005o5-3o for guix-patches@gnu.org; Tue, 11 Jul 2023 14:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qJIFN-0001iF-Ul for guix-patches@gnu.org; Tue, 11 Jul 2023 14:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64400] [PATCH 5/5] gnu: Add ocaml-owl. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 11 Jul 2023 18:38:01 +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: Anders =?UTF-8?Q?=C3=85gren_?= =?UTF-8?Q?Thun=C3=A9?= , 64400@debbugs.gnu.org Received: via spool by 64400-submit@debbugs.gnu.org id=B64400.16891006796572 (code B ref 64400); Tue, 11 Jul 2023 18:38:01 +0000 Received: (at 64400) by debbugs.gnu.org; 11 Jul 2023 18:37:59 +0000 Received: from localhost ([127.0.0.1]:51059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJIFK-0001hv-U5 for submit@debbugs.gnu.org; Tue, 11 Jul 2023 14:37:59 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:59830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJIFI-0001hW-O0 for 64400@debbugs.gnu.org; Tue, 11 Jul 2023 14:37:57 -0400 Received: by mail-ej1-f66.google.com with SMTP id a640c23a62f3a-992f15c36fcso786515966b.3 for <64400@debbugs.gnu.org>; Tue, 11 Jul 2023 11:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689100671; x=1691692671; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=jdglVEhgq8PVzCkFUAQAyF/IyGm2JXQx9yJUTti71mc=; b=BkApsFeQiuciNffE1za42PsSxeuw0fAL3JPCETHgN4NLVtYWoaPW+WQXfwpyI2o/GC gZyPiIO91mks8us/rf60m/tm6lYZT7pXCdOuRMpecQwE6Z8CbjKmNogd19kanmmsjhW9 4/5aEoIZtKNBMjnsE0sHbBO39WLJ2wUhfyQMGwguOnF/0sC24JnU47FqsJGn2A32siYI tkO96yOZQMopXV8uUF+CNXmE2IN7neABHZyKaTQ0z2FXJk06OLPPG4yA2shM+q8Hw3Z/ Sn5sXYMIzH+hgtyr7q4qnGnmkwIRBv12P/7tpb34msRfdi1F2qafTExHfafayDxHg3Zu wwFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689100671; x=1691692671; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=jdglVEhgq8PVzCkFUAQAyF/IyGm2JXQx9yJUTti71mc=; b=XLvRnhsGc64F9wD5CerFgZsZ36UQmIMaOaXK0ESUH7GRFz0J+DR3xBh9Cb2l7C0Qnl Ls0B7xTQs7QgA3yXzuCGSssjKV8mpYA5w0p5Y9H7xp9SEINabbFSKuUOh31NGueY3li/ qC1lM4At2r79WCswTkznl++gQXFM7N7KoRc/jquKipTSxw+TSt5vyNwQE24qoNzydV5u zrYON2sPXkW6jR47sFXiPRM4iflcV5xNwHpWKt5e/BqmEXIFFApS07NCOIhBdJqp2oWc wt2Qel1nxODWe6JXm1UcjHM1XB6vzYw1hthWAMQaYr7RVVuFWNmfg9RbKKbCj4Kw3Tez h81A== X-Gm-Message-State: ABy/qLb2lYv7Ln5I7zvky6n52g5E5UzZ1NukrdkZxj8E5liCzlJhIj5Y tNbJEY6MDdzYiraNc2pkPJVeLxemIJ3Z+w== X-Google-Smtp-Source: APBJJlFUJVmK6eeBZqgoIfIJDl5LQhremwDdLj1lKTOhVbeHo7NsyeiisqNOChLwURcvTi/o/kXItQ== X-Received: by 2002:a17:906:9bf3:b0:992:91ce:4508 with SMTP id de51-20020a1709069bf300b0099291ce4508mr16356100ejc.53.1689100670699; Tue, 11 Jul 2023 11:37:50 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id z25-20020a170906271900b009786c8249d6sm1495325ejc.175.2023.07.11.11.37.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 11:37:50 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Tue, 11 Jul 2023 20:37:49 +0200 In-Reply-To: <20230701174258.21019-5-anders@aathn.org> References: <20230701174258.21019-1-anders@aathn.org> <20230701174258.21019-5-anders@aathn.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 2F59530511 X-Migadu-Spam-Score: 2.70 X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: 2.70 X-TUID: aYorZkIskBkC Am Samstag, dem 01.07.2023 um 17:43 +0000 schrieb Anders =C3=85gren Thun=C3= =A9: > * gnu/packages/ocaml.scm (ocaml-owl): New variable. > --- > =C2=A0gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++ > =C2=A01 file changed, 28 insertions(+) >=20 > 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 > =C2=A0OCaml primitive types are also supplied.") > =C2=A0=C2=A0=C2=A0=C2=A0 (license license:lgpl3))) > =C2=A0 > +(define-public ocaml-owl > +=C2=A0 (package > +=C2=A0=C2=A0=C2=A0 (name "ocaml-owl") > +=C2=A0=C2=A0=C2=A0 (version "1.1") > +=C2=A0=C2=A0=C2=A0 (source (origin > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (method git-fetch) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (uri (git-reference > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (url "https://github.com/owlbarn= /owl") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (commit version))) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (file-name (git-file-name name version)) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (sha256 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 (base32 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 > "08jvgf1fd7d28cxxjifx4ikmwcbfbiyw0sivw3xy4vdzvbyc9xw9")))) > +=C2=A0=C2=A0=C2=A0 (build-system dune-build-system) > +=C2=A0=C2=A0=C2=A0 (propagated-inputs (list openblas zlib ocaml-ctypes o= caml-npy > ocaml-compiler-libs)) I'm pretty sure some of those inputs shouldn't be propagated. > +=C2=A0=C2=A0=C2=A0 (native-inputs (list ocaml-alcotest ocaml-base ocaml-= stdio)) > +=C2=A0=C2=A0=C2=A0 (home-page "https://github.com/owlbarn/owl") > +=C2=A0=C2=A0=C2=A0 (synopsis "OCaml Scientific and Engineering Computing= ") > +=C2=A0=C2=A0=C2=A0 (description > +=C2=A0=C2=A0=C2=A0=C2=A0 "Owl is an OCaml numerical library.=C2=A0 It su= pports 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.") > +=C2=A0=C2=A0=C2=A0 (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