unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53730] Add binaryen
@ 2022-02-02 17:08 WinterHound
  2022-02-02 19:21 ` Maxime Devos
  2022-03-15  6:32 ` [bug#53730] [PATCH] Replaced with Guix packages WinterHound
  0 siblings, 2 replies; 4+ messages in thread
From: WinterHound @ 2022-02-02 17:08 UTC (permalink / raw)
  To: 53730; +Cc: WinterHound

---
 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#53730] Add binaryen
  2022-02-02 17:08 [bug#53730] Add binaryen WinterHound
@ 2022-02-02 19:21 ` Maxime Devos
  2022-03-06 21:38   ` Ludovic Courtès
  2022-03-15  6:32 ` [bug#53730] [PATCH] Replaced with Guix packages WinterHound
  1 sibling, 1 reply; 4+ messages in thread
From: Maxime Devos @ 2022-02-02 19:21 UTC (permalink / raw)
  To: WinterHound, 53730

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#53730] Add binaryen
  2022-02-02 19:21 ` Maxime Devos
@ 2022-03-06 21:38   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2022-03-06 21:38 UTC (permalink / raw)
  To: WinterHound; +Cc: 53730, Maxime Devos

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@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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#53730] [PATCH] Replaced with Guix packages
  2022-02-02 17:08 [bug#53730] Add binaryen WinterHound
  2022-02-02 19:21 ` Maxime Devos
@ 2022-03-15  6:32 ` WinterHound
  1 sibling, 0 replies; 4+ messages in thread
From: WinterHound @ 2022-03-15  6:32 UTC (permalink / raw)
  To: 53730; +Cc: WinterHound

---
 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-15  6:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-02 17:08 [bug#53730] Add binaryen WinterHound
2022-02-02 19:21 ` Maxime Devos
2022-03-06 21:38   ` Ludovic Courtès
2022-03-15  6:32 ` [bug#53730] [PATCH] Replaced with Guix packages WinterHound

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).