Commit Graph

43 Commits

Author SHA1 Message Date
Sergei Trofimovich
c56c679c36 binaryen: fix the build
Current `binaryen` fails to build against `gcc-12` as: https://hydra.nixos.org/build/245455591

    [100%] Linking CXX executable ../../bin/binaryen-unittests
    ld: /nix/store/...-gtest-1.12.1/lib/libgtest.so: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32'
    collect2: error: ld returned 1 exit status

It is a typical mix of libraries built with `gcc-12` and bianries linked
with `gcc-12`'s `libstdc++`.

The change switches back to a default compiler and backports an upstream
`fmin` fix to amend the test.
2024-01-02 12:00:36 +00:00
Martin Weinelt
e8dd1cf066 Merge remote-tracking branch 'origin/staging-next' into staging 2023-12-12 14:13:07 +01:00
K900
14655c8d9a binaryen: fix build with Node 20 2023-12-11 14:08:45 +03:00
Alyssa Ross
f431d7ddab binaryen: backport fix for nodejs 20
Link: https://github.com/NixOS/nixpkgs/pull/271494#issuecomment-1836920695
Fixes: c4b3cc031e ("nodejs: default to nodejs_20")
2023-12-07 10:57:10 +01:00
Will Cohen
8793a0b570 binaryen: 114 -> 116 2023-10-10 12:39:31 -04:00
R. Ryantm
432be1a032 binaryen: 113 -> 114 2023-07-05 19:17:31 +00:00
Will Cohen
1850284e03 binaryen: 112 -> 113 2023-06-18 19:35:46 -04:00
Mario Rodas
f548a59a5f binaryen: 111 -> 112 2023-03-10 04:20:00 +00:00
Ryan Lahfa
319b8a2459
Merge pull request #209122 from willcohen/binaryen
binaryen: 109 -> 111
2023-01-22 23:33:33 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Will Cohen
875a3567e0 binaryen: 109 -> 111 2023-01-17 13:42:36 -05:00
Dave Syer
d2ffb55511 binaryen: add patch from upstream for newer nodejs 2022-08-25 07:26:31 +00:00
Will Cohen
0956fc22d8 binaryen: backport patch for wasm2js 2022-06-24 15:02:39 -04:00
Will Cohen
995b0ffd9c binaryen: 108 -> 109 2022-06-23 11:14:54 -04:00
Yorick van Pelt
d531cd40af binaryen: run tests 2022-06-23 11:14:21 -04:00
Yorick van Pelt
b50add8f56 binaryen: 105 -> 108 2022-06-22 20:06:34 -04:00
Faye Duxovni
7b1e56acf0
binaryen: 102 -> 105; emscripten: 3.0.0 -> 3.1.10 (#172741)
* binaryen: 102 -> 105

* emscripten: 3.0.0 -> 3.1.10

* Backport emscripten-core/emscripten#16986 to fix emscriptenPackages.libxml2 build

* Fix patch url/hash

Co-authored-by: Will Cohen <willcohen@users.noreply.github.com>

Co-authored-by: Will Cohen <willcohen@users.noreply.github.com>
2022-06-17 13:45:29 +02:00
R. Ryantm
26cf8bddff binaryen: 101 -> 102 2021-10-29 03:20:50 +00:00
R. RyanTM
d6869f3236 binaryen: 99 -> 101 2021-08-20 23:07:43 +02:00
Troels Henriksen
a9d3d2f349 emscripten: 2.0.1 -> 2.0.10
binaryen: 96 -> 99

These updates must be in the same commit because emscripten depends on
a specific version of binaryen.
2021-07-20 09:59:13 +02:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Gabriel Ebner
93fda1f69d binaryen: 95 -> 96 2020-08-29 11:27:35 +02:00
Gabriel Ebner
7c6ef8b5cd binaryen: simplify build 2020-08-28 20:46:47 +02:00
R. RyanTM
25b0b0529f binaryen: 94 -> 95 2020-07-23 22:26:44 +00:00
R. RyanTM
95f56eddce binaryen: 93 -> 94 2020-06-14 09:34:50 +00:00
R. RyanTM
2869edcb51 binaryen: 91 -> 93 2020-05-02 02:50:12 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Maximilian Bosch
386a50f729
binaryen: 89 -> 91, emscripten: 1.38.28 -> 1.39.1 2020-03-14 02:37:37 +01:00
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Frederik Rietdijk
f65aa21bb2 Merge master into staging-next 2019-08-18 12:53:44 +02:00
R. RyanTM
808d485c43 binaryen: 88 -> 89
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/binaryen/versions
2019-08-17 12:38:38 -07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
2170380abb binaryen: 86 -> 88
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/binaryen/versions
2019-08-03 15:48:34 -07:00
R. RyanTM
980dd75956 binaryen: 84 -> 86
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/binaryen/versions
2019-07-15 00:32:59 -07:00
R. RyanTM
39a33d6b56 binaryen: 83 -> 84
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/binaryen/versions
2019-06-01 00:25:14 -07:00
R. RyanTM
e6562085f9 binaryen: 45 -> 83
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/binaryen/versions
2019-04-30 04:02:08 -07:00
Tom Smeets
5ef3645a69 emscripten: 1.37.36 -> 1.38.28 2019-02-25 13:13:55 +01:00
R. RyanTM
942edf52a0 binaryen: 44 -> 45
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/binaryen/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-shell -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-shell --help` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-opt -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-opt --help` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-merge -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-merge --help` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-metadce -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-metadce --help` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/asm2wasm -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/asm2wasm --help` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm2asm -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm2asm --help` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/s2wasm -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/s2wasm --help` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-emscripten-finalize -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-emscripten-finalize --help` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-as -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-as --help` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-dis -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-dis --help` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-ctor-eval -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-ctor-eval --help` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-reduce -h` got 0 exit code
- ran `/nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45/bin/wasm-reduce --help` got 0 exit code
- found 45 with grep in /nix/store/vqjm60x3syaf55njww7a4g4dq7r0x6qy-binaryen-45
- directory tree listing: https://gist.github.com/d46c9206b6d0b68c0f9dcc3bf83b6540
2018-03-31 18:35:15 -07:00
Alastair Pharo
497e50cf16 emscripten: use matching binaryen version (#37427)
This changes the emscripten package so that it specifies the rev from
the binaryen repo to use, and sets it to always use the version that has
been tagged for use with that version of emscripten.  This should force
future updates of emscripten to also update binaryen.

Binaryen can also be installed as a stand-alone package, so there's some
logic added to the binaryen package to allow building in both ways, and
distinguishing between them.
2018-03-20 15:45:19 +01:00
Ryan Mulligan
2bb8c17e55 binaryen: 42 -> 44
Semi-automatic update. These checks were done:

- built on NixOS
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-shell -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-shell --help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-shell help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-opt -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-opt --help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-merge -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-merge --help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-metadce -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-metadce --help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/asm2wasm -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/asm2wasm --help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm2asm -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm2asm --help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/s2wasm -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/s2wasm --help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/s2wasm help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-emscripten-finalize -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-emscripten-finalize --help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-as -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-as --help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-dis -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-dis --help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-ctor-eval -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-ctor-eval --help` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-reduce -h` got 0 exit code
- ran `/nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44/bin/wasm-reduce --help` got 0 exit code
- found 44 with grep in /nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44
- found 44 in filename of file in /nix/store/1vkah592g2qsd97hnx0g9w7sgayf8zwv-binaryen-44
2018-03-07 19:01:36 -08:00
Ryan Mulligan
636968b3ec binaryen: 33 -> 42 2018-02-05 20:50:02 -08:00
Gabriel Ebner
b9fd51afcd binaryen: 32 -> 33 2017-06-05 15:28:14 +02:00
Alastair Pharo
a8c48bb68b binaryen: add package 2017-06-04 13:49:46 +10:00