mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-12 18:10:47 +02:00
gnu: Add simdutf.
* gnu/packages/c.scm (simdutf): New variable. Change-Id: I3e253617db4793e3bc2e4704106c4c42ef2f4f49 Signed-off-by: Greg Hogan <code@greghogan.com>
This commit is contained in:
parent
43fd61dc26
commit
14a81257cb
1 changed files with 22 additions and 0 deletions
|
@ -1662,6 +1662,28 @@ C and C++. The functions it provides are like those from the C header
|
|||
string.h, but with a utf8* prefix instead of the str* prefix.")
|
||||
(license license:unlicense))))
|
||||
|
||||
(define-public simdutf
|
||||
(package
|
||||
(name "simdutf")
|
||||
(version "7.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/simdutf/simdutf")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1kw4k3mhkj3bcmfmwwzq76hs2ypg5lrjl4vnp2dfg73vas9v9w35"))))
|
||||
(build-system cmake-build-system)
|
||||
(synopsis "SIMD Unicode validation and transcoding")
|
||||
(description
|
||||
"simdutf is a C++ library providing Unicode routines (UTF8, UTF16,
|
||||
UTF32). These routines are optimized for many specific architectures using
|
||||
SIMD (Single Instruction, Multiple Data) instructions.")
|
||||
(home-page "https://github.com/simdutf/simdutf")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public utest-h
|
||||
;; The latest commit is used as there is no release.
|
||||
(let ((commit "54458e248f875f1a51f0af8bec8ca6ae7761b9d1")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue