From patchwork Fri Jan 1 19:23:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Prior X-Patchwork-Id: 26159 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EC96427BC09; Fri, 1 Jan 2021 19:24:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DB2E227BC08 for ; Fri, 1 Jan 2021 19:24:09 +0000 (GMT) Received: from localhost ([::1]:47142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvQ1x-00023W-38 for patchwork@mira.cbaines.net; Fri, 01 Jan 2021 14:24:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvQ1q-00023D-Ot for guix-patches@gnu.org; Fri, 01 Jan 2021 14:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kvQ1q-0005PV-HP for guix-patches@gnu.org; Fri, 01 Jan 2021 14:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kvQ1q-0004uu-Cy for guix-patches@gnu.org; Fri, 01 Jan 2021 14:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45601] [PATCH 0/6] vlang 0.2 update Resent-From: Ryan Prior Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Jan 2021 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45601 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45601@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160952903218878 (code B ref -1); Fri, 01 Jan 2021 19:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jan 2021 19:23:52 +0000 Received: from localhost ([127.0.0.1]:34890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvQ1f-0004uQ-N4 for submit@debbugs.gnu.org; Fri, 01 Jan 2021 14:23:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:41284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvQ1e-0004uJ-Gw for submit@debbugs.gnu.org; Fri, 01 Jan 2021 14:23:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvQ1c-00022g-Qk for guix-patches@gnu.org; Fri, 01 Jan 2021 14:23:49 -0500 Received: from mail2.protonmail.ch ([185.70.40.22]:58726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvQ1X-0005Gx-NF for guix-patches@gnu.org; Fri, 01 Jan 2021 14:23:46 -0500 Date: Fri, 01 Jan 2021 19:23:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1609529012; bh=1WlvXHkt7KtaZsjnhGBczbndREypIh6Vf1d4IHYWGBk=; h=Date:To:From:Reply-To:Subject:From; b=IGYXRz6LVKwSiYHJ9ZEsO50IkXodY9RQCqeErLem/mXDTkU8oqnR0Rlntgmi/JFiq F7zWaNcrRL4A1OEsZl/p5WGO/G2wFKL8STW38/edz14dJbw1drQLw6QmCZp3XgKVW7 JNYUqI7gwYzoGGkXzeID3EAguk/87s3Cn7v47DUI= Message-ID: <20210101192319.23494-1-rprior@protonmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.22; envelope-from=rprior@protonmail.com; helo=mail2.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Ryan Prior , Ryan Prior via Guix-patches X-Patchwork-Original-From: Ryan Prior via Guix-patches via From: Ryan Prior X-getmail-retrieved-from-mailbox: Patches Hi Guix! The vlang compiler had its 0.2 release recently and I've been working on improving the quality of our package as well. This patch series has 4 exciting improvements: 1. The compiler is updated to 0.2, which already includes a number of changes to the build system to make things work better for Guix users. 2. Three vendored dependencies are factored out into their own Guix packages: tiny-bignu, cJSON, and wyhash. 3. A number of tests that were failing have been patched to succeed. The number of tests we skip is down to three. 4. The v tools now work out of the box, with some exceptions such as the REPL that rely on `cc`. I am continuing the work to move the last of the vendored dependencies into their own packages, get all the tests passing, and get us to a working v repl. But this series already gets us a lot closer to where I want to be. This patch series also relates to issues 43821 and 44978. Cheers, Ryan Ryan Prior (6): gnu: Add wyhash. gnu: vlang: Update to 0.2. gnu: vlang: Use system tiny-bignum. gnu: vlang: Use system cJSON. gnu: vlang: Use system wyhash. gnu: vlang: Fix v tools. gnu/local.mk | 1 + gnu/packages/datastructures.scm | 34 ++++- .../vlang-accommodate-timestamps.patch | 50 ++++++++ gnu/packages/vlang.scm | 119 ++++++++++++++---- 4 files changed, 178 insertions(+), 26 deletions(-) create mode 100644 gnu/packages/patches/vlang-accommodate-timestamps.patch