From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gDo8BFpPw2RGiQAASxT56A (envelope-from ) for ; Fri, 28 Jul 2023 07:17:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wB4xBFpPw2RdZAEA9RJhRA (envelope-from ) for ; Fri, 28 Jul 2023 07:17:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8A5774CD85 for ; Fri, 28 Jul 2023 07:17:13 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=TDmCe7fn; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690521433; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=S3gShs6eSMzQ1R1fgvLk2+oXaoXRVv/Zbe/kFuaDn7I=; b=eFNNosE6dObFxffudKo1qVwEDBU9Uyzc8yLLklgVOyKVHB9hLQRq/0eToo7/n550VFnv3b F6u2WJJOjv2frbYY9bD0QAYaefIAXTe/gt9RB72aM9rb0eWcrBcog+YTPNWqXjZ+uazjaX q2SWvVaj3IUSOl7HzlhxWk70DjddrBd2VU1q9/CpGJjjkRhy8cQjBgHH7b12kOnaOzXZGd 4YN07UdSTiJMwnVodOyIJWvGMtYcXWqPZYn1QF9qcwzE+1rPldGNmgvokDX+ZSrCSH8W6a 6urCK+K6L8yOsIzsIT5CquyUaqFGtJjTMTJrc1bMqkxukFknbJOuDvWzLctNPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690521433; a=rsa-sha256; cv=none; b=b0wARV7gBqh1pPCpA1A9P3AMjBKb344b1a2HwSNYnm+AbixoonwiHOnQVi8NNKE671BOrc jye9CgsR+7lXw1TsM+AsPKh9AM2ODkkEAbW3oindECnDaqmOo2rI9q9G8sNSmWVki2VMQ5 U/TBj09hg5BJH5sw+HVzlVtVZRJHqJi7e/hOBaiIaRGZpwON7ki5/68VY0nlejuskzF4W0 T5HpKmifLob/9Kc5zCdBdAst7fmpuJ3fUF4nbVNNuIpGvwbbb47Xy624ZAwNUt5jds1hTq YYRqjPvJxHMim5UqemRcMEnTLpa5/kWpy7h/iFb9OORwhAgDZdoukYQsfbiPAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=TDmCe7fn; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qPFVI-0003eB-OY; Fri, 28 Jul 2023 00:55:04 -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 1qPFVG-0003e3-S7 for guix-patches@gnu.org; Fri, 28 Jul 2023 00:55:02 -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 1qPFVG-0002lh-IS for guix-patches@gnu.org; Fri, 28 Jul 2023 00:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qPFVG-0003d8-D3 for guix-patches@gnu.org; Fri, 28 Jul 2023 00:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56202] [PATCH v5] gnu: Add nsync References: <20220624183946.23595-1-antero@mailbox.org> In-Reply-To: <20220624183946.23595-1-antero@mailbox.org> Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Jul 2023 04:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56202 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56202@debbugs.gnu.org Cc: Andy Tai Received: via spool by 56202-submit@debbugs.gnu.org id=B56202.169052007813903 (code B ref 56202); Fri, 28 Jul 2023 04:55:02 +0000 Received: (at 56202) by debbugs.gnu.org; 28 Jul 2023 04:54:38 +0000 Received: from localhost ([127.0.0.1]:43448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPFUs-0003c9-0a for submit@debbugs.gnu.org; Fri, 28 Jul 2023 00:54:38 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:46468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPFUo-0003bp-Ty for 56202@debbugs.gnu.org; Fri, 28 Jul 2023 00:54:36 -0400 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1b8b4748fe4so11579435ad.1 for <56202@debbugs.gnu.org>; Thu, 27 Jul 2023 21:54:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690520069; x=1691124869; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=S3gShs6eSMzQ1R1fgvLk2+oXaoXRVv/Zbe/kFuaDn7I=; b=TDmCe7fnaWZxkqIZ3ZZxMUcA30+vtbEHUSqqbdixItS6z61v2OWOGUhzCRZbh3xjkP 5iJbhdB10ECwRYYLbwcd2EIXqQpLIShdr8mo1TpQ1GNtMbpnpssgyfX16uL5j/kh6LdF hqZhms6tRAlO/yU+4XjEPtKZAFlJZFAifOD8RiakZy9WDs/aGMS6SdDyByNQG5Oat444 HL9m9kVc3+ycUJusmjh+cveOjI/i1XZB79yrYv7rJkC3nqYe+cEabfEfh+4EyaXkKAD/ KL+tzAYFo5D4ig7pTE7gCARDoSnOH7via6QzCs0SAj0kPz94+1x1sEBbRKYjkLtDiQRo dFwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690520069; x=1691124869; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=S3gShs6eSMzQ1R1fgvLk2+oXaoXRVv/Zbe/kFuaDn7I=; b=IHjMl6E8VOU0qZu/41L6sAWJR7jGZcKNlBKH30wwZ6riC1DRmxS2SU3NmUnGVpjBYB no73z/SaOq/mi9TSx5VSpd8cYirGDtsz/jw0OJ9IOpdFUQrkrh74wMcRxegzKQA+Hn8r 6rmMvn5nhPo4evCCE/5HBXnwX+gncyQiBO3qmlew0QkfEACH1pKgeTO5fg/DxCl7ypcc pOjXTtCvd7BDLVZIgKtsPqQuT3+HPhXUJwDD1ZXWxXmL0IDJYd3te8XvrCmLzIS0J6ph Yd4H5qghf+r+q6nbWEywcnsueKoCNPVhcKsuSlQBQNNuwsEyiNMcN48k3PIZmqLwPm+B QC0g== X-Gm-Message-State: ABy/qLbVZ9o5OBclZrt2i7glTqfATcV6eulgWr9RpkzjTT8EiNAx+7ri P3xD1SNylsyCGIaSM0xA4MBzrkuKoGqlOw== X-Google-Smtp-Source: APBJJlHRopUIF6ZhZjZLVaJSxDzDcAI/wirDT9+CN9pvkws1KUHacExdSYGa0Zcd6s0rWU++79FvdA== X-Received: by 2002:a17:902:b603:b0:1b8:89fd:6213 with SMTP id b3-20020a170902b60300b001b889fd6213mr357399pls.35.1690520068517; Thu, 27 Jul 2023 21:54:28 -0700 (PDT) Received: from localhost.localdomain ([98.37.226.98]) by smtp.googlemail.com with ESMTPSA id u9-20020a17090341c900b001bbb25dd3a7sm2508831ple.187.2023.07.27.21.54.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 21:54:28 -0700 (PDT) From: Andy Tai Date: Thu, 27 Jul 2023 21:54:22 -0700 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: 0.36 X-Spam-Score: 0.36 X-Migadu-Queue-Id: 8A5774CD85 X-TUID: NfVUeqzH4QnI * gnu/packages/c.scm (nsync): New variable. --- gnu/packages/c.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 9e5b511b98..722e2844cb 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2022 ( ;;; Copyright © 2023 zamfofex ;;; Copyright © 2023 Foundation Devices, Inc. +;;; Copyright © 2022 Antero Mejr ;;; ;;; This file is part of GNU Guix. ;;; @@ -1495,6 +1496,34 @@ (define-public utest-h "This package provides a header-only unit testing library for C/C++.") (license license:unlicense)))) +(define-public nsync + (package + (name "nsync") + (version "1.26.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/nsync") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qg58kkcbm4zqkql8j5yvrb7fpx09qsf7j93dwqb9s1y69l70kx4")))) + (build-system cmake-build-system) + (home-page "https://github.com/google/nsync") + (synopsis "C library for synchronization primitives") + (description + "nsync is a C library that exports various synchronization primitives: +@enumerate +@item locks +@item condition variables +@item run-once initialization +@item waitable counter (useful for barriers) +@item waitable bit (useful for cancellation, or other conditions) +@end enumerate +") + (license license:asl2.0))) + (define-public ispc (package (name "ispc") base-commit: 35c8d631d2bd63c64e863b5509f29fdcb7f856e6 -- 2.41.0