summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcancername <notcancername@protonmail.com>2025-05-25 19:41:07 +0200
committerGreg Hogan <code@greghogan.com>2025-06-25 16:31:28 +0000
commit14a81257cb09c8a28a70c1ac2eb7016771d3b80c (patch)
tree234a3b6647ca439da2e9fd7ef63eabd73009a078
parent43fd61dc26dc3b154e9c3f3457ffc057b3ca6b5e (diff)
gnu: Add simdutf.
* gnu/packages/c.scm (simdutf): New variable. Change-Id: I3e253617db4793e3bc2e4704106c4c42ef2f4f49 Signed-off-by: Greg Hogan <code@greghogan.com>
-rw-r--r--gnu/packages/c.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index c2a7f44798..02471acda4 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -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")