Commit Graph

63 Commits

Author SHA1 Message Date
Will Cohen
6a3c46ee38 emscripten: add willcohen to maintainers 2023-12-11 10:54:31 -05:00
Ryan Lahfa
610a958b03
Merge pull request #263625 from sgrb/emscripten-fix 2023-12-10 19:53:32 +01:00
Slava Gorbunov
bad03d8cb8 Disable global cache for emscripten 2023-10-26 16:10:52 +03:00
Will Cohen
7f262b6859 emscripten: ensure node_modules are available
If not set, attempts to use emscripten fails when acorn is missing as a
dependency. These, from emscripten-node-modules, need to be available at
runtime.
2023-10-10 16:49:50 -04:00
Will Cohen
9d12e6771c emscripten: 3.1.45 -> 3.1.47 2023-10-10 13:16:50 -04:00
Raito Bezarius
d9e42ac41b emscripten: 3.1.42 -> 3.1.45
https://github.com/emscripten-core/emscripten/releases/tag/3.1.43
https://github.com/emscripten-core/emscripten/releases/tag/3.1.44
https://github.com/emscripten-core/emscripten/releases/tag/3.1.45
2023-08-26 12:47:33 +02:00
Will Cohen
d38e097449
emscripten: 3.1.41 -> 3.1.42 (#240227) 2023-06-28 21:40:17 +02:00
Will Cohen
0761348e91 emscripten: 3.1.24 -> 3.1.41 2023-06-18 19:35:46 -04:00
Will Cohen
275bb9b544 emscripten: backport support for binaryen 111 2023-01-17 13:43:46 -05:00
Raito Bezarius
6eaebaf95a emscripten: add raitobezarius as maintainer 2023-01-12 12:32:58 -05:00
Raito Bezarius
ecac00124e emscripten: 3.1.17 -> 3.1.24 2023-01-12 12:32:50 -05:00
sternenseemann
12af3ee5c5 emscripten: fake cc-wrapper-esque passthru attrs for GHC
For the GHC JavaScript backend, we'll use emscripten in place of
targetCC. To avoid having too much special logic for this, we'll make
the emscripten derivation look like the result of wrapCC as far as GHC
is concerned, i.e. we need targetPrefix and bintools.

For bintools, we'll just reexpose emscripten, as it has emar, the only
relevant bintools. That the other ones are missing doesn't matter in
practice, as the GHC build system won't attempt to use them.

targetPrefix can immediately be (ab)used to make sure GHC will correctly
call emcc etc. instead of plain cc.
2023-01-03 22:45:05 +01:00
Will Cohen
3a46b467ac emscripten: 3.1.15 -> 3.1.17 2022-07-26 09:30:36 -04:00
Will Cohen
c877fee9ae emscripten: 3.1.14 -> 3.1.15 2022-07-13 09:09:26 -04:00
Will Cohen
4df8e6fc95 emscripten: 3.1.12 -> 3.1.14 2022-06-23 11:14:54 -04:00
Yorick van Pelt
397e8cceca emscripten: 3.1.10 -> 3.1.12 2022-06-22 20:06:35 -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
52b52c1abd emscripten: 2.0.27 -> 3.0.0 2021-12-06 17:03:44 +00:00
Yureka
691464d120 emscripten: 2.0.10 -> 2.0.27 2021-08-21 10:10:03 +02:00
Robert Hensing
a201246bac treewide: runCommandNoCC -> runCommand in generated code
This has been synonymous for ~5y.

Note that many of these runCommand bindings are unused, but that's
ok for generated code.
2021-08-15 17:36:41 +02:00
Yureka
800ba0d58b emscripten: generate libembind*.a
Previously building applications/libraries with "--bind" would not be
covered by the cache.
2021-08-03 20:23:29 +02:00
Yureka
7e2a1bb7dd emscripten: build multi-threaded libc 2021-08-03 18:02:37 +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
ad33043403 emscripten: precompile libraries for wasm2c 2020-08-29 14:14:57 +02:00
Gabriel Ebner
fc0f11e3d5 emscripten: make emconfigure use wrapped binaries 2020-08-29 13:28:02 +02:00
Gabriel Ebner
bc9760b842 emscripten: precompile libc, etc. 2020-08-29 13:02:55 +02:00
Gabriel Ebner
3f30e70d29 emscripten: fix node modules 2020-08-29 11:35:11 +02:00
Gabriel Ebner
beb0339ce5 emscripten: 2.0.0 -> 2.0.1 2020-08-29 11:27:42 +02:00
Gabriel Ebner
48dc384a3c emscripten: add node dependencies for acorn-optimizer 2020-08-29 11:04:30 +02:00
Gabriel Ebner
2d39da2084 emscripten: 1.39.1 -> 2.0.0 2020-08-28 20:20:35 +02:00
John Ericson
92f96f47b0 treewide: Get rid of cc.gcc
Instead, we have a new `gccForLibs`, which has the appropriate
definition for e.g. avoiding `x86_32` linking problems.
2020-08-02 17:12:05 +00:00
John Ericson
e00d4d6021 emscripten: Don't always clain to have a GCC 2020-06-22 00:17:03 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Tom Smeets
5ef3645a69 emscripten: 1.37.36 -> 1.38.28 2019-02-25 13:13:55 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matthew Bauer
02297beade treewide: add version to packages
Lots of packages are missing versions in their name. This adds them
where appropriate. These were found with this command:

 $ nix-env -qa -f. | grep -v '\-[0-9A-Za-z.-_+]*$' | grep -v '^hook$'

See issue #41007.
2018-05-25 15:48:05 -05:00
Matthew Bauer
1592e03aba treewide: rename bad filenames
Most of these can easily be moved to subdirectories of other
directories. This helps reduce clutter in the main trees.
2018-04-17 15:42:25 -05: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
Joachim Schiele
f41a3e7d7d
Emscripten 1.37.16 to 1.37.36 (#37291)
* trying to build emscriptenPackages not all fail

* reading the console.log it turns out python executable is not in place and that is why emconfigure didnt work

* backup commit

* much more targets are compiling now

* added common revisioning

* revision bump to 1.37.36 (not tested)

* fixed xmllint

* forcing unit testing, will implement the tests after i get home

* json_c test working

* added tests

* tiny fixes

* added documentation
2018-03-18 13:34:46 +01:00
Joachim Fasting
4e1083256b
Revert "Merge pull request #35636 from ryantm/auto-update/emscripten-1.37.16-to-1.37.34"
This reverts commit 5c02b9ab33, reversing
changes made to 2f2ad74369.

https://github.com/NixOS/nixpkgs/pull/35636#issuecomment-373171672
2018-03-14 22:08:01 +01:00
Ryan Mulligan
71286aa5ec emscripten: 1.37.16 -> 1.37.34
Semi-automatic update. These checks were performed:

- built on NixOS
- found 1.37.34 with grep in /nix/store/mdr47v3wdjmzic5c2nvdx5krdwl6bcxf-emscripten-1.37.34
2018-02-25 20:47:15 -08:00
Matthew Bauer
5b996f9125
emscripten: 1.37.13 -> 1.37.16 2017-08-03 01:33:06 -07:00
Gabriel Ebner
6971bdbbd3 emscripten, emscriptenfastcomp: 1.37.10 -> 1.37.13 2017-06-05 15:28:35 +02:00
Alastair Pharo
8f33800061 emscripten: add binaryen dep for compiling to WASM 2017-06-04 13:50:51 +10:00
Periklis Tsirakidis
db6ba4dee7 emscripten: fix closure-compiler path 2017-04-28 18:54:47 +02:00
Gabriel Ebner
10b95d7623 emscripten: 1.37.9 -> 1.37.10 2017-04-25 11:08:20 +02:00
Gabriel Ebner
d3284576d4 emscripten: 1.37.3 -> 1.37.9 2017-04-16 18:39:00 +02:00
Ben Zhang
954e145101
emscripten 1.37.1 -> 1.37.3 2017-03-10 22:59:19 -05:00
Gabriel Ebner
39e8a72faf emscripten, emscriptenfastcomp: 1.36.4 -> 1.37.1 2017-01-02 14:26:20 +01:00