From patchwork Sat Jan 20 09:58:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 59202 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9179327BBEB; Sat, 20 Jan 2024 10:01:04 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F070D27BBE9 for ; Sat, 20 Jan 2024 10:01:03 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rR89c-0006A3-Jc; Sat, 20 Jan 2024 05:00:44 -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 1rR894-0005Wi-Ap for guix-patches@gnu.org; Sat, 20 Jan 2024 05:00:10 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rR893-0002oq-QE for guix-patches@gnu.org; Sat, 20 Jan 2024 05:00:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rR896-0005RQ-FT; Sat, 20 Jan 2024 05:00:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68605] [PATCH 28/38] gnu: go-github-com-minio-blake2b-simd: Move to (gnu packages golang-crypto). Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 20 Jan 2024 10:00:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68605 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68605@debbugs.gnu.org Cc: Sharlatan Hellseher , Katherine Cox-Buday , Sharlatan Hellseher X-Debbugs-Original-Xcc: Katherine Cox-Buday , Sharlatan Hellseher Received: via spool by 68605-submit@debbugs.gnu.org id=B68605.170574479219955 (code B ref 68605); Sat, 20 Jan 2024 10:00:12 +0000 Received: (at 68605) by debbugs.gnu.org; 20 Jan 2024 09:59:52 +0000 Received: from localhost ([127.0.0.1]:32810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rR88l-0005Bg-Eh for submit@debbugs.gnu.org; Sat, 20 Jan 2024 04:59:51 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:49305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rR885-000551-PZ for 68605@debbugs.gnu.org; Sat, 20 Jan 2024 04:59:11 -0500 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-40e779f0273so17141735e9.2 for <68605@debbugs.gnu.org>; Sat, 20 Jan 2024 01:59:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705744741; x=1706349541; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=enYAAsr2TdMI7XIVPnx7V9eopCDUC9k59TvYFPG2A58=; b=O3PcrPlxkFEmfdIYMN81ROUgAn8QnU4ZEQCo45GrnpRZ2o4o3y01g1IwE6DZnQFKQV 0qv0zs8f6hNkZU5cuFCgBICgfSjNR9VIEVY919lh8C8rnlx4N62aemaXzmyC4kzxP7l1 ABImd46gDPIy6VZFRfmjH8Gl30AEZt74e1TjpwU4Zu57SPm9DBAHABLLJYSrKtJ1oqgi fslOKyEUCduiDPUE2nubFS4Wv47MJDxzLIQvdPc4RJXnDQ9O7KVg4gYfn/nh9B/BODU4 c698gYvg7Uogzr6t2lwxEuWTxOD7XYm7DXOZXsKyyNeoKFQUplW2U+CYWUWSRsccEQqO 5dWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705744741; x=1706349541; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=enYAAsr2TdMI7XIVPnx7V9eopCDUC9k59TvYFPG2A58=; b=oTqJYg6AKAmNpGG+nUrMU6Mn+Pvy2QDzUo0xyB+UPE6QFcHhz04Z98PM4BTMMYkGGn 8+Kwzmwko7Uvep7Z5VWTyCfAE/OwYWulDsY6T0f9DgnX3WaaIV95LBBGIJFrLKWuCRnq I7L671pAyEqu1WomnZS5rCe/kGseWdfLUNs+VA9VMWe+SZMZsMwmJM32RYAB/CTU5WYs qJ012EfHqT6SrktRm0J8P1hWq1joEr4b1EJXu3RFJ+POLuoVuE8wmdk3O1j7Rn/EwkPp QPoRjoz447421KsWQoh5p64L1TbrkrJFjeuoLqLsRDfrBIqj1ymm3Xj7Jzjr4SvhZzu7 OGDg== X-Gm-Message-State: AOJu0YxagaD9fEQ5OWjEUL1jGi+elW/rsFKKkdYguLDYTp4MTURcxKhH V+If/4L0TXCPny3olxalP6wwB2km8GZDAi4zKcJUStMeSLLxl6GW7Z8T11ZPcug= X-Google-Smtp-Source: AGHT+IHGgFRfubOvwtt/CS8v4lB2xoAQ6eG82/zZOcB87tcifJfLVl2thP/DQ52BNucYb68XpbVMnw== X-Received: by 2002:a05:600c:181c:b0:40e:8df4:ef96 with SMTP id n28-20020a05600c181c00b0040e8df4ef96mr581546wmp.153.1705744741285; Sat, 20 Jan 2024 01:59:01 -0800 (PST) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id f6-20020a05600c4e8600b0040d6ffae526sm36066695wmq.39.2024.01.20.01.59.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 01:59:01 -0800 (PST) From: Sharlatan Hellseher Date: Sat, 20 Jan 2024 09:58:20 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-minio-blake2b-simd): Move from here ... * gnu/packages/golang-crypto.scm: ... to here. Change-Id: I096cf86c48b0fdcbf7c5d0b454d45de12018c908 --- gnu/packages/golang-crypto.scm | 31 +++++++++++++++++++++++++++++++ gnu/packages/golang.scm | 32 -------------------------------- 2 files changed, 31 insertions(+), 32 deletions(-) diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 2b2e9d877f..00a6f51313 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -432,6 +432,37 @@ (define-public go-github-com-marten-seemann-qtls the Go standard library's TLS 1.3 implementation.") (license license:bsd-3))) +(define-public go-github-com-minio-blake2b-simd + (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4") + (revision "0")) + (package + (name "go-github-com-minio-blake2b-simd") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/minio/blake2b-simd") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/minio/blake2b-simd")) + (home-page "https://github.com/minio/blake2b-simd") + (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions") + (description "This package was initially based on the pure go BLAKE2b +implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX +optimized BLAKE2 implementation (which in turn is based on the official +implementation. It does so by using Go's Assembler for amd64 architectures +with a golang only fallback for other architectures. + +In addition to AVX there is also support for AVX2 as well as SSE. Best +performance is obtained with AVX2 which gives roughly a 4X performance +increase approaching hashing speeds of 1GB/sec on a single core.") + (license license:asl2.0)))) + (define-public go-github-com-minio-sha256-simd (package (name "go-github-com-minio-sha256-simd") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 581594a1e0..ef20bc067e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5674,38 +5674,6 @@ (define-public go-github-com-mreiferson-go-svc @url{https://github.com/judwhite/go-svc/raw/master/svc/svc_windows_test.go,here}.") (license license:expat)))) -(define-public go-github-com-minio-blake2b-simd - (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4") - (revision "0")) - (package - (name "go-github-com-minio-blake2b-simd") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/minio/blake2b-simd") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/minio/blake2b-simd")) - (home-page "https://github.com/minio/blake2b-simd") - (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions") - (description "This package was initially based on the pure go BLAKE2b -implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX -optimized BLAKE2 implementation (which in turn is based on the official -implementation. It does so by using Go's Assembler for amd64 architectures -with a golang only fallback for other architectures. - -In addition to AVX there is also support for AVX2 as well as SSE. Best -performance is obtained with AVX2 which gives roughly a 4X performance -increase approaching hashing speeds of 1GB/sec on a single core.") - (license license:asl2.0)))) - (define-public go-github-com-spaolacci-murmur3 (package (name "go-github-com-spaolacci-murmur3")