From patchwork Fri Mar 26 02:28:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Isaac Young X-Patchwork-Id: 28113 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 C1DD127BC5D; Fri, 26 Mar 2021 02:29:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 58F1127BC5C for ; Fri, 26 Mar 2021 02:29:24 +0000 (GMT) Received: from localhost ([::1]:44874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPcDz-0000jE-DB for patchwork@mira.cbaines.net; Thu, 25 Mar 2021 22:29:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPcDe-0000iq-Ot for guix-patches@gnu.org; Thu, 25 Mar 2021 22:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPcDe-0001jd-HY for guix-patches@gnu.org; Thu, 25 Mar 2021 22:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPcDe-0002Bz-CR for guix-patches@gnu.org; Thu, 25 Mar 2021 22:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47399] [PATCH] Add Google's Highway library. Resent-From: Isaac Young Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Mar 2021 02:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47399 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47399@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.16167257378414 (code B ref -1); Fri, 26 Mar 2021 02:29:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2021 02:28:57 +0000 Received: from localhost ([127.0.0.1]:40038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPcDZ-0002Be-0b for submit@debbugs.gnu.org; Thu, 25 Mar 2021 22:28:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:46324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPcDW-0002BW-MW for submit@debbugs.gnu.org; Thu, 25 Mar 2021 22:28:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPcDW-0000cu-Fi for guix-patches@gnu.org; Thu, 25 Mar 2021 22:28:54 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:37659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPcDT-0001cV-DD for guix-patches@gnu.org; Thu, 25 Mar 2021 22:28:53 -0400 Date: Fri, 26 Mar 2021 02:28:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1616725728; bh=7hjrueUJ4YLYhC2JyPq1mIVdcaXDH1xmApSlSTMaCPg=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=fFrR9F0CdKRpZywgkNShcnGbPzgFc3ShVn9ueQyRQiRDG2H+w5sOnNDXPk5oraZ/J 9W4TxjAeVy513hjOwY8PZF40spLuTutBGx3W1SQ0KP8qacQ7eNDym6lL/ies0C4Oog pvvYjjoJmPdYqOxs3pEff7PrQYqoEJJb2T5CPZrxmaGc2bSj3eRIRRUUIpF1a1scip vM2caTJ+VcswVqfEQmdVLX6+kDQDgxe+wdnH7CpV9QBkYvhkYwZgbhlFOvGkP3DUue JVqh8lOoZ66OQ270RFPgtRZ/SE6rfKzj4uOdIX28WWV+zNlFYgMgBUEYA1rEJx5wCc CZ+of3IJDfrEw== Message-ID: In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.133; envelope-from=isyoung@pm.me; helo=mail-40133.protonmail.ch 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Isaac Young X-ACL-Warn: , Isaac Young via Guix-patches X-Patchwork-Original-From: Isaac Young via Guix-patches via From: Isaac Young X-getmail-retrieved-from-mailbox: Patches Sorry, I didn't include the patch. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, March 25, 2021 6:54 PM, Isaac Young wrote: > Hello, > > I would like to add Google's highway library (https://github.com/google/highway) to guix officially. Any feedback will be greately apperciated as this is my first public package. > > Thank you, > Isaac Young From e01ee85800935100e513cdf4175f238ef77da1fd Mon Sep 17 00:00:00 2001 From: Isaac Young Date: Thu, 25 Mar 2021 18:17:28 -0600 Subject: [PATCH] Add Google's Highway library. --- gnu/packages/datastructures.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm index f10a54d376..cb796b17e3 100644 --- a/gnu/packages/datastructures.scm +++ b/gnu/packages/datastructures.scm @@ -371,3 +371,27 @@ and tsl::robin_pg_set. The first two are faster and use a power of two growth policy, the last two use a prime growth policy instead and are able to cope better with a poor hash function.") (license license:expat))) + +(define-public google-highway + (package + (name "google-highway") + (version "0.11.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/highway") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zz21pap5qy3a490xy0nqp1p20f9x7zkar3msj5z0155l5fpfr3b")))) + (build-system cmake-build-system) + (inputs + `(("googletest" ,googletest))) + (arguments + `(#:tests? #t + #:configure-flags '("-DHWY_SYSTEM_GTEST=ON"))) + (home-page "https://github.com/google/highway") + (synopsis "Highway is a C++ library for SIMD.") + (description "Performance-portable, length-agnostic SIMD with runtime dispatch") + (license license:asl2.0))) -- 2.31.0