Received: (at 72494) by debbugs.gnu.org; 12 Aug 2024 18:40:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 12 14:40:34 2024 Received: from localhost ([127.0.0.1]:43830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sdZy6-0007LQ-5H for submit <at> debbugs.gnu.org; Mon, 12 Aug 2024 14:40:34 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:48317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ashvithshetty10@HIDDEN>) id 1sdZy4-0007L7-Jn for 72494 <at> debbugs.gnu.org; Mon, 12 Aug 2024 14:40:33 -0400 Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-369cb9f086aso2789622f8f.0 for <72494 <at> debbugs.gnu.org>; Mon, 12 Aug 2024 11:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723487934; x=1724092734; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vfV6DN14kBnfb/L70vIO08Lt+e3KWzb5ck0DYfCZ7RQ=; b=GctD0VTpOtIZzn9T8Ym5GCKcSZQ9vSSO9R2Z8JPc+CyXCkk4ULp0DgASppx04Cqncg ksmUOGcVpYmWAqxu7wgyZ3DbsFnAHGiUS3wENfZ9YIgn8k1DueRM2OWC+Oxn/UwDqAIC q729USsaqgX8/rVUyqbsHAcw7MGwXaIn17R3JU6yW+mZwuhlQBo6cQp3ml1Oed3rXP8x BvwYCRf6PxUl2WZ6IeFwscfXbH+4zSfuYINirgudt5YrQNBpV7IIgli+fD3WZzGOU0yN bDLV2l29hDtE7uUYzkakgkziaWucsFbKfYgnr+MYCs0dPJYh1WBc0FI1Q0fCdhSZdOMk 06Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723487934; x=1724092734; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vfV6DN14kBnfb/L70vIO08Lt+e3KWzb5ck0DYfCZ7RQ=; b=StnrFAKzG5OVQS9IKsMq+v4STvvZju9c1Sce6bF3HDdd6bRQ+5f4EB/yJ/iSnWnDZP QVv7Gkqc+iHYnclms0KKBZx//6DWD6GfYjGnMjobPYO/TywN/0cHIxPbLp7ZA16TKTOt F3WtdyCywMit01b0fQBOuWYRlnWncqhksuCWzn3/qEITkD0SoXXnwSXMtKfSaO9LGLXV Ej7/y5uac0qLm28lnCFoptYa/lsjmm5H0NlAiu4UziE+JQZhyJJz6b2Hx5t4ZLSTTzEs LIR+dGVXgAJHa1htaRonULc2kwbPedZ4ukP4msb5GrPUM//soZti2W7dbjsuLRrjmRU0 hLDA== X-Gm-Message-State: AOJu0Yx6NsFr1iIhZNiFIPSeEp+zKFjEYJiDhlhZmbfQIVnmsf4pKz+u YaDHflaA4VeVJmcX2VpOXnx6AeBPTsTMAHtjICoN+SCueG2g72lYL1fhdwoEy9UXsqyiE4CT6Jx mxj6fKpIY4pHXofKbV1kJHxCcmtM= X-Google-Smtp-Source: AGHT+IE34brROQkuJRPn2pXsJlfZx0LYSpwMx0sUvuSe28bjSifHn19G7OfOOwM4lTqwJ+XtTSPsidJbuh659Z9wnrk= X-Received: by 2002:a05:6000:186c:b0:36b:a3c7:b9fd with SMTP id ffacd0b85a97d-3716cd3a62fmr1021365f8f.56.1723487933718; Mon, 12 Aug 2024 11:38:53 -0700 (PDT) MIME-Version: 1.0 References: <8f0c2986-b790-86fa-7217-5491d6f7208f@HIDDEN> In-Reply-To: <8f0c2986-b790-86fa-7217-5491d6f7208f@HIDDEN> From: Ashvith Shetty <ashvithshetty10@HIDDEN> Date: Mon, 12 Aug 2024 18:38:42 +0000 Message-ID: <CA+n6Bx9jcG3Enw=17wyze2cYbxhZN_YQVp4c0kwHjOJKRosYog@HIDDEN> Subject: Re: [PATCH v4] gnu: Add c3c-bootstrap. To: Adam Faiz <adam.faiz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000106cab061f80cea0" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 72494 Cc: 72494 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) --000000000000106cab061f80cea0 Content-Type: text/plain; charset="UTF-8" Hi Adam, I've actually got my own patch ready with similar substitution and complete set of tests, which I've not submitted yet. The reason for this is that I've talked to the maintainer of the project, and according to them, this substitution is a bad idea. Another reason is that it does not work in a pure, ephemeral environment, unless `gcc` and `ld` is provided as either a propagated input, or a side-by package. And there's also the issue with using an alternative compiler and linker, which isn't working well. --000000000000106cab061f80cea0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"auto"><div><div dir=3D"ltr"><div>Hi Adam,</div= ><div>I've actually got my own patch ready with similar substitution an= d complete set of tests, which I've not submitted yet. The reason for t= his is that I've talked to the maintainer of the project, and according= to them, this substitution is a bad idea. Another reason is that it does n= ot work in a pure, ephemeral environment, unless `gcc` and `ld` is provided= as either a propagated input, or a side-by package. And there's also t= he issue with using an alternative compiler and linker, which isn't wor= king well.<br></div></div> </div></div> </div> --000000000000106cab061f80cea0--
guix-patches@HIDDEN
:bug#72494
; Package guix-patches
.
Full text available.Received: (at 72494) by debbugs.gnu.org; 11 Aug 2024 14:58:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 11 10:58:58 2024 Received: from localhost ([127.0.0.1]:41861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sdA26-0007QQ-14 for submit <at> debbugs.gnu.org; Sun, 11 Aug 2024 10:58:58 -0400 Received: from layka.disroot.org ([178.21.23.139]:37822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adam.faiz@HIDDEN>) id 1sdA23-0007QG-6O for 72494 <at> debbugs.gnu.org; Sun, 11 Aug 2024 10:58:56 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D145040482; Sun, 11 Aug 2024 16:58:23 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QYS_ypYJV-s4; Sun, 11 Aug 2024 16:58:22 +0200 (CEST) Message-ID: <8f0c2986-b790-86fa-7217-5491d6f7208f@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1723388302; bh=YejTjPxso1pe9SE60VPSVUYWQbJyPIbGHoIj3P7BOBk=; h=Date:To:Cc:From:Subject; b=C1rnDDNpXb5St4SejYmYrYhXTKfU/HrO8fAbOm9Kaeej0+QJl5rO7UZt9sxyuDgnO XK+iCGO3K9zsILCsOOE5w2y7hv7l9ybvZdwosRWTwwfNK8Mcv+p/B77HMBONcLnSvq GuUHNnihLUz9lD3+gdAlfu6Ikpvp2vzDB0BNgl+lHDUTN0I2hWAkuNyMuAWfIoLO6j f0dXvRavZ21wBDyfQdberLaHnaHqK75jZXci/zS7SqNirBFSvpfYTBx4mJcG9uacys lU+ogA/23u77rL3ezgLDsBqtKaShqtNBiQMTT8okyjkWhYWw+3qVqB/Zay51r4StDv 8KbI5/BZ6iNuQ== Date: Sun, 11 Aug 2024 22:57:52 +0800 MIME-Version: 1.0 Content-Language: en-US To: 72494 <at> debbugs.gnu.org From: Adam Faiz <adam.faiz@HIDDEN> Subject: [PATCH v4] gnu: Add c3c-bootstrap. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 72494 Cc: Ashvith Shetty <ashvithshetty10@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) From 8b6035ad6587d44a9d65575b0f307820e42a402e Mon Sep 17 00:00:00 2001 Message-ID: <8b6035ad6587d44a9d65575b0f307820e42a402e.1723388041.git.adam.faiz@HIDDEN> From: AwesomeAdam54321 <adam.faiz@HIDDEN> Date: Wed, 7 Aug 2024 12:18:23 +0800 Subject: [PATCH v4] gnu: Add c3c-bootstrap. This patch was co-authored with Ashvith Shetty. * gnu/packages/c3.scm: New file. * gnu/packages/c3.scm (c3c-bootstrap): New variable. --- gnu/packages/c3.scm | 94 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 gnu/packages/c3.scm diff --git a/gnu/packages/c3.scm b/gnu/packages/c3.scm new file mode 100644 index 0000000000..d179a30356 --- /dev/null +++ b/gnu/packages/c3.scm @@ -0,0 +1,94 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@HIDDEN> +;;; Copyright © 2024 Adam Faiz <adam.faiz@HIDDEN> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages c3) + #:use-module (gnu packages compression) + #:use-module (gnu packages libffi) + #:use-module (gnu packages llvm) + #:use-module (gnu packages python) + #:use-module (guix build-system cmake) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils)) + +(define-public c3c-bootstrap + (package + (name "c3c") + (version "0.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/c3lang/c3c") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xjl3yghyqmqv9118nhcix3xywlpdirqc0dlmdaghdkja0wr19rw")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Unbundle miniz. + (delete-file-recursively "dependencies") + ;; Swap out miniz for zlib. + (substitute* "CMakeLists.txt" + (("add_library\\(miniz.*\\)\n$") + "find_package(ZLIB REQUIRED)\n") + (("target_include_directories\\(miniz PUBLIC") "") + (("...*/dependencies/miniz/..") "") + (("miniz") "z")) + (substitute* "src/utils/unzipper.c" + (("miniz\\.h") "zlib.h")))))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list "-DCMAKE_INSTALL_LIBDIR=lib") + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'fix-build + (lambda _ + (substitute* "CMakeLists.txt" + (("\\$\\{LLVM_LIBRARY_DIRS\\}") + (string-append #$lld-18 "/lib/ " + #$llvm-18 "/lib/"))) + (substitute* '("src/compiler/target.c" + "src/compiler/linker.c") + (("\"cc\"") (string-append "\"" #$(cc-for-target) "\""))) + (substitute* "resources/testproject/project.json" + (("\"cc\" : \"cc\",") "")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "../source/resources/testproject" + (invoke "../../../build/c3c" "build")) + (invoke "python3" "../source/test/src/tester.py" + "./c3c" "../source/test/test_suite") + (invoke "./c3c" "compile-test" "../source/test/unit"))))))) + (native-inputs (list python)) + (inputs (list libffi lld-18 llvm-18 zlib)) + (synopsis "Compiler for the C3 language") + (description + "C3 is a programming language that builds on the syntax and semantics +of the C language, with the goal of evolving it while still retaining +familiarity for C programmers.") + (home-page "https://c3-lang.org/") + (supported-systems '("x86_64-linux" "aarch64-linux" "riscv64-linux")) + (license (list license:lgpl3 license:expat)))) base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8 -- 2.41.0
guix-patches@HIDDEN
:bug#72494
; Package guix-patches
.
Full text available.Received: (at 72494) by debbugs.gnu.org; 11 Aug 2024 14:48:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 11 10:48:45 2024 Received: from localhost ([127.0.0.1]:41852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sd9sD-0007BJ-Hl for submit <at> debbugs.gnu.org; Sun, 11 Aug 2024 10:48:45 -0400 Received: from layka.disroot.org ([178.21.23.139]:35088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adam.faiz@HIDDEN>) id 1sd9sB-0007B8-BV for 72494 <at> debbugs.gnu.org; Sun, 11 Aug 2024 10:48:44 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 29AF140F00; Sun, 11 Aug 2024 16:48:11 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WJixASURYCLG; Sun, 11 Aug 2024 16:48:10 +0200 (CEST) Message-ID: <32475151-2836-06e5-c0aa-0e36d95f651c@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1723387690; bh=IgGF2rPR1ABOXmzXlEzBuy7PzsXwZP0uMzxiqVIZ2Z8=; h=Date:Subject:To:References:From:In-Reply-To; b=iSZFFp4Y/dw+OrdyZ96ohZiQqAcktWxvi7vsoG+BMr3FGoHAsW4phovHlid6TIeIF mxtm9rQe+XKbWTb2/ZTEOzTssQ0MSfRyLZyLcv4/ZrRiXq1Zf+4uqsshCnpcRX6ejw lf/jCZ8LSNKQVOmG9wLi85VyWY7nBxgEq5KvFYp9MVvDEuG1UeJuTgKBKsDrzXBlwA lDkEymaymI5s5AC2dh9/lEN1DKgGSY75aa5xTFFn6EbunGQrXVGM9R8PS+9WEOxybb 8ylHh44c/suBh1HeaJ3K7pD/gw1h/jTXei6rzDtB/e1zvmpnsdyQY2EUQpl54XgXci hAZCnpDEjOhUA== Date: Sun, 11 Aug 2024 22:47:36 +0800 MIME-Version: 1.0 Subject: Re: [PATCH v3] gnu: Add c3c-bootstrap. To: Ashvith Shetty <ashvithshetty10@HIDDEN>, 72494 <at> debbugs.gnu.org References: <25ba6326-a778-7f9e-1930-2d8d6c35375b@HIDDEN> <CA+n6Bx9bT_-fmUxjGqUkdpuzJE4fr3AgsTXM2N56AOZKs-2-4w@HIDDEN> Content-Language: en-US From: Adam Faiz <adam.faiz@HIDDEN> In-Reply-To: <CA+n6Bx9bT_-fmUxjGqUkdpuzJE4fr3AgsTXM2N56AOZKs-2-4w@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 72494 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 8/11/24 01:59, Ashvith Shetty wrote: > Hi Adam, > > I've tried building from your patch, and it seems to me that the > compiler isn't working, and requires that the flag `-cc` be passed, > pointing to `gcc` or `clang`. Since `cc` is a symlink to `gcc`, > wouldn't it be better to substitute `cc` to `gcc`? Or is it possible > to create a symlink `cc` unique to, and isolated inside the package > expression? Yes, it's better to just substitute `cc` with #$(cc-for-target). I've updated the patch to do this.
guix-patches@HIDDEN
:bug#72494
; Package guix-patches
.
Full text available.Received: (at 72494) by debbugs.gnu.org; 10 Aug 2024 18:00:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 10 14:00:56 2024 Received: from localhost ([127.0.0.1]:40418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1scqOd-000608-IG for submit <at> debbugs.gnu.org; Sat, 10 Aug 2024 14:00:56 -0400 Received: from mail-lj1-f170.google.com ([209.85.208.170]:44402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ashvithshetty10@HIDDEN>) id 1scqOa-0005zr-3H for 72494 <at> debbugs.gnu.org; Sat, 10 Aug 2024 14:00:54 -0400 Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2ef2fccca2cso32230961fa.1 for <72494 <at> debbugs.gnu.org>; Sat, 10 Aug 2024 11:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723312756; x=1723917556; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mUIKVaEHpYn2ajdqbD+zxpBdrLBaspTaC2uw7NXBEZU=; b=fwD0L7wiw69DbEAEwTuQ4LDaq161hCRNxZqPwi+kwIaAYZGav+SbdoTYCX4+EUR5Tj fC/Z+mStGe/UaRnzyr+QVfCPoA10BwTLHvsAy3wnC5PILrOQesAtMERxBuDOtYChvVeh AtzSPTgVnB7pk2AySxtYPM5/e6zRY0TFfVF7KLPS7Z41PZaUUEJrJQbAJS/omQetvAt/ XeO3fSoHvIZRfmhTYWcerT1a76EIMawKb3mqCo1YT0p6P3RQOtvM/WeYOIaZb+faBYHH hsyXQL0ir99Ip6mIe2Gh88SsF9rxRSbhDL+FNsvp7y7wjm5597VkyyztBSPq+Cn891DY MSrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723312756; x=1723917556; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mUIKVaEHpYn2ajdqbD+zxpBdrLBaspTaC2uw7NXBEZU=; b=LojAyn7serHNPa1i1p2+f9LJPVB2iV0AZhEjR4PEiwKltsgGKz2mN46wZROZWqhf8Z NtMvl/Y1r9t9fvgvH4JQbRWQysebRMej71aR+YPexSWVTmkY5TvLmHY7+qk0rfvtwZUX YncfGRSxFUqxZVD2Ct0G9VhLPSOKvPVVO+FAN2hXI0QZq0x+8IXYe0ejrRf/Uo/W1igT N1kQ5aIPFyguz+RSiJ1My3+W56KWnjVx8409pYjMHGZTZovu2IscWdfKDrb/2XPhfd71 aEol9TKjWY+XZtY+bDXUZtUBKv1OlJqAmn0B6tX+JduqsZsFJn82bV4AZ8+5WXJMisjB lSHQ== X-Gm-Message-State: AOJu0Yx7QB3yiYqXLu7MamZpZIvIb8Kb1zuVPieKTaD6ECr7QYAWDvdo uMax60L4/lS8tNW4aWWym3UnkyuX048fDer0ZXtT+bfvBz3VPk05N/aiFpaf96XKIlPLmj4N79V EwO0jqb1RfF2J3Nvjyt2HBndYlssBVg== X-Google-Smtp-Source: AGHT+IHAJj0uEC0PAYjMn2CODRubYUes3ZCiAMzCfGy7joI8A0Xj0He8vxuMw6cGBhWj7v7xRFKI4wJEQmdsRVoEKs8= X-Received: by 2002:a2e:d11:0:b0:2f1:a8ca:4f78 with SMTP id 38308e7fff4ca-2f1a8ca5094mr30365311fa.35.1723312755304; Sat, 10 Aug 2024 10:59:15 -0700 (PDT) MIME-Version: 1.0 References: <25ba6326-a778-7f9e-1930-2d8d6c35375b@HIDDEN> In-Reply-To: <25ba6326-a778-7f9e-1930-2d8d6c35375b@HIDDEN> From: Ashvith Shetty <ashvithshetty10@HIDDEN> Date: Sat, 10 Aug 2024 17:59:04 +0000 Message-ID: <CA+n6Bx9bT_-fmUxjGqUkdpuzJE4fr3AgsTXM2N56AOZKs-2-4w@HIDDEN> Subject: Re: [PATCH v3] gnu: Add c3c-bootstrap. To: 72494 <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 72494 Cc: adam.faiz@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) Hi Adam, I've tried building from your patch, and it seems to me that the compiler isn't working, and requires that the flag `-cc` be passed, pointing to `gcc` or `clang`. Since `cc` is a symlink to `gcc`, wouldn't it be better to substitute `cc` to `gcc`? Or is it possible to create a symlink `cc` unique to, and isolated inside the package expression? On Wed, Aug 7, 2024 at 6:37=E2=80=AFAM Adam Faiz <adam.faiz@HIDDEN> wr= ote: > > From 3f9768c8fe5cc965170a74e5c018887793cb3ac0 Mon Sep 17 00:00:00 2001 > Message-ID: <3f9768c8fe5cc965170a74e5c018887793cb3ac0.1723012269.git.adam= .faiz@HIDDEN> > From: AwesomeAdam54321 <adam.faiz@HIDDEN> > Date: Wed, 7 Aug 2024 12:18:23 +0800 > Subject: [PATCH v3] gnu: Add c3c-bootstrap. > > This patch was co-authored with Ashvith Shetty. > > * gnu/packages/c3.scm: New file. > * gnu/packages/c3.scm (c3c-bootstrap): New variable. > --- > gnu/packages/c3.scm | 92 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 92 insertions(+) > create mode 100644 gnu/packages/c3.scm > > diff --git a/gnu/packages/c3.scm b/gnu/packages/c3.scm > new file mode 100644 > index 0000000000..2c5924807f > --- /dev/null > +++ b/gnu/packages/c3.scm > @@ -0,0 +1,92 @@ > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright =C2=A9 2024 Ashvith Shetty <ashvithshetty10@HIDDEN> > +;;; Copyright =C2=A9 2024 Adam Faiz <adam.faiz@HIDDEN> > +;;; > +;;; This file is part of GNU Guix. > +;;; > +;;; GNU Guix is free software; you can redistribute it and/or modify it > +;;; under the terms of the GNU General Public License as published by > +;;; the Free Software Foundation; either version 3 of the License, or (a= t > +;;; your option) any later version. > +;;; > +;;; GNU Guix is distributed in the hope that it will be useful, but > +;;; WITHOUT ANY WARRANTY; without even the implied warranty of > +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +;;; GNU General Public License for more details. > +;;; > +;;; You should have received a copy of the GNU General Public License > +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. > + > +(define-module (gnu packages c3) > + #:use-module (gnu packages compression) > + #:use-module (gnu packages curl) > + #:use-module (gnu packages libffi) > + #:use-module (gnu packages llvm) > + #:use-module (gnu packages python) > + #:use-module (guix build-system cmake) > + #:use-module (guix gexp) > + #:use-module (guix git-download) > + #:use-module ((guix licenses) #:prefix license:) > + #:use-module (guix packages) > + #:use-module (guix utils)) > + > +(define-public c3c-bootstrap > + (package > + (name "c3c") > + (version "0.6.1") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/c3lang/c3c") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0xjl3yghyqmqv9118nhcix3xywlpdirqc0dlmdaghdkja0wr19rw")) > + (modules '((guix build utils))) > + (snippet > + #~(begin > + ;; Unbundle miniz. > + (delete-file-recursively "dependencies") > + ;; Swap out miniz for zlib. > + (substitute* "CMakeLists.txt" > + (("add_library\\(miniz.*\\)\n$") > + "find_package(ZLIB REQUIRED)") > + (("target_include_directories\\(miniz PUBLIC") "") > + (("...*/dependencies/miniz/..") "") > + (("miniz") "z")) > + (substitute* "src/utils/unzipper.c" > + (("miniz\\.h") "zlib.h")))))) > + (build-system cmake-build-system) > + (arguments > + (list > + #:configure-flags > + #~(list "-DCMAKE_INSTALL_LIBDIR=3Dlib") > + #:phases > + #~(modify-phases %standard-phases > + (add-before 'configure 'fix-build > + (lambda _ > + (substitute* "CMakeLists.txt" > + (("\\$\\{LLVM_LIBRARY_DIRS\\}") > + (string-append #$lld-18 "/lib/ " > + #$llvm-18 "/lib/"))))) > + (replace 'check > + (lambda* (#:key tests? #:allow-other-keys) > + (when tests? > + (with-directory-excursion "../source/resources/testproj= ect" > + (invoke "../../../build/c3c" > + "--cc" #$(cc-for-target) "build")) > + (invoke "python3" "../source/test/src/tester.py" > + "./c3c" "../source/test/test_suite") > + (invoke "./c3c" "--cc" #$(cc-for-target) > + "compile-test" "../source/test/unit"))))))) > + (native-inputs (list python)) > + (inputs (list libffi lld-18 llvm-18 zlib)) > + (synopsis "Compiler for the C3 language") > + (description > + "C3 is a programming language that builds on the syntax and semanti= cs > +of the C language, with the goal of evolving it while still retaining > +familiarity for C programmers.") > + (home-page "https://c3-lang.org/") > + (supported-systems '("x86_64-linux" "aarch64-linux" "riscv64-linux")= ) > + (license (list license:lgpl3 license:expat)))) > > base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8 > -- > 2.41.0
guix-patches@HIDDEN
:bug#72494
; Package guix-patches
.
Full text available.Received: (at 72494) by debbugs.gnu.org; 7 Aug 2024 06:37:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 07 02:37:58 2024 Received: from localhost ([127.0.0.1]:33528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sbaJ3-0001L0-MF for submit <at> debbugs.gnu.org; Wed, 07 Aug 2024 02:37:58 -0400 Received: from layka.disroot.org ([178.21.23.139]:46224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adam.faiz@HIDDEN>) id 1sbaJ0-0001Kj-8k for 72494 <at> debbugs.gnu.org; Wed, 07 Aug 2024 02:37:55 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A434B41943; Wed, 7 Aug 2024 08:37:26 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R9WG0YZrBid8; Wed, 7 Aug 2024 08:37:25 +0200 (CEST) Message-ID: <25ba6326-a778-7f9e-1930-2d8d6c35375b@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1723012645; bh=gJMGp5W2tsGbv0ozrfWmwV6TWeGVSCfTDYfRojCUKoc=; h=Date:To:Subject:Cc:From; b=XTDfh35aFJNvvyx08GYCRDX9kbWRRvpCVJcvwL6AKCqj54qyxQqifGs4M2y0bQAID pFjpivywBYZyN58YmEcM8yJtzxHK25fyNzaPlLOO+T3NO3whtaIP3E9C1tM25glZ9e rg026Qe4h3jiQ+w7LJSrolA6cK9WslYDbahqMlyedKEg9m/d4UMeQGxnV3Nx49sleC ZquTWklUPjMVJoC27pEbZvSl+DGK8GMle/mWAyjIexj1k1NUHuDPK9IapYGnhVhLMx TPsdJF0fvT9DKfe8UR+XY0zWGn8vNC0d1rWe/jZuU7cBkpHD2lf9TXSdHuMnceffau YF1eo/D8tr89w== Date: Wed, 7 Aug 2024 14:36:48 +0800 MIME-Version: 1.0 To: 72494 <at> debbugs.gnu.org Subject: [PATCH v3] gnu: Add c3c-bootstrap. Content-Language: en-US From: Adam Faiz <adam.faiz@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72494 Cc: ashvithshetty10@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) From 3f9768c8fe5cc965170a74e5c018887793cb3ac0 Mon Sep 17 00:00:00 2001 Message-ID: <3f9768c8fe5cc965170a74e5c018887793cb3ac0.1723012269.git.adam.faiz@HIDDEN> From: AwesomeAdam54321 <adam.faiz@HIDDEN> Date: Wed, 7 Aug 2024 12:18:23 +0800 Subject: [PATCH v3] gnu: Add c3c-bootstrap. This patch was co-authored with Ashvith Shetty. * gnu/packages/c3.scm: New file. * gnu/packages/c3.scm (c3c-bootstrap): New variable. --- gnu/packages/c3.scm | 92 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 gnu/packages/c3.scm diff --git a/gnu/packages/c3.scm b/gnu/packages/c3.scm new file mode 100644 index 0000000000..2c5924807f --- /dev/null +++ b/gnu/packages/c3.scm @@ -0,0 +1,92 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@HIDDEN> +;;; Copyright © 2024 Adam Faiz <adam.faiz@HIDDEN> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages c3) + #:use-module (gnu packages compression) + #:use-module (gnu packages curl) + #:use-module (gnu packages libffi) + #:use-module (gnu packages llvm) + #:use-module (gnu packages python) + #:use-module (guix build-system cmake) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils)) + +(define-public c3c-bootstrap + (package + (name "c3c") + (version "0.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/c3lang/c3c") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xjl3yghyqmqv9118nhcix3xywlpdirqc0dlmdaghdkja0wr19rw")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Unbundle miniz. + (delete-file-recursively "dependencies") + ;; Swap out miniz for zlib. + (substitute* "CMakeLists.txt" + (("add_library\\(miniz.*\\)\n$") + "find_package(ZLIB REQUIRED)") + (("target_include_directories\\(miniz PUBLIC") "") + (("...*/dependencies/miniz/..") "") + (("miniz") "z")) + (substitute* "src/utils/unzipper.c" + (("miniz\\.h") "zlib.h")))))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list "-DCMAKE_INSTALL_LIBDIR=lib") + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'fix-build + (lambda _ + (substitute* "CMakeLists.txt" + (("\\$\\{LLVM_LIBRARY_DIRS\\}") + (string-append #$lld-18 "/lib/ " + #$llvm-18 "/lib/"))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "../source/resources/testproject" + (invoke "../../../build/c3c" + "--cc" #$(cc-for-target) "build")) + (invoke "python3" "../source/test/src/tester.py" + "./c3c" "../source/test/test_suite") + (invoke "./c3c" "--cc" #$(cc-for-target) + "compile-test" "../source/test/unit"))))))) + (native-inputs (list python)) + (inputs (list libffi lld-18 llvm-18 zlib)) + (synopsis "Compiler for the C3 language") + (description + "C3 is a programming language that builds on the syntax and semantics +of the C language, with the goal of evolving it while still retaining +familiarity for C programmers.") + (home-page "https://c3-lang.org/") + (supported-systems '("x86_64-linux" "aarch64-linux" "riscv64-linux")) + (license (list license:lgpl3 license:expat)))) base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8 -- 2.41.0
guix-patches@HIDDEN
:bug#72494
; Package guix-patches
.
Full text available.Received: (at 72494) by debbugs.gnu.org; 6 Aug 2024 19:39:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 06 15:39:14 2024 Received: from localhost ([127.0.0.1]:33105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sbQ1a-0007sN-1l for submit <at> debbugs.gnu.org; Tue, 06 Aug 2024 15:39:14 -0400 Received: from mail-pl1-f180.google.com ([209.85.214.180]:48307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ashvithshetty10@HIDDEN>) id 1sbQ1Y-0007s5-Fr for 72494 <at> debbugs.gnu.org; Tue, 06 Aug 2024 15:39:13 -0400 Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1ff4568676eso11572295ad.0 for <72494 <at> debbugs.gnu.org>; Tue, 06 Aug 2024 12:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722973062; x=1723577862; 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=5Rhi3Shq5S0HXRHtHJmicBvrW5lzfYBvwiE83gwDplk=; b=gCcv3FP5WBBBBCFPU8FQ0b5pYn2ZPQYiwp6UoNOB1fIzsaPIigQwAIYPnqrEntbrEg 3KSCZInQKbgZ2Rh49poMhIWY3ct+LtvPBRVO9+KcJqfu4SGclOT30Ibw9/QFUpj9sLJp FGVlTLeiHItgQtcRG7BZY7SYWm1xc6LED97MjL06k+M0K/qjkdxW5XaLk188wvfUPs0z l5Ac3aNiiPd3ybjCaCHAEmsq+yefWDQ38mK8D5keMSR/yF+xxKLIh6WWAQUftxypJ8PL TXMy2Ki6kMmZQMscft+ZEMe2wFOxuuosooar5cysO2RJxfqYxzwlYawDvMXPD23No/WN pusA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722973062; x=1723577862; 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=5Rhi3Shq5S0HXRHtHJmicBvrW5lzfYBvwiE83gwDplk=; b=iSPf2tpOIxAF4XpHuEwgDSV6LL2Gz0RYJSu21yxs5XzaUFaRrXjZCU4HTveU1wTrII 2GNiTn81bpegT3eOJapCE4iJUtvuqbE8E0LQp5mQ+MHRnFTHaDNBnUlnJYoGXHMh7UPs x+spK43q75rYCZUDPltUuR+5oxHyWCU10+FmpbjQTg9GZVNap7bSbbSDpIty8UGcVKcN oi9I+pBPVZw/JmIAGkDi7YLwfK7lPFiJLBomaCTwGfp1VnBersVY90/XWRHfaEga3pC5 dqQ7SgO2KlefbZr2ObL9kMH+VQ+bl/aYKRWgMhucwatBx+qBSUrHoMKuLiQkGA2FJwWA 3Enw== X-Gm-Message-State: AOJu0YyAgKRRLTOFvCoTQkXk+X2bUMu1h3xDmiyYEH/DLKke+H5BCmij tAX2ShVJdSOMPxNIF4nlX29V8nCVebfVUjG6GMZDM/E6PtAwwv4SHKJ9qEBU X-Google-Smtp-Source: AGHT+IECvNTqDgvSJ+SzjWg0D2zWB7p8azmWISwOm3B7OLD99D75jKwuPvlW9ENLl1PhkkuDdXpavQ== X-Received: by 2002:a17:902:f681:b0:1fd:73e6:83c7 with SMTP id d9443c01a7336-1ff573cc797mr177293215ad.48.1722973062063; Tue, 06 Aug 2024 12:37:42 -0700 (PDT) Received: from wisteria.bbrouter ([150.129.60.164]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ff592ae0b3sm91075455ad.275.2024.08.06.12.37.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 12:37:41 -0700 (PDT) From: Ashvith Shetty <ashvithshetty10@HIDDEN> To: 72494 <at> debbugs.gnu.org Subject: [PATCH v2] gnu: Add C3 1.6.1. Date: Wed, 7 Aug 2024 01:07:35 +0530 Message-ID: <da507cf318c927b741fc8b3e7796bb86c6e04de2.1722973055.git.ashvithshetty10@HIDDEN> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 72494 Cc: Ashvith Shetty <ashvithshetty10@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) * gnu/packages/c3.scm (c3c-bootstrap): New variable. Change-Id: I4523c9c4e2fa613f1aecc5ad1214722618fa3ab8 --- gnu/packages/c3.scm | 58 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 gnu/packages/c3.scm diff --git a/gnu/packages/c3.scm b/gnu/packages/c3.scm new file mode 100644 index 0000000000..bd8bf89b17 --- /dev/null +++ b/gnu/packages/c3.scm @@ -0,0 +1,58 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@HIDDEN> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages c3) + #:use-module (gnu packages libffi) + #:use-module (gnu packages llvm) + #:use-module (guix build-system cmake) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module (guix licenses) + #:use-module (guix packages)) + +(define-public c3c-bootstrap + (package + (name "c3c") + (version "0.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/c3lang/c3c") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xjl3yghyqmqv9118nhcix3xywlpdirqc0dlmdaghdkja0wr19rw")) + (snippet #~(begin + (use-modules (guix build utils)) + (substitute* "CMakeLists.txt" + (("\\$\\{LLVM_LIBRARY_DIRS\\}") + (string-append #$lld-18 "/lib/ " + #$llvm-18 "/lib/"))))))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags '("-DCMAKE_INSTALL_LIBDIR=lib") + ;; TODO: Fix test + #:tests? #f)) + (inputs (list libffi llvm-18 lld-18)) + (synopsis "Compiler for the C3 language") + (description + "C3 is a programming language that builds on the syntax and semantics of the C language, with the goal of evolving it while still retaining familiarity for C programmers.") + (home-page "https://c3-lang.org/") + (supported-systems '("x86_64-linux" "aarch64-linux" "riscv64-linux")) + (license (list lgpl3 expat)))) -- 2.45.2
guix-patches@HIDDEN
:bug#72494
; Package guix-patches
.
Full text available.Received: (at 72494) by debbugs.gnu.org; 6 Aug 2024 19:34:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 06 15:34:10 2024 Received: from localhost ([127.0.0.1]:33100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sbPwf-0007kj-VH for submit <at> debbugs.gnu.org; Tue, 06 Aug 2024 15:34:10 -0400 Received: from mail-pg1-f169.google.com ([209.85.215.169]:43112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ashvithshetty10@HIDDEN>) id 1sbPwd-0007kV-CJ for 72494 <at> debbugs.gnu.org; Tue, 06 Aug 2024 15:34:08 -0400 Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-7afd1aeac83so154844a12.0 for <72494 <at> debbugs.gnu.org>; Tue, 06 Aug 2024 12:33:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722972757; x=1723577557; 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=Tm3EoHGP2X2aTX6SxmPsV5GoslziQc1Kmc+jbAd/CfE=; b=A9n1RkkDUkyPrwGeDoumGeYifBic4Cfv+p2YGFtlo8xHU6yiPyPd/eWn0q84xWJk6i f5OUjw+Jp6ARwYNrASi7gnXW5l41b5kj/5+WDWhdMWZqrJVEmCTgLcQFMR69putK33Ya gB8NU5U6mwPRsZGjIXm+kXGFLCuy6WOhjp7AqQJy3cZ5bHLyutSOONdGLdbEhMU5SKC1 mWVEw9w5on1jF/60jFx0IYccnjsCzyon2jGMQk25lEvRmg31PGMWqcRfAF1iWcW+lVmZ qljMYK3xvrGzB3AtHt0YilThqonPGW0gHbrAkuV8P/J1RPRRp/YxxUd+28XGa4ved9om GWAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722972757; x=1723577557; 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=Tm3EoHGP2X2aTX6SxmPsV5GoslziQc1Kmc+jbAd/CfE=; b=Yeilz4yycw8NvTP7cct7T5f7BzvlFTAuSyGBONu0HxuHhek/eL4dtUH9OZ5LPBv/6p YkH7XGNbnX5xImJjrx01oqnbtaAN8ecEUADSl1DFbu9IffF1gZQs0yJQtDBNevzikRj8 7/qb1h01KZNoyZZAz7idVn6EYDpeVNq3ZoTHUJxH+kdVSnVU5Ly2nZlMseBfNsy8VaOI SHqT2CTpoYNGjcVwZv+C1t9aY5WJVF6M2sCs9Ct27dTRipsysQFgzGEKMzgC4or6KrWQ m2o4aIUMRbgNPZT/uXUhbuEdG3iyutBzeGioH7vn+RNtZseXYvMbAXGe/vse1qE8cN+Q +YJA== X-Gm-Message-State: AOJu0Ywllh4Irj6Z8Ir3GyqnM3EhIPjVlj0YieIr/Zb/9weUXCpObbjd 4MxJfTGi7VQNrTAz5HeyXwD9bPP6Tk8NHoljpCXb69VlFcvI0Nk857tkRD6f X-Google-Smtp-Source: AGHT+IGl4PBTr+R+/t3VSn8X0QH3tN+fMMQ5ENcQCxoDy86wHsUytvRWmmORYcZ0bdQwXbSeMHshRA== X-Received: by 2002:a17:90b:180a:b0:2c8:4250:66a1 with SMTP id 98e67ed59e1d1-2cff090456amr27752964a91.3.1722972756211; Tue, 06 Aug 2024 12:32:36 -0700 (PDT) Received: from wisteria.bbrouter ([150.129.60.164]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cfdc4cf181sm12941403a91.37.2024.08.06.12.32.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 12:32:35 -0700 (PDT) From: Ashvith Shetty <ashvithshetty10@HIDDEN> To: 72494 <at> debbugs.gnu.org Subject: [PATCH v1] gnu: Add C3 1.6.1. Date: Wed, 7 Aug 2024 01:02:28 +0530 Message-ID: <2f8d86b639fb6e025063db02f25dbe81d9e1521f.1722972748.git.ashvithshetty10@HIDDEN> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 72494 Cc: Ashvith Shetty <ashvithshetty10@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) * gnu/packages/c3.scm (c3c-bootstrap): New variable. Change-Id: Ib87f17f9178307af669bb6213403ddf1efd09386 --- gnu/packages/c3.scm | 58 +++++++++++++++++++ outgoing/0000-cover-letter.patch | 22 ++++++++ outgoing/0001-gnu-Add-C3-1.6.1.patch | 84 ++++++++++++++++++++++++++++ 3 files changed, 164 insertions(+) create mode 100644 gnu/packages/c3.scm create mode 100644 outgoing/0000-cover-letter.patch create mode 100644 outgoing/0001-gnu-Add-C3-1.6.1.patch diff --git a/gnu/packages/c3.scm b/gnu/packages/c3.scm new file mode 100644 index 0000000000..bd8bf89b17 --- /dev/null +++ b/gnu/packages/c3.scm @@ -0,0 +1,58 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@HIDDEN> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages c3) + #:use-module (gnu packages libffi) + #:use-module (gnu packages llvm) + #:use-module (guix build-system cmake) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module (guix licenses) + #:use-module (guix packages)) + +(define-public c3c-bootstrap + (package + (name "c3c") + (version "0.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/c3lang/c3c") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xjl3yghyqmqv9118nhcix3xywlpdirqc0dlmdaghdkja0wr19rw")) + (snippet #~(begin + (use-modules (guix build utils)) + (substitute* "CMakeLists.txt" + (("\\$\\{LLVM_LIBRARY_DIRS\\}") + (string-append #$lld-18 "/lib/ " + #$llvm-18 "/lib/"))))))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags '("-DCMAKE_INSTALL_LIBDIR=lib") + ;; TODO: Fix test + #:tests? #f)) + (inputs (list libffi llvm-18 lld-18)) + (synopsis "Compiler for the C3 language") + (description + "C3 is a programming language that builds on the syntax and semantics of the C language, with the goal of evolving it while still retaining familiarity for C programmers.") + (home-page "https://c3-lang.org/") + (supported-systems '("x86_64-linux" "aarch64-linux" "riscv64-linux")) + (license (list lgpl3 expat)))) diff --git a/outgoing/0000-cover-letter.patch b/outgoing/0000-cover-letter.patch new file mode 100644 index 0000000000..6fe6a1dbc7 --- /dev/null +++ b/outgoing/0000-cover-letter.patch @@ -0,0 +1,22 @@ +From 35f4ae97ed57fff79575fa8acd83d8c1077acd4c Mon Sep 17 00:00:00 2001 +Message-ID: <cover.1722933384.git.ashvithshetty10@HIDDEN> +From: Ashvith Shetty <ashvithshetty10@HIDDEN> +Date: Tue, 6 Aug 2024 14:06:24 +0530 +Subject: [PATCH 0/1] Add C3 + +This patch series adds C3, which is a programming language that builds on the syntax and semantics of the C language, with the goal of evolving it while still retaining familiarity for C programmers. + +Tests have been disabled, as I was not able to figure out on how to make it work, but I would appreciate it, if anyone is willing to improve this patch series. + +Ashvith Shetty (1): + gnu: Add C3 1.6.1. + + gnu/packages/c3.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 59 insertions(+) + create mode 100644 gnu/packages/c3.scm + + +base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8 +-- +2.45.2 + diff --git a/outgoing/0001-gnu-Add-C3-1.6.1.patch b/outgoing/0001-gnu-Add-C3-1.6.1.patch new file mode 100644 index 0000000000..93fcedbb28 --- /dev/null +++ b/outgoing/0001-gnu-Add-C3-1.6.1.patch @@ -0,0 +1,84 @@ +From 35f4ae97ed57fff79575fa8acd83d8c1077acd4c Mon Sep 17 00:00:00 2001 +Message-ID: <35f4ae97ed57fff79575fa8acd83d8c1077acd4c.1722933384.git.ashvithshetty10@HIDDEN> +In-Reply-To: <cover.1722933384.git.ashvithshetty10@HIDDEN> +References: <cover.1722933384.git.ashvithshetty10@HIDDEN> +From: Ashvith Shetty <ashvithshetty10@HIDDEN> +Date: Tue, 6 Aug 2024 12:19:24 +0530 +Subject: [PATCH 1/1] gnu: Add C3 1.6.1. + +* gnu/packages/c3.scm (c3c-bootstrap): New variable. + +Change-Id: Ib87f17f9178307af669bb6213403ddf1efd09386 +--- + gnu/packages/c3.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 59 insertions(+) + create mode 100644 gnu/packages/c3.scm + +diff --git a/gnu/packages/c3.scm b/gnu/packages/c3.scm +new file mode 100644 +index 0000000000..431b1c0aa4 +--- /dev/null ++++ b/gnu/packages/c3.scm +@@ -0,0 +1,59 @@ ++;;; GNU Guix --- Functional package management for GNU ++;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@HIDDEN> ++;;; ++;;; This file is part of GNU Guix. ++;;; ++;;; GNU Guix is free software; you can redistribute it and/or modify it ++;;; under the terms of the GNU General Public License as published by ++;;; the Free Software Foundation; either version 3 of the License, or (at ++;;; your option) any later version. ++;;; ++;;; GNU Guix is distributed in the hope that it will be useful, but ++;;; WITHOUT ANY WARRANTY; without even the implied warranty of ++;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++;;; GNU General Public License for more details. ++;;; ++;;; You should have received a copy of the GNU General Public License ++;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. ++ ++(define-module (gnu packages c3) ++ #:use-module (gnu packages curl) ++ #:use-module (gnu packages libffi) ++ #:use-module (gnu packages llvm) ++ #:use-module (guix build-system cmake) ++ #:use-module (guix gexp) ++ #:use-module (guix git-download) ++ #:use-module (guix licenses) ++ #:use-module (guix packages)) ++ ++(define-public c3c-bootstrap ++ (package ++ (name "c3c") ++ (version "0.6.1") ++ (source ++ (origin ++ (method git-fetch) ++ (uri (git-reference ++ (url "https://github.com/c3lang/c3c") ++ (commit (string-append "v" version)))) ++ (file-name (git-file-name name version)) ++ (sha256 ++ (base32 "0xjl3yghyqmqv9118nhcix3xywlpdirqc0dlmdaghdkja0wr19rw")) ++ (snippet #~(begin ++ (use-modules (guix build utils)) ++ (substitute* "CMakeLists.txt" ++ (("\\$\\{LLVM_LIBRARY_DIRS\\}") ++ (string-append #$lld-18 "/lib/ " ++ #$llvm-18 "/lib/"))))))) ++ (build-system cmake-build-system) ++ (arguments ++ '(#:configure-flags '("-DCMAKE_INSTALL_LIBDIR=lib") ++ ;; TODO: Fix test ++ #:tests? #f)) ++ (inputs (list curl libffi llvm-18 lld-18)) ++ (synopsis "Compiler for the C3 language") ++ (description ++ "C3 is a programming language that builds on the syntax and semantics of the C language, with the goal of evolving it while still retaining familiarity for C programmers.") ++ (home-page "https://c3-lang.org/") ++ (supported-systems '("x86_64-linux" "aarch64-linux" "riscv64-linux")) ++ (license (list lgpl3 expat)))) +-- +2.45.2 + -- 2.45.2
guix-patches@HIDDEN
:bug#72494
; Package guix-patches
.
Full text available.Received: (at 72494) by debbugs.gnu.org; 6 Aug 2024 15:08:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 06 11:08:04 2024 Received: from localhost ([127.0.0.1]:32875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sbLnA-0000Ms-DL for submit <at> debbugs.gnu.org; Tue, 06 Aug 2024 11:08:04 -0400 Received: from layka.disroot.org ([178.21.23.139]:56486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adam.faiz@HIDDEN>) id 1sbLn6-0000LR-Ts for 72494 <at> debbugs.gnu.org; Tue, 06 Aug 2024 11:08:02 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 471D841183; Tue, 6 Aug 2024 17:07:34 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BRH57wvYinR0; Tue, 6 Aug 2024 17:07:33 +0200 (CEST) Date: Tue, 06 Aug 2024 15:07:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1722956853; bh=s0l5/EFkvS1ZPKiWC2nkx/9HkFD57XOP7N+QumRHs+A=; h=Date:From:To:CC:Subject; b=P4V1uOnXn1tJztzzrYIrJWOQ9Z/P2yjOa2R0bHWlCRFnO9pzLPrpt4txY8dYoW2pe icLTlNJ5HSvsRRQgCmcOfAcTP4IFcMO+8wvBOoe8aw4qjkgKCmXWOMEIYr0eegCYO+ jR6ky6Y23gp3POmiwhIiUHzXtf2vHkvEB5pvQ6KXb9tNzCTSDFO2zXEuWchXBaz7a0 7PTOAgPGH2F0CnGungH/udn7wZW/rwGLxm6WymQQXv3ZXF7Qf8/zUeBMh+Fv02c76U qfX/KMFZZzDhzcuZqqRG6krR8Jm3mrBfMocC5oGZBkQz180ApQXu1sWbqiClryXtlF 9NuKXexf1KmeQ== From: Adam Faiz <adam.faiz@HIDDEN> To: 72494 <at> debbugs.gnu.org Subject: Re: [PATCH 0/1] Add C3 Message-ID: <C1B52784-9BF4-40F3-88D2-6D2D8EE5ED45@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72494 Cc: ashvithshetty10@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello Ashvith, I'd like to give my feedback on this patch series=2E I'll send an updated = patch series using the suggestions below if I have the time=2E > +(define-public c3c-bootstrap > + (package > + (name "c3c") > + (version "0=2E6=2E1") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github=2Ecom/c3lang/c3c") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0xjl3yghyqmqv9118nhcix3xywlpdirqc0dlmdaghdkja0wr19rw")= ) > + (snippet #~(begin > + (use-modules (guix build utils)) > + (substitute* "CMakeLists=2Etxt" > + (("\\$\\{LLVM_LIBRARY_DIRS\\}") > + (string-append #$lld-18 "/lib/ " > + #$llvm-18 "/lib/"))))))) > + (build-system cmake-build-system) > + (arguments > + '(#:configure-flags '("-DCMAKE_INSTALL_LIBDIR=3Dlib") > + ;; TODO: Fix test > + #:tests? #f)) According to its README, the unit tests are run using the built c3c with i= ts compile-test subcommand: `c3c compile-test test/unit`=2E The `check` bui= ld phase needs to be replaced to run this command=2E A patch sent upstream to add a proper `check` target would be good, and th= e test/ subdirectory would probably also need to be specified as part of th= e out-of-tree build=2E > + (inputs (list curl libffi llvm-18 lld-18)) The curl dependency should be removed, since c3c's optional dependency dow= nloading functionality isn't needed in Guix=2E
guix-patches@HIDDEN
:bug#72494
; Package guix-patches
.
Full text available.Received: (at 72494) by debbugs.gnu.org; 6 Aug 2024 11:11:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 06 07:11:01 2024 Received: from localhost ([127.0.0.1]:60161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sbI5l-0000f3-1j for submit <at> debbugs.gnu.org; Tue, 06 Aug 2024 07:11:01 -0400 Received: from mail-pj1-f42.google.com ([209.85.216.42]:49245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ashvithshetty10@HIDDEN>) id 1sbI5i-0000ei-M6 for 72494 <at> debbugs.gnu.org; Tue, 06 Aug 2024 07:10:59 -0400 Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-2cb5b783c15so467200a91.2 for <72494 <at> debbugs.gnu.org>; Tue, 06 Aug 2024 04:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722942568; x=1723547368; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qLl/zMIRh/ytcz6zbTfUlpOKdSKJ6Pj7QJGo4oz+fYM=; b=XiZ6ZxurS2coLSX3/PuRH6myFWbgso8Wz2dsiDaNC4WEDVuk+c1rlGvfvsfRFusNMo 47kh/nCuvFU9M9H4s4wjQ7hE8tOLI6UJrTGm8X9SUPWbI6Bou7jOkFz6t/qCOXTgDPkP UiQk48ilNvj3coJFU6hcfzF1BKpjyBQ6/jVgFoaajEFfOwStIyisb+DEj5XQg3BO2Hgq I98A1TMb2Bzd59CbvNZW5d48FC3TQzKi556ozh7rujW7CAF+RH/MkmM+Cjct09ff+5Lp dpanNYqjGo2xIfkw6hUDQs48F6GszD8I//xPns7eE6Eeq0su6ZMgzpTwtrh7+SPx2au6 ohuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722942568; x=1723547368; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qLl/zMIRh/ytcz6zbTfUlpOKdSKJ6Pj7QJGo4oz+fYM=; b=XeCFTB1NSnnBvFb43HGQZcb5hWqFy3O4P5PblO7SpRbv6FBTg6XUv3BIPKZAS8/LWQ 8w1lq0rTCC98wd6ym8c+LMLoZBQka2tK2VVgSF5ae1DyVr/GE7WBNtJEGCNszrIrptEr 8vPnRq0UwkiOPXcZfpsmybtOuvyfn9tgfizpndjoYdGRS43SshjFSPw07JBU2uyv+h9b 6CGYy7Pv0G2lBeMkF508/g4VbUgpQlI+aWKj0ofPKHhZ3y+4I4GhtCZBEZoeWC179Utu cs++TzbWzeoUEZ5yDBY5DFWmnISeN18tHcab+Ht+JMH5eyjN8RgNI/1qtHi5n1ItpwyP nzjw== X-Gm-Message-State: AOJu0YwWqjly3sbwQ5X3iezCUCKGJi0ruKJ/NGsODws2Lxz66hlIMIpH 5BIxJ0h6B324hSkBraEvHPmsgbPNyxCyx1zGl5ti4Vc3hRtAejZIc8YoOleS X-Google-Smtp-Source: AGHT+IHOCOUb9SGUWmiT1TY7SMXXFn4b5c01BJXF0eHaA6ODqJK8UfUli/xUVV2jOjux7HxU8EGWpg== X-Received: by 2002:a17:90b:1183:b0:2c2:df58:bb8c with SMTP id 98e67ed59e1d1-2cff9430f46mr17299087a91.18.1722942568170; Tue, 06 Aug 2024 04:09:28 -0700 (PDT) Received: from wisteria.bbrouter ([150.129.60.164]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cffb36bd32sm8820814a91.42.2024.08.06.04.09.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 04:09:27 -0700 (PDT) From: Ashvith Shetty <ashvithshetty10@HIDDEN> To: 72494 <at> debbugs.gnu.org Subject: [PATCH 1/1] gnu: Add C3 1.6.1. Date: Tue, 6 Aug 2024 16:39:18 +0530 Message-ID: <35f4ae97ed57fff79575fa8acd83d8c1077acd4c.1722933384.git.ashvithshetty10@HIDDEN> X-Mailer: git-send-email 2.45.2 In-Reply-To: <cover.1722933384.git.ashvithshetty10@HIDDEN> References: <cover.1722933384.git.ashvithshetty10@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 72494 Cc: Ashvith Shetty <ashvithshetty10@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) * gnu/packages/c3.scm (c3c-bootstrap): New variable. Change-Id: Ib87f17f9178307af669bb6213403ddf1efd09386 --- gnu/packages/c3.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 gnu/packages/c3.scm diff --git a/gnu/packages/c3.scm b/gnu/packages/c3.scm new file mode 100644 index 0000000000..431b1c0aa4 --- /dev/null +++ b/gnu/packages/c3.scm @@ -0,0 +1,59 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@HIDDEN> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages c3) + #:use-module (gnu packages curl) + #:use-module (gnu packages libffi) + #:use-module (gnu packages llvm) + #:use-module (guix build-system cmake) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module (guix licenses) + #:use-module (guix packages)) + +(define-public c3c-bootstrap + (package + (name "c3c") + (version "0.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/c3lang/c3c") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xjl3yghyqmqv9118nhcix3xywlpdirqc0dlmdaghdkja0wr19rw")) + (snippet #~(begin + (use-modules (guix build utils)) + (substitute* "CMakeLists.txt" + (("\\$\\{LLVM_LIBRARY_DIRS\\}") + (string-append #$lld-18 "/lib/ " + #$llvm-18 "/lib/"))))))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags '("-DCMAKE_INSTALL_LIBDIR=lib") + ;; TODO: Fix test + #:tests? #f)) + (inputs (list curl libffi llvm-18 lld-18)) + (synopsis "Compiler for the C3 language") + (description + "C3 is a programming language that builds on the syntax and semantics of the C language, with the goal of evolving it while still retaining familiarity for C programmers.") + (home-page "https://c3-lang.org/") + (supported-systems '("x86_64-linux" "aarch64-linux" "riscv64-linux")) + (license (list lgpl3 expat)))) -- 2.45.2
guix-patches@HIDDEN
:bug#72494
; Package guix-patches
.
Full text available.Received: (at 72494) by debbugs.gnu.org; 6 Aug 2024 11:06:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 06 07:06:07 2024 Received: from localhost ([127.0.0.1]:60131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sbI11-0000VL-3F for submit <at> debbugs.gnu.org; Tue, 06 Aug 2024 07:06:07 -0400 Received: from mail-pg1-f170.google.com ([209.85.215.170]:49303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ashvithshetty10@HIDDEN>) id 1sbI0y-0000Uj-QD for 72494 <at> debbugs.gnu.org; Tue, 06 Aug 2024 07:06:05 -0400 Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-7aa7703cf08so481510a12.2 for <72494 <at> debbugs.gnu.org>; Tue, 06 Aug 2024 04:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722942275; x=1723547075; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qLl/zMIRh/ytcz6zbTfUlpOKdSKJ6Pj7QJGo4oz+fYM=; b=kBmW2BRljN4YlIjJ+hwXg+KJibfKwSBRrd0waWULeDbdqYFUGuZub9uCv7tCBbTGJ0 S1/MHVprrJsf/mv/Pt1QUtqWxIfYfqt8K7rW0htXkfrRWuoBglqsC2wb23kd2HZA7DJA bXDkyW3U0gndpNu199XpjWNfwOg5YQKwDtihWkFpKXP6UwVzXo1VcHEhxR3fOfpnuZyi UpAbZrpkzbMs4Xf6mMGU7dYWdo628EjYIPnXRb6n2B7vCigRcF7YnIe13lbqF+54tDyK ZiM7xB4uW3OeFzZwcmRkITanjoVF6+3vJHq161w3GryaelD75yIX1PW+uRYF+YbuZBWJ J+DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722942275; x=1723547075; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qLl/zMIRh/ytcz6zbTfUlpOKdSKJ6Pj7QJGo4oz+fYM=; b=FLGU+AssAUq37rkXoreio9vHVd/i7/yR2MGMqt+nGH9VF6E23/BxvWepCJTCE0FCbg 4g7k76i30eo59urH8c8e0oFcz2UA+WDtbwHoUnVJO0au+vRu4X+DMM3plR2S3IYdgbOa sRPpAHF4dr3KbcYlhLAfx68E2u6PwAGUbVB74BLXeqZaqLSVzcK1+KJRgC/Mric9NBFZ 9bY/X5RC9Ykc8ZjDjPqcIV6YEG1zi0OEf38ZOnk7BJI0uDreMvTTjc8sEqmJxHQQKIVa mm07iZyxpMPHIVbYGH/8OnD7maCQ/z74hb4Y7DVb3Toh4ArCiSuzs4LjJtgVVo18th4e +FRw== X-Gm-Message-State: AOJu0YxnS6IMMbyfolJwc9wwfofjbkD2/QJYkovMknW83cZa4toNgjDN WTjTzq8xmDfl1xSAkLsbUcGXkUv688qEMcdxdsRSoEaSEQNYRWCqf5md1VaH X-Google-Smtp-Source: AGHT+IGfEV2Z86k3uaG9ZaOrmVl2Un+EU8qUrxF32coLF0OEGMxTHPVO0Uo6KWHc0y1lIHvhvDJU+g== X-Received: by 2002:a17:90a:ce09:b0:2cb:5162:9d19 with SMTP id 98e67ed59e1d1-2cff9523daamr16316383a91.28.1722942274689; Tue, 06 Aug 2024 04:04:34 -0700 (PDT) Received: from wisteria.bbrouter ([150.129.60.164]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cffb0cc9f5sm8903742a91.27.2024.08.06.04.04.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 04:04:34 -0700 (PDT) From: Ashvith Shetty <ashvithshetty10@HIDDEN> To: 72494 <at> debbugs.gnu.org Subject: [PATCH 1/1] gnu: Add C3 1.6.1. Date: Tue, 6 Aug 2024 16:34:21 +0530 Message-ID: <35f4ae97ed57fff79575fa8acd83d8c1077acd4c.1722933384.git.ashvithshetty10@HIDDEN> X-Mailer: git-send-email 2.45.2 In-Reply-To: <cover.1722933384.git.ashvithshetty10@HIDDEN> References: <cover.1722933384.git.ashvithshetty10@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 72494 Cc: Ashvith Shetty <ashvithshetty10@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) * gnu/packages/c3.scm (c3c-bootstrap): New variable. Change-Id: Ib87f17f9178307af669bb6213403ddf1efd09386 --- gnu/packages/c3.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 gnu/packages/c3.scm diff --git a/gnu/packages/c3.scm b/gnu/packages/c3.scm new file mode 100644 index 0000000000..431b1c0aa4 --- /dev/null +++ b/gnu/packages/c3.scm @@ -0,0 +1,59 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@HIDDEN> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages c3) + #:use-module (gnu packages curl) + #:use-module (gnu packages libffi) + #:use-module (gnu packages llvm) + #:use-module (guix build-system cmake) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module (guix licenses) + #:use-module (guix packages)) + +(define-public c3c-bootstrap + (package + (name "c3c") + (version "0.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/c3lang/c3c") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xjl3yghyqmqv9118nhcix3xywlpdirqc0dlmdaghdkja0wr19rw")) + (snippet #~(begin + (use-modules (guix build utils)) + (substitute* "CMakeLists.txt" + (("\\$\\{LLVM_LIBRARY_DIRS\\}") + (string-append #$lld-18 "/lib/ " + #$llvm-18 "/lib/"))))))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags '("-DCMAKE_INSTALL_LIBDIR=lib") + ;; TODO: Fix test + #:tests? #f)) + (inputs (list curl libffi llvm-18 lld-18)) + (synopsis "Compiler for the C3 language") + (description + "C3 is a programming language that builds on the syntax and semantics of the C language, with the goal of evolving it while still retaining familiarity for C programmers.") + (home-page "https://c3-lang.org/") + (supported-systems '("x86_64-linux" "aarch64-linux" "riscv64-linux")) + (license (list lgpl3 expat)))) -- 2.45.2
guix-patches@HIDDEN
:bug#72494
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 6 Aug 2024 11:03:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 06 07:03:00 2024 Received: from localhost ([127.0.0.1]:60109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sbHy0-0000OO-Hc for submit <at> debbugs.gnu.org; Tue, 06 Aug 2024 07:03:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:40614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ashvithshetty10@HIDDEN>) id 1sbHxy-0000OE-GK for submit <at> debbugs.gnu.org; Tue, 06 Aug 2024 07:02: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 <ashvithshetty10@HIDDEN>) id 1sbHxZ-0003fo-Ph for guix-patches@HIDDEN; Tue, 06 Aug 2024 07:02:34 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <ashvithshetty10@HIDDEN>) id 1sbHxX-0007HU-Fg for guix-patches@HIDDEN; Tue, 06 Aug 2024 07:02:33 -0400 Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-7a263f6439eso253533a12.3 for <guix-patches@HIDDEN>; Tue, 06 Aug 2024 04:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722942149; x=1723546949; darn=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=k0ZAj5RxOuFjOr2sIIviPAY7yXdErDHAsCs2alw0hJI=; b=M3BuEtLGlfrIlKQ3mslBRiHPrhb3p7cZ4meGbRAsaHfQYy3rGaf34FAwy4imSfMnSd pAQ1fmvvG1qBJqpAhVYP/BaQSwtehYd8d2xWoIaaT26lSM+8iTrTkjFLKpvvPUXcPrYL xe6iTWcBYPdTMcrUrAzN9Q85CHhU0KhRuN7nV1OE3ROpcaKi3JnnMCXdH1x0haWrT1j2 30eqxobXc5e3Xkc3bgCg0vrHMC1H3SKDR//QrF2pF+cpznoSwisA6U1QT6fW2VOUTgw5 g0L6eZbN17+9lb7WBVk5+eNGHLr83sSxsfqs7+p4TW/xcNok+zywdVOZJLeP47Y5jpIn /CHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722942149; x=1723546949; 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=k0ZAj5RxOuFjOr2sIIviPAY7yXdErDHAsCs2alw0hJI=; b=S+la40u5Bol7IaOqZDoFnyRK7jphyPD3KsQ8sHVNS7xDTJRcQuTam9JtQvzMsVnknt eLAEWhAF1vsAKxBl26zIimlx3XlS7MMRDI8eU8afA9jwRP5qL7OfuDxfZXp5awL13Qf5 PuohhiXtW2NfuiOk9q8WpYxPhyOj/8l/seb3CvLCS71GiwyeWVjyD5cPl7UjZKWsPsEb +GbYBNd/qZ+pzE2WDeco0tSGXC7wShnESVqNkefXzM1oxBIKauWaljjkvrY6/v4pV1SL 8kF7mCI+s5dMvR7EhsK+keZYfFVCYUTyCHnj2I/8BzWC5VUHBDCImHgwEcykvaXedREN /fLA== X-Gm-Message-State: AOJu0YytVqviM9W2Kff1C5F9IdnSxVEeUOP1OI6OCCxLiD++2bc9DS9N dzsZmTRn0Ny8akyGuhTy2YN8TQcdjgJHISvHaW1y0mA9PbQ8U3sYbXZNmQ== X-Google-Smtp-Source: AGHT+IEML4W+H4j/7OPTkM4cG//7z01h4M2m4GJnkECFI42a1iXI1DddVAEAiLKIuV4yCMX2Q1dUtA== X-Received: by 2002:a17:90b:180c:b0:2c9:a88d:26f2 with SMTP id 98e67ed59e1d1-2cff953e264mr12637352a91.36.1722942148675; Tue, 06 Aug 2024 04:02:28 -0700 (PDT) Received: from wisteria.bbrouter ([150.129.60.164]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cfdc4e3c41sm12262961a91.48.2024.08.06.04.02.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 04:02:28 -0700 (PDT) From: Ashvith Shetty <ashvithshetty10@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH 0/1] Add C3 Date: Tue, 6 Aug 2024 16:32:20 +0530 Message-ID: <cover.1722933384.git.ashvithshetty10@HIDDEN> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Debbugs-Cc: ( <paren@HIDDEN>, Christopher Baines <guix@HIDDEN>, Ludovic Courtès <ludo@HIDDEN>, Mathieu Othacehe <othacehe@HIDDEN>, Simon Tournier <zimon.toutoune@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>, jgart <jgart@HIDDEN> Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=ashvithshetty10@HIDDEN; helo=mail-pg1-x52b.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: Ashvith Shetty <ashvithshetty10@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) This patch series adds C3, which is a programming language that builds on the syntax and semantics of the C language, with the goal of evolving it while still retaining familiarity for C programmers. Tests have been disabled, as I was not able to figure out on how to make it work, but I would appreciate it, if anyone is willing to improve this patch series. Ashvith Shetty (1): gnu: Add C3 1.6.1. gnu/packages/c3.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 gnu/packages/c3.scm base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8 -- 2.45.2
Ashvith Shetty <ashvithshetty10@HIDDEN>
:, guix-patches@HIDDEN
.
Full text available., guix-patches@HIDDEN
:bug#72494
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.