GNU bug report logs - #53730
Add binaryen

Previous Next

Package: guix-patches;

Reported by: WinterHound <winterhound <at> yandex.com>

Date: Wed, 2 Feb 2022 17:09:01 UTC

Severity: normal

To reply to this bug, email your comments to 53730 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#53730; Package guix-patches. (Wed, 02 Feb 2022 17:09:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to WinterHound <winterhound <at> yandex.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 02 Feb 2022 17:09:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: WinterHound <winterhound <at> yandex.com>
To: guix-patches <at> gnu.org
Cc: WinterHound <winterhound <at> yandex.com>
Subject: Add binaryen
Date: Wed,  2 Feb 2022 22:38:14 +0530
---
 gnu/packages/web.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 7911378f29..54da8e0b97 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1489,6 +1489,28 @@ (define-public wabt
 other systems that want to manipulate WebAssembly files.")
     (license license:asl2.0)))
 
+(define-public binaryen
+  (package
+    (name "binaryen")
+    (version "105")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/WebAssembly/binaryen")
+             (commit (string-append "version_" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0yg9rarjv1gfbq225cj9hnbgx99n5az2m19qwfp8z41dwhh71igm"))))
+    (build-system cmake-build-system)
+    (home-page "https://github.com/WebAssembly/binaryen")
+    (synopsis "Compiler infrastructure and toolchain library for WebAssembly")
+    (description "Binaryen is a compiler and toolchain infrastructure
+library for WebAssembly, written in C++.  It aims to make compiling to
+WebAssembly easy, fast, and effective")
+    (license license:asl2.0)))
+
 (define-public websocketpp
   (package
     (name "websocketpp")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#53730; Package guix-patches. (Wed, 02 Feb 2022 19:22:02 GMT) Full text and rfc822 format available.

Message #8 received at 53730 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: WinterHound <winterhound <at> yandex.com>, 53730 <at> debbugs.gnu.org
Subject: Re: [bug#53730] Add binaryen
Date: Wed, 02 Feb 2022 20:21:27 +0100
[Message part 1 (text/plain, inline)]
WinterHound schreef op wo 02-02-2022 om 22:38 [+0530]:
> +(define-public binaryen
> +  (package
> +    (name "binaryen")
> +    (version "105")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/WebAssembly/binaryen")
> +             (commit (string-append "version_" version))
> +             (recursive? #t)))

There's some bundling in third_party (googletest, parts of llvm and
mozjs).  IIRC this software is already in Guix, so can we use the
version from Guix instead?

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#53730; Package guix-patches. (Sun, 06 Mar 2022 21:39:02 GMT) Full text and rfc822 format available.

Message #11 received at 53730 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: WinterHound <winterhound <at> yandex.com>
Cc: 53730 <at> debbugs.gnu.org, Maxime Devos <maximedevos <at> telenet.be>
Subject: Re: bug#53730: Add binaryen
Date: Sun, 06 Mar 2022 22:38:27 +0100
Hi WinterHound,

Did you have a chance to look into Maxime’s suggestion?

  https://issues.guix.gnu.org/53730

Thanks in advance,
Ludo’.

Maxime Devos <maximedevos <at> telenet.be> skribis:

> WinterHound schreef op wo 02-02-2022 om 22:38 [+0530]:
>> +(define-public binaryen
>> +  (package
>> +    (name "binaryen")
>> +    (version "105")
>> +    (source
>> +     (origin
>> +       (method git-fetch)
>> +       (uri (git-reference
>> +             (url "https://github.com/WebAssembly/binaryen")
>> +             (commit (string-append "version_" version))
>> +             (recursive? #t)))
>
> There's some bundling in third_party (googletest, parts of llvm and
> mozjs).  IIRC this software is already in Guix, so can we use the
> version from Guix instead?
>
> Greetings,
> Maxime.




Information forwarded to guix-patches <at> gnu.org:
bug#53730; Package guix-patches. (Tue, 15 Mar 2022 06:36:01 GMT) Full text and rfc822 format available.

Message #14 received at 53730 <at> debbugs.gnu.org (full text, mbox):

From: WinterHound <winterhound <at> yandex.com>
To: 53730 <at> debbugs.gnu.org
Cc: WinterHound <winterhound <at> yandex.com>
Subject: [PATCH] Replaced with Guix packages
Date: Tue, 15 Mar 2022 12:02:58 +0530
---
 gnu/packages/web.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 54da8e0b97..0642db78c7 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1498,12 +1498,13 @@ (define-public binaryen
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/WebAssembly/binaryen")
-             (commit (string-append "version_" version))
-             (recursive? #t)))
+             (commit (string-append "version_" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32 "0yg9rarjv1gfbq225cj9hnbgx99n5az2m19qwfp8z41dwhh71igm"))))
     (build-system cmake-build-system)
+    (native-inputs (list googletest))
+    (inputs (list mozjs wabt llvm))
     (home-page "https://github.com/WebAssembly/binaryen")
     (synopsis "Compiler infrastructure and toolchain library for WebAssembly")
     (description "Binaryen is a compiler and toolchain infrastructure
-- 
2.34.0





This bug report was last modified 3 years and 90 days ago.

Previous Next


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