From unknown Fri Jun 20 07:17:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#69103 <69103@debbugs.gnu.org> To: bug#69103 <69103@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add stringzilla. Reply-To: bug#69103 <69103@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:17:19 +0000 retitle 69103 [PATCH] gnu: Add stringzilla. reassign 69103 guix-patches submitter 69103 "Paul A. Patience" severity 69103 normal tag 69103 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 13 10:49:58 2024 Received: (at submit) by debbugs.gnu.org; 13 Feb 2024 15:49:59 +0000 Received: from localhost ([127.0.0.1]:45775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZv2k-0002kk-G0 for submit@debbugs.gnu.org; Tue, 13 Feb 2024 10:49:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:51306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZv2h-0002kU-6p for submit@debbugs.gnu.org; Tue, 13 Feb 2024 10:49:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZv2P-0001RH-DL for guix-patches@gnu.org; Tue, 13 Feb 2024 10:49:37 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZv2L-00053q-Pz for guix-patches@gnu.org; Tue, 13 Feb 2024 10:49:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1707839368; x=1708098568; bh=h1AmAVg6c2WC5mTIPSEegid+qcAlrYOEThZRCw2FHrU=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=dhcPoZ7OFNley5eEN8NmujCIYq2Ogvclslsc+48lyRY5lT1rA5UIpJ2R+WaeaOSpF aJAob3thRFBY81nsHnJEXZHqnqeu387nLfwOfjXnrTfwWgNCzzKDQ9ARcyeR4pLNHC DbI18S1OzjEpOIes+8oXfyNRMD54xwjXW+NrakM/ovlVHQs2VcFTtryNZ6i/8U1xP2 atuiYiYe/gXpDF/cUTuPFZTawBkmrybvnEDzw//Dr29dD8KzmR/iDgmw9Z6TIA5Fgd +ae6HPJ/nlhXNaJtLsjBP7yJ9CdDaOTSE0cjv967vVIarNUT5j9Rs7NZXYxbEyNKsu eY+je1SoH2wHw== Date: Tue, 13 Feb 2024 15:49:23 +0000 To: guix-patches@gnu.org From: "Paul A. Patience" Subject: [PATCH] gnu: Add stringzilla. Message-ID: <1d1a44107760fab61928be251e22d16e958c64b0.1707839329.git.paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=paul@apatience.com; helo=mail-40136.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Paul A. Patience" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/c.scm (stringzilla): New variable. Change-Id: Ie84b126f8245f6ba8f1cc9ee56cc025b5181c3af --- gnu/packages/c.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 1346605c71..742fe0a40a 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -21,6 +21,7 @@ ;;; Copyright =C2=A9 2023 zamfofex ;;; Copyright =C2=A9 2023 Foundation Devices, Inc. ;;; Copyright =C2=A9 2023 David Elsing +;;; Copyright =C2=A9 2024 Paul A. Patience ;;; ;;; This file is part of GNU Guix. ;;; @@ -1462,6 +1463,44 @@ (define-public utf8-h string.h, but with a utf8* prefix instead of the str* prefix.") (license license:unlicense)))) =20 +(define-public stringzilla + (package + (name "stringzilla") + (version "3.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ashvardanian/StringZilla") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15gvbhya3q1bjidnjgbd59jgf8pj3mykp5l1d46p5k3lwr67m1iw")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags + #~(list "-DSTRINGZILLA_INSTALL=3DON" + (string-append "-DSTRINGZILLA_INCLUDE_INSTALL_DIR=3D" + #$output "/include") + ;; One fails, another takes very long. + "-DSTRINGZILLA_BUILD_BENCHMARK=3DOFF" + ;; Header-only; the shared library is not installed. + "-DSTRINGZILLA_BUILD_SHARED=3DOFF") + #:phases + #~(modify-phases %standard-phases + ;; AVX512 support can be disabled by defining SZ_USE_X86_AV= X512 + ;; to 0 before including the header. + (add-after 'unpack 'skip-failing-test + (lambda _ + (substitute* "CMakeLists.txt" + (("^ *define_launcher\\(.*_avx512 .*") ""))))))) + (home-page "https://github.com/ashvardanian/StringZilla") + (synopsis "C/C++ header-only string library using SIMD and SWAR") + (description "StringZilla is a C/C++ header-only string library which +relies on SIMD and SWAR. It implements string search, edit distances, +sorting, lazy ranges, hashes and fingerprints.") + (license (list license:asl2.0 license:bsd-3)))) ; readme says dual-lic= ensed + (define-public utest-h ;; The latest commit is used as there is no release. (let ((commit "54458e248f875f1a51f0af8bec8ca6ae7761b9d1") base-commit: 570ef13a87bb54d3410c431700ba78316a2641e2 --=20 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 01 08:53:02 2025 Received: (at 69103-done) by debbugs.gnu.org; 1 Mar 2025 13:53:02 +0000 Received: from localhost ([127.0.0.1]:35831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1toNH3-0001xU-PT for submit@debbugs.gnu.org; Sat, 01 Mar 2025 08:53:02 -0500 Received: from msg-3.mailo.com ([213.182.54.8]:59978 helo=mailo.com) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1toNH1-0001wj-C9 for 69103-done@debbugs.gnu.org; Sat, 01 Mar 2025 08:53:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1740837172; bh=nAuDtqlUIEe3dw19ibaz8pYIG9ayBZY4JqYsiKVKb1w=; h=X-EA-Auth:From:To:Cc:Subject:In-Reply-To:Date:Message-ID: MIME-Version:Content-Type; b=keloxq7qnkqEnZ4sOAR2nxkqTbTu0GvBX+CrwfcRxm3OwNzjdr2e+DcVQZialinaJ LSF05ETZnlfRNSTrFuRtkCLiSnIfMfRnCFVaK8RkHNQMFfxn1WHDJvzx3qcTrJK3F5 lHNuzWB7iy9znPtZK+/IehsRviUYcmA2JU1tR82w= Received: by b221-6.in.mailobj.net [192.168.90.26] with ESMTP via ip-20.mailobj.net [213.182.54.20] Sat, 1 Mar 2025 14:52:52 +0100 (CET) X-EA-Auth: /oHB9pgusTZ5cG0WsGM1FtN6zA1UGXwCRSR4tRAB0n6DnQveLIbEtcvBHSvBXVORfSlEFiEsZvE/XPFbrAudjrXj8yo7BsdAPcHz1fu7mpI= From: Nicolas Goaziou To: 69103-done@debbugs.gnu.org Subject: Re: [PATCH] gnu: Add stringzilla. In-Reply-To: <1d1a44107760fab61928be251e22d16e958c64b0.1707839329.git.paul@apatience.com> Date: Sat, 01 Mar 2025 14:52:36 +0100 Message-ID: <87ikosc0yj.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69103-done Cc: "Paul A. Patience" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, > * gnu/packages/c.scm (stringzilla): New variable. I updated stringzilla to its latest version and applied your patch. Thank you. Regards, -- Nicolas Goaziou From unknown Fri Jun 20 07:17:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 30 Mar 2025 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator