From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sLSpClKsMWMO9QAAbAwnHQ (envelope-from ) for ; Mon, 26 Sep 2022 15:42:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sIPMCVKsMWO2twAAG6o9tA (envelope-from ) for ; Mon, 26 Sep 2022 15:42:42 +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 A9820384AD for ; Mon, 26 Sep 2022 15:42:41 +0200 (CEST) Received: from localhost ([::1]:36040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocoNc-0006Lc-LJ for larch@yhetil.org; Mon, 26 Sep 2022 09:42:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocoFG-0005r0-Lx for guix-patches@gnu.org; Mon, 26 Sep 2022 09:34:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocoFG-0004lJ-8P for guix-patches@gnu.org; Mon, 26 Sep 2022 09:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ocoFG-0005oD-3J for guix-patches@gnu.org; Mon, 26 Sep 2022 09:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57675] [PATCH 07/10] gnu: Add libdispatch. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Sep 2022 13:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57675@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 57675-submit@debbugs.gnu.org id=B57675.166419919722233 (code B ref 57675); Mon, 26 Sep 2022 13:34:02 +0000 Received: (at 57675) by debbugs.gnu.org; 26 Sep 2022 13:33:17 +0000 Received: from localhost ([127.0.0.1]:49685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocoEW-0005mX-KA for submit@debbugs.gnu.org; Mon, 26 Sep 2022 09:33:16 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:56588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ocoET-0005m3-Vp for 57675@debbugs.gnu.org; Mon, 26 Sep 2022 09:33:14 -0400 Date: Mon, 26 Sep 2022 21:32:49 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1664199188; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=V5042Dnww6ArvzZQI7Mf14K6zJ6MZrxHnuzUvspIsSM=; b=18nKEDFyRyo3POmlTfGBRhThTe/DSqVYzfYD8IxwbXKTmYHTXe8KVoudL6AhDZVh+PEj59 sIi3Oj5mHDXAKFdIUT18HufcyIqHMnVHgjJcx77iuVpjBiEbDARzb1tI7OT7Clh6zAnyXu aCQ+gqQv6jxHV891EfCKYF+8566xaIyaPoGQ6OZShlZBfpVnSy3pWUiCoJ3GALOp/UW3zL 9vmYjtbYb5ZcnTOefDhqCWpmmL6GGgyBUd7fTud8QVwNAdrPZ/OGzAJv3xM+OAFIvTI7+f eWgENaoTm8Xagd6v/pFgp1t8muZwVtJ5urV16IBtFl47uYgDVNrxWamvvOSH7w== Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Spamd-Bar: / 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" Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664199761; h=from:from:sender:sender:reply-to: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=V5042Dnww6ArvzZQI7Mf14K6zJ6MZrxHnuzUvspIsSM=; b=ItbKr5Z4jgAst/FcIYoAUhZ700C1LwPZY2IwQzKB+oGmmk5LyV1Ucx5kw8DBobtl3O+Koc Kz9e9+0mHN3kjSlJLyewQh5ll7veZy0Pehof+UI/DdYSBZsnIMedVGPWXkm5Gegsd7ExaA 5CLR0JmLSEEiQZow95SXt3dLRCfBQopKEwl/laHvQeODkDto8o4FoOdLJcq+TKxHLGyFX9 BGYvaubmur6jU0racFPsHoqVhhBZPYkwYhhrq0UwoPB4b0We+Iae6PY04cMhBFIA1sIQaz 46wlarLEajoYV0qVQDzZ1YexwC+Ur4o7vtHwHgUTyY+Dq/OSKb/4T25fakodfQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664199761; a=rsa-sha256; cv=none; b=NbfHzPKkymUuNdKpacnIXTdtd1HOu1B/ruhbClXOhCa5p4jVy8j8x6FprB+8zXsc9pkP8x aNd+cpYExg4GiTvwwK/cU1TTcsGBWgQnLbaQ1QcWaeE29UGvj5SsGzBu4W1zxm5IHmJMOg tcpBhpRBZK2ASIl/ggFULOolZ7csmVk8QuBstqmoZXGunHrv6OlHPNgYezXUNxjRxkz+K5 ql8sHZnyzKF0LHtnvdlWIvfEx7FHcKqFaoWiw3hyswMGg2KvA7Q6TVFgceTsv69MeTCvKa mSQ7tK7JeqKmHeBgNBrSmnFqW00uTdwYEAV/KHCbnApv8NEty+6C0Cc6x4y47g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=18nKEDFy; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -1.84 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=18nKEDFy; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: A9820384AD X-Spam-Score: -1.84 X-Migadu-Scanner: scn1.migadu.com X-TUID: RnXj9brvP+G5 * gnu/packages/c.scm (libdispatch): New variable. --- gnu/packages/c.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 10275970b1..4c183e3b95 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -55,6 +55,7 @@ (define-module (gnu packages c) #:use-module (gnu packages perl) #:use-module (gnu packages texinfo) #:use-module (gnu packages guile) + #:use-module (gnu packages llvm) #:use-module (gnu packages lua) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pcre) @@ -1258,3 +1259,28 @@ (define-public utest-h (description "This package provides a header-only unit testing library for C/C++.") (license license:unlicense)))) + +(define-public libdispatch + (package + (name "libdispatch") + (version "5.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/apple/swift-corelibs-libdispatch") + (commit (string-append "swift-" version "-RELEASE")))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0skg1azbhbg7y0ql2a5sx6lmfip8l1rajqm95zzf9xv45n4dg9nn")))) + (build-system cmake-build-system) + (native-inputs (list clang-toolchain)) + (home-page "https://apple.github.io/swift-corelibs-libdispatch/") + (synopsis + "Comprehensive support for concurrent code execution on multicore +hardware") + (description + "Grand Central Dispatch (GCD or libdispatch) provides comprehensive +support for concurrent code execution on multicore hardware.") + (license license:asl2.0))) -- 2.37.3