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 02:28:47 +0000 [thread overview]
Message-ID: <ROJcQzY4G9EUbM4PPs-w2E4FzjVo1NP-Hc8R2n3PvPfGbWim9atympOi9_9a2x983ycAuhqb2s5mi8PedYgbU_8alimVcWwPWeQIcYOYbrs=@pm.me> (raw)
In-Reply-To: <dOkQ4Y0u4ztu6Ahtsfp-i47XDozlW6iwGvbaOA8wVDmLKyhrwmL2lCmU8_-tCRcO8NeRRSeHEzIriOHB13IRNSWdBrZlbXzc3lQep4JNYEw=@pm.me>
[-- Attachment #1.1: Type: text/plain, Size: 390 bytes --]
Sorry, 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: 1214 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
next prev parent reply other threads:[~2021-03-26 2:29 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
2021-03-26 2:28 ` Isaac Young via Guix-patches via [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ROJcQzY4G9EUbM4PPs-w2E4FzjVo1NP-Hc8R2n3PvPfGbWim9atympOi9_9a2x983ycAuhqb2s5mi8PedYgbU_8alimVcWwPWeQIcYOYbrs=@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.