From patchwork Sat Aug 26 18:53:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 53235 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 261AB27BBEA; Sat, 26 Aug 2023 19:54:07 +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 C73B027BBE2 for ; Sat, 26 Aug 2023 19:54:05 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZyQ3-0003Tn-FA; Sat, 26 Aug 2023 14:53:59 -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 1qZyQ0-0003SQ-W4 for guix-patches@gnu.org; Sat, 26 Aug 2023 14:53:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qZyQ0-0006h3-O9 for guix-patches@gnu.org; Sat, 26 Aug 2023 14:53:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qZyQ6-0007Xb-1X for guix-patches@gnu.org; Sat, 26 Aug 2023 14:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65553] [PATCH 4/6] gnu: Add arrayfire-forge. References: In-Reply-To: Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Aug 2023 18:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65553 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65553@debbugs.gnu.org Received: via spool by 65553-submit@debbugs.gnu.org id=B65553.169307603928977 (code B ref 65553); Sat, 26 Aug 2023 18:54:02 +0000 Received: (at 65553) by debbugs.gnu.org; 26 Aug 2023 18:53:59 +0000 Received: from localhost ([127.0.0.1]:43415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZyQ2-0007XJ-R3 for submit@debbugs.gnu.org; Sat, 26 Aug 2023 14:53:59 -0400 Received: from layka.disroot.org ([178.21.23.139]:59632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZyQ1-0007XB-Hr for 65553@debbugs.gnu.org; Sat, 26 Aug 2023 14:53:58 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B1DA541064 for <65553@debbugs.gnu.org>; Sat, 26 Aug 2023 20:53:51 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bpThiw79_V7v for <65553@debbugs.gnu.org>; Sat, 26 Aug 2023 20:53:50 +0200 (CEST) Message-ID: <61085ea2-d601-0761-1735-82ac48625592@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1693076030; bh=GHyg4Ufyi3k0o74Gy6C+0HczZSYiRynFMLNMnAv+ZPo=; h=Date:To:From:Subject; b=U/0TxTp8RPlpYfap0mcFiSIJCaMQLTREguppbQJNB67Q4CfAXrww8X4vqqCJd1OiG DHlqcGc42fIconCQJ1Be01Nn47CcqrUdCl2i++m+KvLxwOdNw3MJq2Ma8bUq4lrSRv z3Dvaf7EZYVfUMH+3WF6NoqpTgG7N4L3sPujMEAcJMPsgv8iW/luNzcCFg0AmSHMqc JgBTL3gBgIKITVePBLa79QT0c6Ox57ispmUXldwUZ6qRy/XoO9X/tc3bwWmjKCznTS C8PNgRJx/uEzkT062E/EKidhA5xrBXT/WSzs7Fphy5jcPMvpiWQT3V17e+S6ymMMyf cPFISpZIhz8TA== Date: Sun, 27 Aug 2023 02:53:47 +0800 MIME-Version: 1.0 Content-Language: en-US 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: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz 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 From 57c398fa56f343ef3767f3be33a47c33a510b758 Mon Sep 17 00:00:00 2001 Message-ID: <57c398fa56f343ef3767f3be33a47c33a510b758.1693075221.git.adam.faiz@disroot.org> In-Reply-To: References: From: AwesomeAdam54321 Date: Sun, 27 Aug 2023 02:09:00 +0800 Subject: [PATCH 4/6] gnu: Add arrayfire-forge. * gnu/packages/statistics.scm (arrayfire-forge): New variable. --- gnu/packages/statistics.scm | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 5abc62d760..7681af717b 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -43,6 +43,7 @@ (define-module (gnu packages statistics) #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system ant) + #:use-module (guix build-system cmake) #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system r) @@ -54,16 +55,19 @@ (define-module (gnu packages statistics) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) #:use-module (gnu packages bash) + #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages cran) #:use-module (gnu packages curl) + #:use-module (gnu packages documentation) #:use-module (gnu packages emacs) #:use-module (gnu packages emacs-xyz) #:use-module (gnu packages fontutils) #:use-module (gnu packages gcc) #:use-module (gnu packages gtk) #:use-module (gnu packages gettext) + #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) @@ -77,6 +81,7 @@ (define-module (gnu packages statistics) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages ocaml) + #:use-module (gnu packages opencl) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -6821,6 +6826,52 @@ (define-public emacs-poly-r files, including Rmarkdown files.") (license license:gpl3+))) +(define-public arrayfire-forge + (package + (name "arrayfire-forge") + (version "1.0.8") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/arrayfire/forge.git") + (commit (string-append "v" version)))) + (sha256 + (base32 "19bqqq56bvpi9dyn7i3p86ccs9v45zy5a74njacjn7l0rb0l09lm")) + (modules '((guix build utils))) + (snippet + #~(begin + (substitute* "CMakeLists.txt" + (("include\\(ForgeConfigureDepsVars\\)") "")) + (substitute* "examples/CMakeLists.txt" + (("include.build_cl2hpp.") "")))) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (native-inputs + (list doxygen + pkg-config + python-breathe + python-sphinx + python-recommonmark)) + (inputs + (list arrayfire-glad + boost + fontconfig + freeimage + freetype + glfw + glm + opencl-clhpp)) + (arguments + (list #:tests? #f)) ; no tests + (home-page "https://arrayfire.com/") + (synopsis "OpenGL visualiser") + (description "Forge is an OpenGL interop library that can be used +with ArrayFire or any other application using the OpenCL compute backend. + The goal of Forge is to provide OpenGL visualizations +for C/C++ applications that use OpenCL.") + (license license:bsd-3))) + (define-public readstat (package (name "readstat")