From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YPOnGARGM2PWqwAAbAwnHQ (envelope-from ) for ; Tue, 27 Sep 2022 20:50:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4E6+FwRGM2MMWQAAG6o9tA (envelope-from ) for ; Tue, 27 Sep 2022 20:50:44 +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 20970C166 for ; Tue, 27 Sep 2022 20:50:44 +0200 (CEST) Received: from localhost ([::1]:52574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odFfG-0000Q9-R5 for larch@yhetil.org; Tue, 27 Sep 2022 14:50:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odFan-0004tn-QN for guix-patches@gnu.org; Tue, 27 Sep 2022 14:46:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odFak-0005VY-Ka for guix-patches@gnu.org; Tue, 27 Sep 2022 14:46:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odFak-0003VT-BA for guix-patches@gnu.org; Tue, 27 Sep 2022 14:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57675] [PATCH 07/10] gnu: Add libdispatch. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Sep 2022 18:46: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: Hilton Chain , 57675@debbugs.gnu.org Received: via spool by 57675-submit@debbugs.gnu.org id=B57675.166430435913471 (code B ref 57675); Tue, 27 Sep 2022 18:46:02 +0000 Received: (at 57675) by debbugs.gnu.org; 27 Sep 2022 18:45:59 +0000 Received: from localhost ([127.0.0.1]:56803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odFag-0003VC-Mz for submit@debbugs.gnu.org; Tue, 27 Sep 2022 14:45:59 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:46050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odFac-0003Ut-7T for 57675@debbugs.gnu.org; Tue, 27 Sep 2022 14:45:58 -0400 Received: by mail-ej1-f66.google.com with SMTP id dv25so22521884ejb.12 for <57675@debbugs.gnu.org>; Tue, 27 Sep 2022 11:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date; bh=a2WkxjpzVMvgyjA3o355ea/8hJOdb5+hQ5jIQRz5E80=; b=BO09NBLnjy+jbtD/qbUVqopat0cgWuHTkZGMnUoPgxwZmMWSs2vBAEDuBfiNGlFTdo jB2qY/GyxA3t0anFcZAJyeP4K9z35a+IPhTooQNjMhYD2d1d9gxS+PVLYfmGFv+Wa6oh L5uawmMEcenYId+CUp3W/Al4Hx/MjZeg05SwewgbawFVRhxoUxwEFWHmkc1BRpe6xMia 2zWyGiqQn1wjtDtldgEnq2LQBGimU9+Jk5KHbr9a06ULKTBdHtmNVrTs4PvxNajGJvdm jW+w1Phe9XUO97YRxunKlkLnI3lbG7Ldt9NTtlisRKKfxWqqIpLsZiycb87+eNAZ0Zds 6xxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date; bh=a2WkxjpzVMvgyjA3o355ea/8hJOdb5+hQ5jIQRz5E80=; b=2ScQI8IIhMGcwSljMcLsNd8uJVh6j0Ela/YkSEZY+C4gVR2IHrAiaBBRUpxuQbk2Uu mVkjhlCD0oGkM9BABLh2yMsupeeaxT6EPnNzaehlBL6xENJg4oMGW6soAQvz89nI6AxB eyu2BfDapb8yuhTX9wOLkcdN406hOYkx4KitG3/sOzwkDBm8MtepkV8hO3bDw30eqgBb mxB/+ayK7M6vi3RzeHIgtOE4XuowTza0lgUOMao/Wb6LWFnnUt5pEeWCPIpoK5yBhhIi Lrnh2NaBxB+tZZVDsvlYYaJrdyLeEOnSxPvenebXIsTNGhKLBYvQ/E4RL65iYV9+b9Ya Q5sQ== X-Gm-Message-State: ACrzQf1XImFdlz+AjP8WAZaoU459XoxdLm+L4Vid7O8QSSFH6svaNAQ8 SfHczAv7TiMZIWfILjwkmyI= X-Google-Smtp-Source: AMsMyM66TxcCn/BHrTQw3boIUBWe4dAiOQAuXH1+3CAFnGNrFjqqA8lxYOCZVWwvMlUYSnLmAKUuww== X-Received: by 2002:a17:907:a04f:b0:772:da0b:e2f1 with SMTP id gz15-20020a170907a04f00b00772da0be2f1mr24104761ejc.327.1664304348258; Tue, 27 Sep 2022 11:45:48 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id kt4-20020a170906aac400b0073c82539183sm1198797ejb.91.2022.09.27.11.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 11:45:47 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Tue, 27 Sep 2022 20:45:42 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664304644; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=a2WkxjpzVMvgyjA3o355ea/8hJOdb5+hQ5jIQRz5E80=; b=HqPuFKsqm5EpdUWQptp5yfeTxknH+nw4FjkhQQwQGloVOQ7+dqw7rDQGg96UIDqgYvVFri PRTmf6ltl+em7brEAMNYt2gVfrT4/I8/Ygp6O0uc13seeq+e+ByLDssgKttZMXANHYuWUz pYb/51UfC++j9b550qYLWjw949Qw350kuRhEIF1E7wXeArWg5m1RoPYto7HxkqSlBIQcAo uuX2TJp/92kcgs/xyB41Mw96gWECaBIduoCqgmazn2qNlN42eNB0BudMCiBFBHFXhLUp8X EVSj29pJpzaKfrtwzjZw2wkzFBUItirpKnsE9xshkn0ICtbh3OiHDMdFjuDEZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664304644; a=rsa-sha256; cv=none; b=kFSb5z2NvmZst8NNY0YCQRRF5xcKfCIX8xn92TNr+aYzmiF6P8o0XJFMwPQrxF9hpM7eFa QBKFkYc/61AVuP1diZ44MdZ2mkr5uPuGjtbgG2FPC/AsxLAnCoCAsUP9U46kcoU2Vp2mBE 5IlRIJMk00WIiXjRrfJxkxuTO+8Kyc39D8zbBbvpJNmXtkZUSvP7+C2YKSWc/KOzqGo4Qb crLRb37kHv65L8TTwhXvjLbnko2RP718khMa0gAmDu+B+R1SYN6RM2r1vsfomMG+A3yZ4/ iz9LgHcJYa2HIJhVPGsTv5Geb1myX0hAwQQrUJqaaF+BdS5Kjsl6WYTsHJq7YA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BO09NBLn; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BO09NBLn; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 20970C166 X-Spam-Score: 7.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0ZMYR5TQq1L4 Am Montag, dem 26.09.2022 um 21:32 +0800 schrieb Hilton Chain: > * gnu/packages/c.scm (libdispatch): New variable. > --- > =C2=A0gnu/packages/c.scm | 26 ++++++++++++++++++++++++++ > =C2=A01 file changed, 26 insertions(+) >=20 > 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) > =C2=A0=C2=A0 #:use-module (gnu packages perl) > =C2=A0=C2=A0 #:use-module (gnu packages texinfo) > =C2=A0=C2=A0 #:use-module (gnu packages guile) > +=C2=A0 #:use-module (gnu packages llvm) > =C2=A0=C2=A0 #:use-module (gnu packages lua) > =C2=A0=C2=A0 #:use-module (gnu packages multiprecision) > =C2=A0=C2=A0 #:use-module (gnu packages pcre) > @@ -1258,3 +1259,28 @@ (define-public utest-h > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (description > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "This package provides a heade= r-only unit testing library for > C/C++.") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (license license:unlicense)))) > + > +(define-public libdispatch > +=C2=A0 (package > +=C2=A0=C2=A0=C2=A0 (name "libdispatch") > +=C2=A0=C2=A0=C2=A0 (version "5.7") > +=C2=A0=C2=A0=C2=A0 (source > +=C2=A0=C2=A0=C2=A0=C2=A0 (origin > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (method git-fetch) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (uri (git-reference > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= (url > "https://github.com/apple/swift-corelibs-libdispatch") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= (commit (string-append "swift-" version "-RELEASE")))) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (file-name (git-file-name name vers= ion)) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (sha256 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (base32 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "0skg1azbhbg7y0ql2a5sx6= lmfip8l1rajqm95zzf9xv45n4dg9nn")))) > +=C2=A0=C2=A0=C2=A0 (build-system cmake-build-system) > +=C2=A0=C2=A0=C2=A0 (native-inputs (list clang-toolchain)) Note: the *-toolchain packages are meant for users, not for packagers. Since this package fails to compile with GCC, I'll replace this with the following: (arguments (list #:phases #~(modify-phases %standard-phases ;; Use Clang instead of GCC. (add-before 'configure 'prepare-build-environment (lambda _ (setenv "AR" "llvm-ar") (setenv "NM" "llvm-nm") (setenv "CC" "clang") (setenv "CXX" "clang++")))))) (native-inputs (list clang llvm)) > +=C2=A0=C2=A0=C2=A0 (home-page > "https://apple.github.io/swift-corelibs-libdispatch/") > +=C2=A0=C2=A0=C2=A0 (synopsis > +=C2=A0=C2=A0=C2=A0=C2=A0 "Comprehensive support for concurrent code exec= ution on > multicore > +hardware") > +=C2=A0=C2=A0=C2=A0 (description > +=C2=A0=C2=A0=C2=A0=C2=A0 "Grand Central Dispatch (GCD or libdispatch) pr= ovides > comprehensive > +support for concurrent code execution on multicore hardware.") > +=C2=A0=C2=A0=C2=A0 (license license:asl2.0))) Cheers