From patchwork Wed Sep 20 12:39:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jean-Pierre De Jesus DIAZ X-Patchwork-Id: 54074 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 A620C27BBEA; Wed, 20 Sep 2023 13:40:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 0F8B427BBE2 for ; Wed, 20 Sep 2023 13:40:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiwUp-0006cw-5v; Wed, 20 Sep 2023 08:39:59 -0400 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 1qiwUk-0006b8-QN for guix-patches@gnu.org; Wed, 20 Sep 2023 08:39:55 -0400 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 1qiwUj-000237-Ll for guix-patches@gnu.org; Wed, 20 Sep 2023 08:39:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiwUs-00031t-Mh for guix-patches@gnu.org; Wed, 20 Sep 2023 08:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66120] [PATCH 1/3] gnu: Add robin-hood-hashing. References: <20230920123738.1241364-1-jean@foundationdevices.com> In-Reply-To: <20230920123738.1241364-1-jean@foundationdevices.com> Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Sep 2023 12:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66120 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66120@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 66120-submit@debbugs.gnu.org id=B66120.169521359511600 (code B ref 66120); Wed, 20 Sep 2023 12:40:02 +0000 Received: (at 66120) by debbugs.gnu.org; 20 Sep 2023 12:39:55 +0000 Received: from localhost ([127.0.0.1]:58521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiwUk-000312-KE for submit@debbugs.gnu.org; Wed, 20 Sep 2023 08:39:54 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:47434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiwUi-00030m-Dr for 66120@debbugs.gnu.org; Wed, 20 Sep 2023 08:39:53 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-403004a96eeso71345965e9.3 for <66120@debbugs.gnu.org>; Wed, 20 Sep 2023 05:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695213577; x=1695818377; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0NpwypFrx2eTVDaLNmft5m8WNSKnUZBp8CFvCNyx0TA=; b=ZLEv8YNRCnjdu8ivKul+AuX+wVAo7PwZbAlU8yeovIUQCDUXfDz4hM9o8qyfs9Y3mi u9DECJ+Sf4gMzCt1cbQM77ktrixERWJQ/HFO//6KLazKSmkNTj0aQ/QSBqQADHjQTM/c 77XxXZqrpeq5oEvJtat8Xrl5E5ALlsIdLaBNnlpNR+ag16gsm9B67MLHDscUwC0qtWhZ 1CQBjuNJTcxzuAquWI0tlqJR7IvMHEUgOpgLKJBZQI9hhIQpyrLxIcBFpVYx/h/zMYhe IK0zX8uzJWh4VrT2yIzGb2JxP1Si7bDmLWW74oy2iyoxPdp/z0eD1TlG+xn/vIw00zsZ gfIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695213577; x=1695818377; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0NpwypFrx2eTVDaLNmft5m8WNSKnUZBp8CFvCNyx0TA=; b=cYeMNC1vlsTcmlIYybzsOp+S1fCVhmXEaz8M0HG/pFH8frEK8il083tz9qXYHKVpWM ahlJObTGK1SvFNwBMoCgaHg3+3Sl7wgJNYt3c4dJoHWOJHWciGTjzzGCgCWM17jeGS2G AjXkuDsbLZrPpbf8lto57umxP+RTfXmXTsVo0c5HmuCHum9po1cmJ79+D1f/9xzb1RHx ucHsc26T49Wa3X/Kh+U4xlBEK7dTlfkQ3za0GPU2E+jdY7AI/LoWOWROGzSlKx2j3GSu ke+3uxlmSWvXUWl6+0t2xZ0HbI4pO1S/VWULbPet3sFYxf7wRGRDYpmp50gpDZvVtopc HaMg== X-Gm-Message-State: AOJu0Ywq7NMsA/q2j30Zu1y3CcZDPs44w7aCeFWUOimVQgRySSNUOFB9 8RUPawhNj+2dh1M/N2BvZw/v1ErrvAKiZ0+VbloCyA== X-Google-Smtp-Source: AGHT+IEnJcWxzKwwNWCzK5yl3wKp+yHSrZIW1Sy4ChgdT98eOfp5h/Kpj5ynMLngQEKdjh3chJQ9Uw== X-Received: by 2002:a05:600c:21c1:b0:3fe:1cac:37d5 with SMTP id x1-20020a05600c21c100b003fe1cac37d5mr2347476wmj.4.1695213576927; Wed, 20 Sep 2023 05:39:36 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id m13-20020a7bcb8d000000b003ff3b964a9asm1864650wmi.39.2023.09.20.05.39.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 05:39:36 -0700 (PDT) Date: Wed, 20 Sep 2023 14:39:31 +0200 Message-Id: <20230920123933.1241422-1-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 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: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches X-Patchwork-Original-From: Jean-Pierre De Jesus DIAZ via Guix-patches via From: Jean-Pierre De Jesus DIAZ 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/cpp.scm (robin-hood-hashing): New variable. Signed-off-by: Jean-Pierre De Jesus DIAZ --- gnu/packages/cpp.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 4ee7f375d7..7117ada000 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2023 Artyom V. Poptsov ;;; Copyright © 2023 Liliana Marie Prikler ;;; Copyright © 2023 Denis 'GNUtoo' Carikli +;;; Copyright © 2023 Foundation Devices, Inc. ;;; ;;; This file is part of GNU Guix. ;;; @@ -223,6 +224,34 @@ (define-public range-v3 ;; Others license:boost1.0)))) +(define-public robin-hood-hashing + (package + (name "robin-hood-hashing") + (version "3.11.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/martinus/robin-hood-hashing") + (commit version))) + (modules '((guix build utils))) + (snippet #~(delete-file-recursively "src/test/thirdparty")) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qx6i09sp8c3l89mhyaql144nzh2h26ky9ms3n5l85qplx1vv2r7")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;; Needs bundled libraries for tests. + ;; By default this option is set to ON and removes the ability to + ;; install the library. + #:configure-flags + #~(list "-DRH_STANDALONE_PROJECT=OFF"))) + (home-page "https://github.com/martinus/robin-hood-hashing") + (synopsis "Unordered set and map data structures library") + (description "This library provides a header-only unordered set and map +data structures for C++.") + (license license:expat))) + (define-public c++-gsl (package (name "c++-gsl")