unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Isaac Young via Guix-patches via <guix-patches@gnu.org>
To: 47399@debbugs.gnu.org
Subject: [bug#47399] [PATCH] Add Google's Highway library.
Date: Fri, 26 Mar 2021 01:56:04 +0000	[thread overview]
Message-ID: <UUAUg5kD6-7_1czhMcr49Ndcy_7ASpyyZUguRvSbB4YiLZqf0un7uXjEeAQbMlM05Zvo4by-4nW0xc-xmSadhjmf0um4hBFBy2YS4Zm56sA=@pm.me> (raw)
In-Reply-To: <dOkQ4Y0u4ztu6Ahtsfp-i47XDozlW6iwGvbaOA8wVDmLKyhrwmL2lCmU8_-tCRcO8NeRRSeHEzIriOHB13IRNSWdBrZlbXzc3lQep4JNYEw=@pm.me>


[-- Attachment #1.1: Type: text/plain, Size: 389 bytes --]

Oops, I didn't include the patch.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, March 25, 2021 6:54 PM, Isaac Young <isyoung@pm.me> 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

[-- Attachment #1.2: Type: text/html, Size: 1213 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-google-highway.patch --]
[-- Type: text/x-patch; name=0001-google-highway.patch, Size: 1614 bytes --]

From e01ee85800935100e513cdf4175f238ef77da1fd Mon Sep 17 00:00:00 2001
From: Isaac Young <isyoung@pm.me>
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


  reply	other threads:[~2021-03-26  2:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26  0:54 [bug#47399] [PATCH] Add Google's Highway library Isaac Young via Guix-patches via
2021-03-26  1:56 ` Isaac Young via Guix-patches via [this message]
2021-03-26  2:28 ` Isaac Young via Guix-patches via
2021-03-26  9:17 ` Maxime Devos
2022-02-07 15:30 ` bug#47399: " Vinicius Monego

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='UUAUg5kD6-7_1czhMcr49Ndcy_7ASpyyZUguRvSbB4YiLZqf0un7uXjEeAQbMlM05Zvo4by-4nW0xc-xmSadhjmf0um4hBFBy2YS4Zm56sA=@pm.me' \
    --to=guix-patches@gnu.org \
    --cc=47399@debbugs.gnu.org \
    --cc=isyoung@pm.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).