GNU bug report logs - #68910
[PATCH] gnu: Add wasmedge.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Zheng Junjie <zhengjunjie@HIDDEN>; Keywords: patch moreinfo; dated Sat, 3 Feb 2024 17:28:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 68910 <at> debbugs.gnu.org:


Received: (at 68910) by debbugs.gnu.org; 2 Mar 2024 10:13:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 02 05:13:16 2024
Received: from localhost ([127.0.0.1]:38088 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rgMMl-00063F-Tg
	for submit <at> debbugs.gnu.org; Sat, 02 Mar 2024 05:13:16 -0500
Received: from [159.226.251.81] (port=47898 helo=cstnet.cn)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zhengjunjie@HIDDEN>) id 1rgMMg-00062T-7P
 for 68910 <at> debbugs.gnu.org; Sat, 02 Mar 2024 05:13:14 -0500
Received: from m.taildaf0f.ts.net (unknown [183.247.5.134])
 by APP-03 (Coremail) with SMTP id rQCowACHj+eJ++JlPsLtAw--.15189S2;
 Sat, 02 Mar 2024 18:12:25 +0800 (CST)
From: Zheng Junjie <zhengjunjie@HIDDEN>
To: 68910 <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add wasmedge.
Date: Sat,  2 Mar 2024 18:12:04 +0800
Message-ID: <47e53db905ed88fb653243b423528b1af0e358de.1709374240.git.zhengjunjie@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Type: text/plain; charset=y
Content-Transfer-Encoding: 8bit
X-CM-TRANSID: rQCowACHj+eJ++JlPsLtAw--.15189S2
X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73
 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYh7k0a2IF6F4UM7kC6x804xWl14x267AK
 xVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGw
 A2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1I
 6r4UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r1j6r4UM28EF7xvwVC2z280aVAFwI0_Gr
 1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAS0I0E0xvYzxvE52x082IY
 62kv0487M2AExVAIFx02aVAFz4v204v7Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7
 IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4U
 M4x0Y48IcxkI7VAKI48JM4kE6I8I3I0E14AKx2xKxVC2ax8xMxAIw28IcxkI7VAKI48JMx
 C20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAF
 wI0_Jr0_Jr4lx4CE17CEb7AF67AKxVWUJVWUXwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20x
 vE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v2
 0xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxV
 WUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxU29YwUUUUU
X-Originating-IP: [183.247.5.134]
X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: * gnu/packages/web.scm (wasmedge): New variable. Change-Id:
 I62a5bbe0e228f0b743bee4d55c4948c61bbfc969 --- gnu/packages/web.scm | 64
 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+) 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
X-Debbugs-Envelope-To: 68910
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.3 (/)

* gnu/packages/web.scm (wasmedge): New variable.

Change-Id: I62a5bbe0e228f0b743bee4d55c4948c61bbfc969
---
 gnu/packages/web.scm | 64 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 9ded719e71..24947e2ee6 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2023 Felix Lechner <felix.lechner@HIDDEN>
 ;;; Copyright © 2023 Evgeny Pisemsky <evgeny@HIDDEN>
 ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
+;;; Copyright © 2024 Zheng Junjie <873216071@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -164,6 +165,7 @@ (define-module (gnu packages web)
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages libbsd)
   #:use-module (gnu packages libevent)
+  #:use-module (gnu packages libffi)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages libunistring)
   #:use-module (gnu packages libunwind)
@@ -171,6 +173,8 @@ (define-module (gnu packages web)
   #:use-module (gnu packages lisp-xyz)
   #:use-module (gnu packages lsof)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages llvm)
+  #:use-module (gnu packages logging)
   #:use-module (gnu packages mail)
   #:use-module (gnu packages man)
   #:use-module (gnu packages markup)
@@ -1782,6 +1786,66 @@ (define-public wasm-micro-runtime
 features.")
     (license license:asl2.0)))
 
