From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +EAxE/p9AGJRoQAAgWs5BA (envelope-from ) for ; Mon, 07 Feb 2022 03:03:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UE/dD/p9AGIaDAAAauVa8A (envelope-from ) for ; Mon, 07 Feb 2022 03:03:38 +0100 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 AEE9E34753 for ; Mon, 7 Feb 2022 03:03:37 +0100 (CET) Received: from localhost ([::1]:42430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGtNQ-0008Pa-SU for larch@yhetil.org; Sun, 06 Feb 2022 21:03:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGtIK-0004aJ-6t for guix-patches@gnu.org; Sun, 06 Feb 2022 20:58:20 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGtI1-0006fn-NM for guix-patches@gnu.org; Sun, 06 Feb 2022 20:58:19 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGtI1-00082L-LP for guix-patches@gnu.org; Sun, 06 Feb 2022 20:58:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53834] [PATCH] gnu: Add cproc. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Feb 2022 01:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53834 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53834@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164419904330841 (code B ref -1); Mon, 07 Feb 2022 01:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Feb 2022 01:57:23 +0000 Received: from localhost ([127.0.0.1]:40470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGtHP-00081N-3o for submit@debbugs.gnu.org; Sun, 06 Feb 2022 20:57:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:38482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGtHN-00081G-Up for submit@debbugs.gnu.org; Sun, 06 Feb 2022 20:57:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGtHN-00045e-Ah for guix-patches@gnu.org; Sun, 06 Feb 2022 20:57:21 -0500 Received: from [2a01:4f8:c17:e5e::2] (port=1975 helo=mx1.dismail.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGtHK-0006dH-7d for guix-patches@gnu.org; Sun, 06 Feb 2022 20:57:21 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 7203abd9 for ; Mon, 7 Feb 2022 02:57:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=xyfB7mLfwcYq5iYT1J1vuE06SMxTNsqvcvw0+QbaoBc=; b= g89n+3IHZf0Vnlrv37Q31ZJNVYU2i3VR89NP2AUiPb7xFK4VOhDoi/IDD2DOcB99 pWJaAPE2PcMHC6P0JcoZYXJIf0P35eFYr0DThkeqlIIQLChMmkjLzR2fyv6tjYGN eUc7w3vjQ8F6/Bwbrydq3v3K4ZAst/q/g6rFMTnNA1qVtqUwjKItB0z1Kv66pzQP JOl6BXagY/dEFOTczg2kS+7f013rzwfJ6M+kQW/YVqKKwFCOLVfva60qtLOlhmaA jQmu9s9q8dMiHU7BOljohXL51MJ3PZ/XdU1NySafogCYAkcywms4CeJAJ7NYgZ9L 5Oia7jgkOuGl5kO0IsBtCw== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 84d84119 for ; Mon, 7 Feb 2022 02:57:12 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id f3eb2589 for ; Mon, 7 Feb 2022 02:57:11 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 4e0b23b8 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 7 Feb 2022 02:57:05 +0100 (CET) Date: Sun, 6 Feb 2022 20:14:15 -0500 Message-Id: <20220207011414.28849-1-jgart@dismail.de> X-Mailer: git-send-email 2.35.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f8:c17:e5e::2 (failed) Received-SPF: pass client-ip=2a01:4f8:c17:e5e::2; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via 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=1644199417; 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-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ancWORBzXLCttB9wCRTAkA65VFRS23wSnuFttQ3M+4Y=; b=REedIK/dBX6yML1JN45uNYi55J0OpuM0k1Sym16f5lRbLxCOoeIl7vdgFCpUegAV6K9DYS eXAd1MWli/XaoLRk6euUdaQ3NdC/xDfGbCOtebw0EM4ZN1O31I/usam0DJlYphHVIorcku yFnlnDeu5ImA9L3Pxv3x5OrchrbnhtxUD+3lbKk62hvEEKQ0Kj0x3Y/GZI44mX9P3mcrCt 0rtgDBRPB5hNz7GRX1ysRRzvM9ceUdIFI/Q4K/rPUjdumvTnbTEsU5F0xdEnDRpRotE2QI 1CNlfcDOHmTYl0straE7qdWm9LeyfaMyUJXLD6z6zG08l0GfRzZBeYy85OTkWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644199417; a=rsa-sha256; cv=none; b=B3JW2H6mgaOoSJaeqe/Q41DtmeXNLeNlLAtC/tpRiM/QH5KOXA3bHRwaZE+no8U+4AAOpY KZK8i8mF3JNrSQpwwmITV/Ia6aeJJCRO8/srJ5IdRMiJYB0w5kPzTKvGilT8TX/LJTi1u7 M5SLaBHadr4+npK8AYeMQ3PBwbqK2i3IBEwkRXgkb8dcD32+k07om5hHXTbXm38YHPBfGL +qFNMnkSnjReZD05sT6jxNjJ9C0lDNJHM4geemUGZHhWL3hpEXFmF3xCamLIqvGclWy1zt jzJVCrzVgVkPf/KUeIyEh3H6InlRrO92/fAky9Cw4AbgNo8M8XGSIKo7A9M8tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=g89n+3IH; 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: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=g89n+3IH; 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: AEE9E34753 X-Spam-Score: -4.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: MFr5BrFZdPnY * gnu/packages/c.scm (cproc): New variable. --- Hi Guixers, This is a WIP in case anyone would like to help check/test/review this package. cproc depends on qbe which is available from ticket 53833. all best, jgart gnu/packages/c.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 8966b7b8d0..87a6d413bc 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -172,6 +172,38 @@ (define-public qbe (home-page "https://c9x.me/compile/") (license license:expat)))) +(define-public cproc + (let ((commit "51e61fa5fa3de8cabc2191a5c6ac4d18aaaaf049") + (revision "0")) + (package + (name "cproc") + (version (git-version "0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://git.sr.ht/~mcf/cproc") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1fyyqxg2fphh104yrn15az0w7vipkljkgspi6kzv8lyddl5758nj")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:make-flags (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs + (list qbe)) + (synopsis "C11 compiler") + (description "@code{cproc} is a C11 compiler using QBE as a backend.") + (home-page "https://sr.ht/~mcf/cproc") + (license license:expat)))) + (define-public libbytesize (package (name "libbytesize") -- 2.35.0