GNU logs - #73089, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#73089] [PATCH] gnu: Add rtneural.
Resent-From: Antero Mejr <mail@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 07 Sep 2024 05:01:02 +0000
Resent-Message-ID: <handler.73089.B.17256852224151 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 73089
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 73089 <at> debbugs.gnu.org
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17256852224151
          (code B ref -1); Sat, 07 Sep 2024 05:01:02 +0000
Received: (at submit) by debbugs.gnu.org; 7 Sep 2024 05:00:22 +0000
Received: from localhost ([127.0.0.1]:54536 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1smnYc-00014s-3Y
	for submit <at> debbugs.gnu.org; Sat, 07 Sep 2024 01:00:22 -0400
Received: from lists.gnu.org ([209.51.188.17]:55612)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1smnYZ-00014j-VR
 for submit <at> debbugs.gnu.org; Sat, 07 Sep 2024 01:00:21 -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 <mail@HIDDEN>) id 1smnYZ-0006yG-9C
 for guix-patches@HIDDEN; Sat, 07 Sep 2024 01:00:19 -0400
Received: from mout-p-102.mailbox.org ([80.241.56.152])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1smnYX-0006Bq-Ii
 for guix-patches@HIDDEN; Sat, 07 Sep 2024 01:00:19 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4X119z712Qz9sjJ
 for <guix-patches@HIDDEN>; Sat,  7 Sep 2024 07:00:07 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antr.me; s=MBO0001;
 t=1725685208;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=PkGWtOB7yF4bZBtadNQVprGdKTh7VB+2O7S8Xk4lGb4=;
 b=zJLBiNv4gmfPcPBgG+Z+mkUJ4Ec09f4MtFKTVbA+lTDQjrjjNwclFSixQdj1HdiRu/GeMG
 EscNQ0W3DTvMgSz44KqsV/Om5KCebaP9ZrflOySKKYR/8EDLTowcad6Vk3CDyUISAHN+Lt
 rUgzBqyt91rYy3KlW6v9/5lnCQ/EqHcQBfD34GEJ59Udm2xaRMT55Pwco8Se4Zkd0mg+gS
 8bZk8QRMeSOK8OGv1XIsB0j5wFmiurCI2K1jXUPpfJXqOKiT9kqlirTMOltF7wN/hLrNcL
 fFttXZtqD3fZDBh8dNwaU6a4ojXiolGz1mhFKaI/jcGx4tZrmBoaT3Iv8ArprA==
From: Antero Mejr <mail@HIDDEN>
Date: Sat, 07 Sep 2024 05:00:04 +0000
Message-ID: <87wmjo9hyj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=80.241.56.152; envelope-from=mail@HIDDEN;
 helo=mout-p-102.mailbox.org
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


* gnu/packages/machine-learning.scm (rtneural): New variable.

Change-Id: I0e3a74dddaed7fc239b0408b74c4595ab139e474
---
The tests are too heavy for my machine to run. It builds with them
turned off, but I turned them back on to see if the QA machine can
handle it.

 gnu/packages/machine-learning.scm | 56 +++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 5d34283947..f1c31ffddf 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -6117,3 +6117,59 @@ (define-public python-gymnasium
      "This package provides a standard API for reinforcement learning and a
 diverse set of reference environments (formerly Gym).")
     (license license:expat)))
+
+(define-public rtneural
+  (let ((commit "f9c2c646c6bf5a9a74cf0fd0e062e1351dde6208") ;no releases
+        (revision "0"))
+    (package
+      (name "rtneural")
+      (version (git-version "0.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/jatinchowdhury18/RTNeural")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0i2f5s6kjn9ivm17wbil0imgqfzxqpdw5avqdnha30czv5wa62ls"))
+         (modules '((guix build utils)))
+         (snippet #~(begin
+                      ;; unbundle
+                      (delete-file-recursively "modules")
+                      (substitute* "RTNeural/model_loader.h"
+                        (("#include \"../modules/json/json.hpp\"")
+                         "#include <nlohmann/json.hpp>"))
+                      (substitute* (find-files "RTNeural" "\\.h$")
+                        (("#include <Eigen/")
+                         "#include <eigen3/Eigen/"))
+                      (substitute* "CMakeLists.txt"
+                        (("include\\(cmake/CPM\\.cmake\\)") ""))
+                      (substitute* "RTNeural/CMakeLists.txt"
+                        (("STATIC") "SHARED"))
+                      (substitute* "cmake/Testing.cmake"
+                        (("CPMAddPackage.*$") ""))))))
+      (build-system cmake-build-system)
+      (arguments
+       (list #:configure-flags #~(list "-DBUILD_TESTS=ON")
+             #:phases
+             #~(modify-phases %standard-phases
+                 (replace 'install
+                   (lambda _
+                     (let ((inc (string-append #$output "/include/RTNeural"))
+                           (lib (string-append #$output "/lib")))
+                       (for-each (lambda (file)
+                                   (install-file file lib))
+                                 (find-files "." "\\.so"))
+                       (with-directory-excursion "../source/RTNeural"
+                         (for-each (lambda (file)
+                                     (install-file file inc))
+                                   (find-files "." "\\.h")))))))))
+      (inputs (list eigen nlohmann-json))
+      (home-page "https://github.com/jatinchowdhury18/RTNeural")
+      (synopsis "Real-time neural network interface library")
+      (description
+       "This package provides a neural network inferencing engine written in
+       C++.  The library was designed with the intention of being used in real-time
+       systems, specifically real-time audio processing.")
+      (license license:bsd-3))))

base-commit: 18d02443e1ec37779ee3cf63f9aaff1746bfdd8e
-- 
2.45.2





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Antero Mejr <mail@HIDDEN>
Subject: bug#73089: Acknowledgement ([PATCH] gnu: Add rtneural.)
Message-ID: <handler.73089.B.17256852224151.ack <at> debbugs.gnu.org>
References: <87wmjo9hyj.fsf@HIDDEN>
X-Gnu-PR-Message: ack 73089
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 73089 <at> debbugs.gnu.org
Date: Sat, 07 Sep 2024 05:01:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 73089 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
73089: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73089
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.