+
+(define wasmedge-unittest
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/second-state/WasmEdge-unittest")
+          (commit "wasm-dev-0.13.0")))
+    (file-name
+     (git-file-name "WasmEdge-unittest" "wasm-dev-0.13.0"))
+    (sha256
+     (base32
+      "05nbwci836g0fr7p90v0p94166j7hbxhcw996xv20pywwblf73vl"))))
+
+(define-public wasmedge
+  (package
+    (name "wasmedge")
+    (version "0.13.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/WasmEdge/WasmEdge")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1l5rr0rma6n17d2khgac79azqjc9sl3r0vljjzc1aw9hhalmm895"))))
+    (build-system cmake-build-system)
+    (native-inputs (list googletest simdjson pkg-config))
+    (inputs (list llvm-17 lld-17 spdlog libffi))
+    (arguments
+     (list
+      #:configure-flags #~(list "-DWASMEDGE_BUILD_TESTS=ON")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'set-VERSION
+            (lambda _
+              (call-with-output-file "VERSION"
+                (lambda (port)
+                  (format port "~a" #$version)))))
+          (add-before 'configure 'unpack-unittest
+            (lambda _
+              (substitute* "test/spec/CMakeLists.txt"
+                (("GIT_REPOSITORY https://github.com/second-state/WasmEdge-unittest")
+                 (string-append "URL file://" #$wasmedge-unittest))
+                (("GIT_TAG.*") ""))))
+          (add-before 'configure 'disable-test
+            (lambda _
+              ;; this test require network
+              (substitute* "test/host/socket/CMakeLists.txt"
+                (("add_test\\(wasiSocketTests wasiSocketTests\\)")
+                 "")))))))
+    (home-page "https://wasmedge.org/")
+    (synopsis "High performance WebAssembly Virtual Machine")
+    (description
+     "WasmEdge is a lightweight, high-performance, and extensible
+WebAssembly runtime for cloud native, edge, and decentralized applications.
+It powers serverless apps, embedded functions, microservices, smart contracts,
+and IoT devices.")
+    (license (list license:asl2.0 license:cc0))))
+
 (define-public websocketpp
   (package
     (name "websocketpp")

base-commit: aeaa390b71a15335bef03f83bd9dc946fa535398
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#68910; Package guix-patches. Full text available.

Message received at 68910 <at> debbugs.gnu.org:


Received: (at 68910) by debbugs.gnu.org; 1 Mar 2024 14:06:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 01 09:06:05 2024
Received: from localhost ([127.0.0.1]:36339 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rg3WW-000550-3L
	for submit <at> debbugs.gnu.org; Fri, 01 Mar 2024 09:06:05 -0500
Received: from smtp81.cstnet.cn ([159.226.251.81]:33294 helo=cstnet.cn)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zhengjunjie@HIDDEN>) id 1rg3WN-00054F-3C
 for 68910 <at> debbugs.gnu.org; Fri, 01 Mar 2024 09:06:03 -0500
Received: from m.taildaf0f.ts.net (unknown [107.174.64.25])
 by APP-03 (Coremail) with SMTP id rQCowACXnOSQ4OFlv97UAw--.57914S2;
 Fri, 01 Mar 2024 22:05:09 +0800 (CST)
From: Zheng Junjie <zhengjunjie@HIDDEN>
To: 68910 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add wasmedge.
Date: Fri,  1 Mar 2024 22:04:58 +0800
Message-ID: <269d25747a9d357c48912fb73dd1197022033c76.1709301898.git.zhengjunjie@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Type: text/plain; charset=y
Content-Transfer-Encoding: 8bit
X-CM-TRANSID: rQCowACXnOSQ4OFlv97UAw--.57914S2
X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73
 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYT7k0a2IF6F4UM7kC6x804xWl14x267AK
 xVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGw
 A2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1j
 6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7xvwVC2z280aVAFwI0_Cr
 1j6rxdM28EF7xvwVC2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv
 0487M2AExVAIFx02aVAFz4v204v7Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2
 IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0
 Y48IcxkI7VAKI48JM4kE6I8I3I0E14AKx2xKxVC2ax8xMxAIw28IcxkI7VAKI48JMxC20s
 026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_
 Jr0_Jr4lx4CE17CEb7AF67AKxVWUJVWUXwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14
 v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xva
 j40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJV
 W8JbIYCTnIWIevJa73UjIFyTuYvjxU2_HUDUUUU
X-Originating-IP: [107.174.64.25]
X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 68910
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 (-)

* gnu/packages/web.scm (wasmedge): New variable.

Change-Id: I62a5bbe0e228f0b743bee4d55c4948c61bbfc969
---
 gnu/packages/web.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 9ded719e71..fae562d3e8 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2023 Felix Lechner <felix.lechner@HIDDEN>
 ;;; Copyright © 2023 Evgeny Pisemsky <evgeny@HIDDEN>
 ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
+;;; Copyright © 2024 Zheng Junjie <873216071@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -171,6 +172,8 @@ (define-module (gnu packages web)
   #:use-module (gnu packages lisp-xyz)
   #:use-module (gnu packages lsof)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages llvm)
+  #:use-module (gnu packages logging)
   #:use-module (gnu packages mail)
   #:use-module (gnu packages man)
   #:use-module (gnu packages markup)
@@ -1782,6 +1785,61 @@ (define-public wasm-micro-runtime
 features.")
     (license license:asl2.0)))
 
+
+(define wasmedge-unittest
+  (origin
+    (method git-fetch)
+    (uri (git-reference
+          (url "https://github.com/second-state/WasmEdge-unittest")
+          (commit "wasm-dev-0.13.0")))
+    (file-name
+     (git-file-name "WasmEdge-unittest" "wasm-dev-0.13.0"))
+    (sha256
+     (base32
+      "05nbwci836g0fr7p90v0p94166j7hbxhcw996xv20pywwblf73vl"))))
+
+(define-public wasmedge
+  (package
+    (name "wasmedge")
+    (version "0.13.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/WasmEdge/WasmEdge")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1l5rr0rma6n17d2khgac79azqjc9sl3r0vljjzc1aw9hhalmm895"))))
+    (build-system cmake-build-system)
+    (native-inputs (list googletest simdjson))
+    (inputs (list llvm-17 lld-17 spdlog))
+    (arguments
+     (list
+      #:configure-flags #~(list "-DWASMEDGE_BUILD_TESTS=ON")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'configure 'unpack-unittest
+            (lambda _
+              (substitute* "test/spec/CMakeLists.txt"
+                (("GIT_REPOSITORY https://github.com/second-state/WasmEdge-unittest")
+                 (string-append "URL file://" #$wasmedge-unittest))
+                (("GIT_TAG.*") ""))))
+          (add-before 'configure 'disable-test
+            (lambda _
+              ;; this test require network
+              (substitute* "test/host/socket/CMakeLists.txt"
+                (("add_test\\(wasiSocketTests wasiSocketTests\\)")
+                 "")))))))
+    (home-page "https://wasmedge.org/")
+    (synopsis "High performance WebAssembly Virtual Machine")
+    (description
+     "WasmEdge is a lightweight, high-performance, and extensible
+WebAssembly runtime for cloud native, edge, and decentralized applications.
+It powers serverless apps, embedded functions, microservices, smart contracts,
+and IoT devices.")
+    (license (list license:asl2.0 license:cc0))))
+
 (define-public websocketpp
   (package
     (name "websocketpp")

base-commit: aeaa390b71a15335bef03f83bd9dc946fa535398
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#68910; Package guix-patches. Full text available.
Added tag(s) moreinfo. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 68910 <at> debbugs.gnu.org:


Received: (at 68910) by debbugs.gnu.org; 19 Feb 2024 19:50:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 19 14:50:00 2024
Received: from localhost ([127.0.0.1]:43465 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rc9eJ-0008F8-Ud
	for submit <at> debbugs.gnu.org; Mon, 19 Feb 2024 14:50:00 -0500
Received: from mail-lf1-f49.google.com ([209.85.167.49]:47503)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sharlatanus@HIDDEN>) id 1rc9eI-0008El-1B
 for 68910 <at> debbugs.gnu.org; Mon, 19 Feb 2024 14:49:58 -0500
Received: by mail-lf1-f49.google.com with SMTP id
 2adb3069b0e04-51181d8f52fso6162904e87.3
 for <68910 <at> debbugs.gnu.org>; Mon, 19 Feb 2024 11:49:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1708372111; x=1708976911; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :from:to:cc:subject:date:message-id:reply-to;
 bh=igKJ0JhQ2tKW+y4qlWZHjxFqea9K8X9uHRtZ/gKClU0=;
 b=W9z+qLWo10lapc6NHN2XX2ZZlkd/6eCYkzew9kn3rIkuIRMSley+4JWOLltF1rRcGZ
 nYmvHKZHTP06RrAaks8fr86kLZdIUJjkxtcy1fiomKwa0FIFsO1rWGrjRxCuBk8ticmH
 vjemN/Pr5SatWtatTPCfRZ1kzuv2zD1UND3Im2b2mwPh3uqoMCqIGfSBKJ1xbgz1k/sA
 si3dsgLbc928vYhAVKTt5WOEs9l294eRjPT0i1goBw3CDPP/0Pl19NqrCoM3IEiC+YGI
 uWpJ0nhY1KNitIPSmHcgTk0qM6xqdf1s7qfia18k/qRrTLzUS+qlr00qeKGQMylXVMfQ
 k2qA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1708372111; x=1708976911;
 h=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=igKJ0JhQ2tKW+y4qlWZHjxFqea9K8X9uHRtZ/gKClU0=;
 b=C8aAm9+VshfwOEY72J+2xIVFaA7KMKvv8wKpZPupx4rHJpvNygxRx/zX+TOWVyVCAe
 toXWOo6e7cW2Cx5BT9iFHn69yod4ayaOuyMSl6sdX1R7qPUJbU3Q4XLMOdMoGN3OcF4p
 Axr8KdcmWNVOOU3r+CA6U2zYg2w83bY927aquAvl4NE1JGDsm7krLNB88q6JFpZ8AI3b
 Zgbjspg41r1iZG5sn/mugtvvpYZX9siXSUldUUWk+Udk1FldnZ/btYfM7epk3EAMNfvn
 Qz88KW1JG4Lo0AWQmkOMoKrX5Yb43nlk0/LIRzv8G5qu8Ebt741WmIEUCoBvblC3LvBr
 8IGw==
X-Gm-Message-State: AOJu0YwPM5tAU7WiXoMt6Kuzm+k/SFJE1Dm6Ysi2kdqgHWfJ0uIpPuqu
 ClAGM7AjImmaQn2JzoZv3X1zH/oURuovszlha2B0JLQDXOkOIp31oQ50U0iZqcMZ+s2xzmYPWGN
 cZe8aiG3IHJeESX9xqOELnCRgp2oY9vPS7ATWcw==
X-Google-Smtp-Source: AGHT+IG7M+0/2Bi8H4/MK6Pkgq4Lq2aGm+FYubCWEqn401qiZoWA//jSEYrgMxTXHWSUWTNjbgiKqT44P+0ZsBHzi4w=
X-Received: by 2002:ac2:43ad:0:b0:511:4253:3a8b with SMTP id
 t13-20020ac243ad000000b0051142533a8bmr7559166lfl.42.1708372110717; Mon, 19
 Feb 2024 11:48:30 -0800 (PST)
MIME-Version: 1.0
References: <CAO+9K5rw1G=hhnUH7sGyV6pofy-nqnepVWOPWMrTJnTvFU=xGw@HIDDEN>
In-Reply-To: <CAO+9K5rw1G=hhnUH7sGyV6pofy-nqnepVWOPWMrTJnTvFU=xGw@HIDDEN>
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
Date: Mon, 19 Feb 2024 19:48:19 +0000
Message-ID: <CAO+9K5r0mSFdaoL2Dv+4HyhawnK8VanEEe7qSYMoLbSs2DhCxw@HIDDEN>
Subject: Re: [PATCH] gnu: Add wasmedge.
To: 68910 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="000000000000cdb9e40611c160f0"
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 68910
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.9 (--)

--000000000000cdb9e40611c160f0
Content-Type: text/plain; charset="UTF-8"

There is some documentation on how to build/run tests
https://wasmedge.org/docs/contribute/source/build_from_src#run-tests

--000000000000cdb9e40611c160f0
Content-Type: text/html; charset="UTF-8"

<div dir="auto">There is some documentation on how to build/run tests<div dir="auto"><a href="https://wasmedge.org/docs/contribute/source/build_from_src#run-tests">https://wasmedge.org/docs/contribute/source/build_from_src#run-tests</a><br></div></div>

--000000000000cdb9e40611c160f0--




Information forwarded to guix-patches@HIDDEN:
bug#68910; Package guix-patches. Full text available.

Message received at 68910 <at> debbugs.gnu.org:


Received: (at 68910) by debbugs.gnu.org; 19 Feb 2024 19:46:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 19 14:46:08 2024
Received: from localhost ([127.0.0.1]:43453 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rc9aa-00083T-9B
	for submit <at> debbugs.gnu.org; Mon, 19 Feb 2024 14:46:08 -0500
Received: from mail-lf1-f46.google.com ([209.85.167.46]:56489)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sharlatanus@HIDDEN>) id 1rc9aX-00082y-RU
 for 68910 <at> debbugs.gnu.org; Mon, 19 Feb 2024 14:46:06 -0500
Received: by mail-lf1-f46.google.com with SMTP id
 2adb3069b0e04-512bc0e8ce1so1247591e87.0
 for <68910 <at> debbugs.gnu.org>; Mon, 19 Feb 2024 11:45:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1708371878; x=1708976678; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=nykaAKdMODw87kxf2QiDpjeGXu17kUCg3wOcULxbCoo=;
 b=dRON/3hi9t8lcybD4Rw9bPGnfP2+T1sBYjbOX+z4HLgzb03K0UCVX/GZfZRf2BytA7
 VQwLSm0dNYzTr7V0DG+13Esv1aM7T9/WrZnYi+B5Mxi/u3Gn7bIfDTanuomn92bLVMwN
 IqeMToGsv5Yc7qja/ktKN/pBJir3WzdaRvwVaiBj0Bsgu3p71TEXkuq08AL1eVV+QmIR
 S4fUB3XXyobRtIWAx+zQzbKCLMFAX1krEzu8OfbT+eeUeLdMGTZN/5yK9cC5+HjPZELx
 Q8fJtmtLvpkXPs2gYf0xrBWZ9qTsuL3YPzsvVD+CEszy8bSdBcjkr82OzcYXnumsQhMo
 ggmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1708371878; x=1708976678;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=nykaAKdMODw87kxf2QiDpjeGXu17kUCg3wOcULxbCoo=;
 b=XBORcUxphSgCYR1F1YVC8jcRtKcuUTKjp2ehGonM14Gy0r5dWXHnXIyUEOrCZNT8u5
 eQqSiRc1DRzH6YgY6zxKAbwmJTYiY6rBWozVnows8EsKedKQjFbqmzr9/kwxb1tm2yYo
 jHN0cxqcX8JaKLmO4JaulLfo1nC/tGo/+6s/+soCzMV+XFWOhxGz0NhPRWZDUSA03jj6
 yqfvslAtw+rUSTPZ7uYVNosM+VFr0Gow8cajyI4/YR9xni8z401yvYW+ZPQ1Dd6ozBQl
 EelhfDzainzAhKwRwL/4xoPa5GWWuyyAal+HHpGrMCgcb9j9VQs2MCPUofNHzcbSqtrM
 IB0A==
X-Gm-Message-State: AOJu0YxFi4SgzsCtXeRzfn/IXhI62yN8NdoVYRFtzfSOslC1MDk92qTI
 K0eoPV6Y+Cak4FABiERQ2VcJ4rfmsDVmlWULv8+9Rx4A7laPxaQgPWe0hMTGTxrjO0ZvJCKTviO
 CyI4sgOy8u0LBtd3KsuYk9fUjcBPf1IqWZF1r2w==
X-Google-Smtp-Source: AGHT+IEo4uCZuaez8/bU8MJBCwQF82tDNyV5E9xSvvWRIae/DVLZ6rYm1hj7Bhr+BEJKISOfa+jlyHR06nsZvqgLzB0=
X-Received: by 2002:a05:6512:21e:b0:512:ada2:190e with SMTP id
 a30-20020a056512021e00b00512ada2190emr3268868lfo.15.1708371878307; Mon, 19
 Feb 2024 11:44:38 -0800 (PST)
MIME-Version: 1.0
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
Date: Mon, 19 Feb 2024 19:44:27 +0000
Message-ID: <CAO+9K5rw1G=hhnUH7sGyV6pofy-nqnepVWOPWMrTJnTvFU=xGw@HIDDEN>
Subject: [PATCH] gnu: Add wasmedge.
To: 68910 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="000000000000f36c3e0611c152ba"
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 68910
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.9 (--)

--000000000000f36c3e0611c152ba
Content-Type: text/plain; charset="UTF-8"

Hi,

Thank you for the patch.

QA is green.

May you provide more info if you try to enable tests and which
 issues you could not resolve?

Thanks,
Oleg

--000000000000f36c3e0611c152ba
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hi,<div dir=3D"auto"><br></div><div dir=3D"auto">Thank yo=
u for the patch.</div><div dir=3D"auto"><br></div><div dir=3D"auto">QA is g=
reen.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">May you prov=
ide more info if you try to enable tests and which</div><div dir=3D"auto">=
=C2=A0issues you could not resolve?</div><div dir=3D"auto"><br></div><div d=
ir=3D"auto">Thanks,</div><div dir=3D"auto">Oleg</div></div>

--000000000000f36c3e0611c152ba--




Information forwarded to guix-patches@HIDDEN:
bug#68910; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Feb 2024 17:27:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 03 12:27:44 2024
Received: from localhost ([127.0.0.1]:46943 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rWJns-0006A3-82
	for submit <at> debbugs.gnu.org; Sat, 03 Feb 2024 12:27:44 -0500
Received: from lists.gnu.org ([2001:470:142::17]:54960)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zhengjunjie@HIDDEN>) id 1rWJnp-00069p-W1
 for submit <at> debbugs.gnu.org; Sat, 03 Feb 2024 12:27:42 -0500
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 <zhengjunjie@HIDDEN>)
 id 1rWJnY-0001sn-Lb
 for guix-patches@HIDDEN; Sat, 03 Feb 2024 12:27:24 -0500
Received: from smtp84.cstnet.cn ([159.226.251.84] helo=cstnet.cn)
 by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256)
 (Exim 4.90_1) (envelope-from <zhengjunjie@HIDDEN>)
 id 1rWJnV-00051K-Rm
 for guix-patches@HIDDEN; Sat, 03 Feb 2024 12:27:24 -0500
Received: from localhost.localdomain (unknown [183.247.5.137])
 by APP-05 (Coremail) with SMTP id zQCowAD3F6lnd75lF2XLAA--.1302S2;
 Sun, 04 Feb 2024 01:27:04 +0800 (CST)
From: Zheng Junjie <zhengjunjie@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add wasmedge.
Date: Sun,  4 Feb 2024 01:26:41 +0800
Message-ID: <b9abfd65f5c4f23adfc4bc48fe006de523525fd3.1706981201.git.zhengjunjie@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Type: text/plain; charset=y
Content-Transfer-Encoding: 8bit
X-CM-TRANSID: zQCowAD3F6lnd75lF2XLAA--.1302S2
X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73
 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY-7k0a2IF6F4UM7kC6x804xWl14x267AK
 xVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGw
 A2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1j
 6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r1j6r4UM28EF7xvwVC2z280aVAFwI0_Jr
 0_Gr1l84ACjcxK6I8E87Iv6xkF7I0E14v26r1j6r4UM2AIxVAIcxkEcVAq07x20xvEncxI
 r21le4C262xC7I0v67AEwI8IwI1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20x
 vE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xv
 r2IYc2Ij64vIr41lw4CEx2IqxVAFz4v204v26I0v724l42xK82IYc2Ij64vIr41l4I8I3I
 0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWU
 JVWUGwC2zVAF1VAY17CE14v26r1j6r15MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI
 0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0
 rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r1j6r
 4UYxBIdaVFxhVjvjDU0xZFpf9x07jeXdbUUUUU=
X-Originating-IP: [183.247.5.137]
X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/
Received-SPF: pass client-ip=159.226.251.84;
 envelope-from=zhengjunjie@HIDDEN; helo=cstnet.cn
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
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.1 (/)

* gnu/packages/web.scm (wasmedge): New variable.

Change-Id: I62a5bbe0e228f0b743bee4d55c4948c61bbfc969
---
 gnu/packages/web.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 1a97dd8dec..194b7ac02a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2023 Felix Lechner <felix.lechner@HIDDEN>
 ;;; Copyright © 2023 Evgeny Pisemsky <evgeny@HIDDEN>
 ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
+;;; Copyright © 2024 Zheng Junjie <873216071@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -165,6 +166,8 @@ (define-module (gnu packages web)
   #:use-module (gnu packages lisp-xyz)
   #:use-module (gnu packages lsof)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages llvm)
+  #:use-module (gnu packages logging)
   #:use-module (gnu packages mail)
   #:use-module (gnu packages man)
   #:use-module (gnu packages markup)
@@ -1774,6 +1777,37 @@ (define-public wasm-micro-runtime
 features.")
     (license license:asl2.0)))
 
+
+(define-public wasmedge
+  (package
+    (name "wasmedge")
+    (version "0.13.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/WasmEdge/WasmEdge")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1l5rr0rma6n17d2khgac79azqjc9sl3r0vljjzc1aw9hhalmm895"))))
+    (build-system cmake-build-system)
+    (native-inputs (list googletest))
+    (inputs (list llvm-17 lld-17 spdlog))
+    (arguments
+     (list
+      ;; TODO: enable test
+      ;; #:configure-flags #~(list "-DWASMEDGE_BUILD_TESTS=ON")
+      #:tests? #f))
+    (home-page "https://wasmedge.org/")
+    (synopsis "High performance WebAssembly Virtual Machine")
+    (description
+     "WasmEdge is a lightweight, high-performance, and extensible
+WebAssembly runtime for cloud native, edge, and decentralized applications.
+It powers serverless apps, embedded functions, microservices, smart contracts,
+and IoT devices.")
+    (license (list license:asl2.0 license:cc0))))
+
 (define-public websocketpp
   (package
     (name "websocketpp")

base-commit: 179bb57d2532ee6b81791e078b0f782cbf88cb84
-- 
2.41.0





Acknowledgement sent to Zheng Junjie <zhengjunjie@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#68910; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 2 Mar 2024 10:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.