From patchwork Wed Oct 16 19:31:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 15751 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 C1280175BD; Wed, 16 Oct 2019 20:33:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7C7DD175B7 for ; Wed, 16 Oct 2019 20:33:25 +0100 (BST) Received: from localhost ([::1]:47492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKp2y-0001MY-Kq for patchwork@mira.cbaines.net; Wed, 16 Oct 2019 15:33:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34314) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKp2e-0001HK-4U for guix-patches@gnu.org; Wed, 16 Oct 2019 15:33:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKp2c-0007Uj-TU for guix-patches@gnu.org; Wed, 16 Oct 2019 15:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37752) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKp2c-0007Ud-QY for guix-patches@gnu.org; Wed, 16 Oct 2019 15:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iKp2c-0000sa-LS for guix-patches@gnu.org; Wed, 16 Oct 2019 15:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37780] [PATCH] gnu: Add gloo. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Oct 2019 19:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37780 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37780@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15712543353325 (code B ref -1); Wed, 16 Oct 2019 19:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Oct 2019 19:32:15 +0000 Received: from localhost ([127.0.0.1]:46573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKp1r-0000rZ-J8 for submit@debbugs.gnu.org; Wed, 16 Oct 2019 15:32:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:34131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKp1p-0000rR-Sf for submit@debbugs.gnu.org; Wed, 16 Oct 2019 15:32:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34138) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKp1n-0000Xs-GF for guix-patches@gnu.org; Wed, 16 Oct 2019 15:32:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKp1l-00073B-Ve for guix-patches@gnu.org; Wed, 16 Oct 2019 15:32:11 -0400 Received: from devianza.investici.org ([198.167.222.108]:27847) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iKp1l-0006w2-Dq for guix-patches@gnu.org; Wed, 16 Oct 2019 15:32:09 -0400 Received: from mx2.investici.org (localhost [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 46F22E0779; Wed, 16 Oct 2019 19:31:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1571254314; bh=geUUtidTGiNPj0GxE6jqTKfIBNMKZzX9tW2kQyWxmoE=; h=From:To:Cc:Subject:Date:From; b=juLzBbNohdZSyF+P9+cfQxDlFJptHCYFAr1CIUjHAMvan7Q77iHkZbaYNs5/023tg mnIav40/vKrEuYGXta1kXmIeGYY++mAhRKpBG+TuKZjzX/DAmeVRCIIAzRGytksLge 5HD8tc9suEZiqlZV2AoU+NXZqv1baKDd8rMSe960= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 1B66BE0737; Wed, 16 Oct 2019 19:31:53 +0000 (UTC) From: Giacomo Leidi Date: Wed, 16 Oct 2019 21:31:42 +0200 Message-Id: <20191016193142.9953-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/machine-learning.scm (gloo): New variable. --- gnu/packages/machine-learning.scm | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 254ee59c4a..9485357267 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -2051,3 +2051,39 @@ includes an implementation of Global Refinement of Random Forest.") (define-public ecl-cl-random-forest (sbcl-package->ecl-package sbcl-cl-random-forest)) + +(define-public gloo + (let ((version "0.0.0") ; no proper version tag + (commit "ca528e32fea9ca8f2b16053cff17160290fc84ce") + (revision "0")) + (package + (name "gloo") + (version (git-version version revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/facebookincubator/gloo.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1q9f80zy75f6njrzrqkmhc0g3qxs4gskr7ns2jdqanxa2ww7a99w")))) + (build-system cmake-build-system) + (native-inputs + `(("googletest" ,googletest))) + (arguments + `(#:configure-flags '("-DBUILD_TEST=1") + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "make" "gloo_test") + #t))))) + (synopsis "Collective communications library") + (description + "Gloo is a collective communications library. It comes with a +number of collective algorithms useful for machine learning applications. +These include a barrier, broadcast, and allreduce.") + (home-page "https://github.com/facebookincubator/gloo") + (license license:bsd-3))))