From patchwork Fri Mar 26 01:56:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Isaac Young X-Patchwork-Id: 28112 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 18B6927BC5C; Fri, 26 Mar 2021 02:16:11 +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 65A5827BC5D for ; Fri, 26 Mar 2021 02:16:10 +0000 (GMT) Received: from localhost ([::1]:33182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPc1B-0003YQ-FC for patchwork@mira.cbaines.net; Thu, 25 Mar 2021 22:16:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPc14-0003YH-8K for guix-patches@gnu.org; Thu, 25 Mar 2021 22:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPc14-0004AV-0K for guix-patches@gnu.org; Thu, 25 Mar 2021 22:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPc13-0001tq-Si for guix-patches@gnu.org; Thu, 25 Mar 2021 22:16:01 -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:16:01 +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.16167249087223 (code B ref -1); Fri, 26 Mar 2021 02:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2021 02:15:08 +0000 Received: from localhost ([127.0.0.1]:40031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPc0B-0001sP-D5 for submit@debbugs.gnu.org; Thu, 25 Mar 2021 22:15:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:33518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPbhr-0001Qf-UJ for submit@debbugs.gnu.org; Thu, 25 Mar 2021 21:56:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPbhr-0001dN-LF for guix-patches@gnu.org; Thu, 25 Mar 2021 21:56:11 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:59733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPbho-0003e5-UD for guix-patches@gnu.org; Thu, 25 Mar 2021 21:56:11 -0400 Date: Fri, 26 Mar 2021 01:56:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1616723765; bh=0w+5hOwgeMpwy37TEhk7E4gWW0YCUX398L3UYzvFaa0=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=TZXuPlQf2hzzKGL9BzRIh7ZMH3SKiN3jdsnvQXbu78a61ajzEUg6BSYhioF53PPkN SXXGo4iKHVVyxVPII7dpOF9ZiZEX6+7kvW2VXLT9xepeBnOHtE9nUt/aR4yH4kPGZc k6NIxcMt9yBau1cPHIPM+7ZMxgWpfUGj2n0q6OJr750tku6E6mlHz4wa540umkueeh ePNFylPrbgFnqnqovyrZPPAX1e+zRgapRDHNRBMDQ1+ekD9v68mZ1pRhB4hWYJQ4FE 4EGrSYzW9ryG+HjfEhi8Yjz///22996znGSrplNGRIPilJ39NtZUAlZuR7BPGyVoRD 1tidUug4ys4AQ== Message-ID: In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.131; envelope-from=isyoung@pm.me; helo=mail-40131.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-Mailman-Approved-At: Thu, 25 Mar 2021 22:15:06 -0400 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 Oops, 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