Commit Graph

104 Commits

Author SHA1 Message Date
Maximilian Bosch
2826c7e77f
v8_3_14: remove
Doesn't build with gcc>=5.
2020-01-28 20:11:00 +01:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
WilliButz
e4c372445f
v8_3_16_14: remove unreferenced and outdated package 2019-11-01 14:28:03 +01:00
WilliButz
a1066785fa
v8_3_14: limit platforms to x86-linux 2019-11-01 14:27:53 +01:00
Dima
2a1f30259c {v8, v8_6_x}: fix log output exceeded w. GCC8
This reduces the log size to ~1MB.
2019-10-07 11:22:35 +02:00
worldofpeace
6b92321f82
Merge pull request #68550 from WilliButz/v8/fix-aarch64-build
v8: fix build on aarch64
2019-09-12 12:10:43 -04:00
WilliButz
a981edb443
Merge pull request #68292 from matthewbauer/v8-pkgconfig
v8: add pkgconfig file
2019-09-12 14:21:03 +02:00
WilliButz
0e879bfe8d
v8: fix build on aarch64 2019-09-12 14:13:26 +02:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
Matthew Bauer
283358ea42 v8: add pkgconfig file
This is not provided by the v8 team, we need to provide a custom one.

https://bugs.chromium.org/p/v8/issues/detail?id=2184
2019-09-07 21:09:13 -04:00
Frederik Rietdijk
ad1d58c622 Merge staging-next into staging 2019-08-31 10:04:20 +02:00
Frederik Rietdijk
fc74ba8291 Merge master into staging-next 2019-08-31 09:50:38 +02:00
Mario Rodas
f24c729196
postgresqlPackages.plv8: narrow platforms to x86_64-linux
plv8 uses a custom version v8 version, which is reported to only build
on x86_64-linux. The next major version plv8 should drop the custom v8.
2019-08-29 03:00:00 -05:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00: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
Matthew Bauer
f64d21da21
Merge pull request #56834 from matthewbauer/v8-update
v8: 5.4.232 -> 7.4.255
2019-06-03 13:34:04 -04:00
c0bw3b
9cb260d091 [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
Matthew Bauer
e7f57503e0 v8: 5.4.232 -> 7.4.255 2019-04-11 00:25:12 -04:00
Austin Seipp
4569ee7d74 plv8: unbreak build, bump to version 2.3.8
ee58a5b30d broke the plv8 build because it
upgraded the v8_6_x expression everywhere to the 6.9 branch, which came
with API changes. Notably, it seems plv8 only supports up-to v8 6.4.x at
this time.

This keeps a copy of the plv8_6_x expression inside the same directory
as the other v8 versions (so patches, etc are easy to apply), but it is
not exposed to the top-level of all-packages.nix.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-04 08:24:19 -06:00
Matthew Bauer
514bfd7b8e
Merge pull request #46113 from taktoa/taktoa/v8-6.9
v8_6_x: 6.2.414.27 -> 6.9.427.14
2018-10-08 13:49:02 -05:00
Remy Goldschmidt
ee58a5b30d
v8_6_x: 6.2.414.27 -> 6.9.427.14 2018-09-07 15:54:38 -05:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Vladimír Čunát
765d695b89
Merge branch 'staging-next'
Security fixes for a few packages are included.
2018-08-21 15:36:02 +02:00
John Ericson
7d85ade0cc treewide: Purge stdenv.platform and top-level platform
Progress towards #27069
2018-08-20 15:22:46 -04:00
Matthew Bauer
d4b453d2c1 v8: remove xcodebuild patch
Add xcodebuild commands from xcbuild.
2018-08-15 17:27:56 -05:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
John Ericson
ba52ae5048 treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25 15:28:55 -04:00
Daiderd Jordan
15ee5ff446
v8: only use -Wno-error=unused-lambda-capture with clang 2018-03-13 19:21:47 +01:00
Daiderd Jordan
0c629e9c23
v8: fix clang build
/cc ZHF #36454
2018-03-12 21:09:15 +01:00
Tuomas Tynkkynen
5490e580f5 v8: Fix aarch64 build
https://hydra.nixos.org/build/65224506

Besides dontUpdateAutotoolsGnuConfigScripts, the 'arch' assignment was
wrong and resulted in "x64" (stdenv.isArm is not true on AArch64).
2017-12-05 03:43:07 +02:00
Hamish Mackenzie
8870d1a67d r-modules: Fix a number of popular R packages
The R V8 package still depends on V8 3.14 so this is also included.
2017-10-21 11:29:21 +01:00
Stefan Siegl
8ca237e698
v8_3_24_10: remove 2017-10-09 23:40:12 +02:00
Stefan Siegl
e9609f25b3
v8_6_x: 6.2.414.15 -> 6.2.414.27 2017-10-09 21:31:16 +02:00
Stefan Siegl
6e8b89157f
v8_6_x: fix sandbox build (/usr/bin/env dependency) 2017-09-24 18:10:58 +02:00
Stefan Siegl
e14ac35238
v8_6_x: fix hard-coded architecture 2017-09-24 18:10:31 +02:00
Stefan Siegl
44a3f68857
v8_6_x: init at 6.2.414.15 2017-09-24 11:37:29 +02:00
Aristid Breitkreuz
4592a6d744 v8: fix 5.4 build 2017-09-10 12:36:27 +02:00
Aristid Breitkreuz
450685e46d v8: remove unused old versions 2017-09-10 12:02:45 +02:00
Jörg Thalheim
9ee5727459 v8: remove 3.14.5.10
was only used by mongodb248
2017-09-07 10:20:22 +01:00
Robert Vollmert
c3da83cd40 v8_3_16_14: fix OS X build
Issues addressed:
- xcode build failed with
    ... was built for newer OSX version (10.10) than being linked (10.5)
  fixed by setting GYP mac deployment target to the nix value
- a gyp bug when SDKROOT is not set (and removed an orphaned gyp patch
- path to python in generated gyp-mac-tool
- noisy build due to static assert warnings, by silencing warnings
- use of system xcodebuild and libtool replaced by darwin.cctools
2017-06-26 21:28:43 +02:00
Lukasz Czyzykowski
3de66330cd v8: fixes build on darwin
v8 compilation on macOS was failing because of missing dependency and
wrong linker. The approach to make it work is similar to the nodejs
package.
2017-05-17 21:50:49 +02:00
Johannes Bornhold
b27932a65b v8-3_16_14 tweaks for the build on darwin
The build was originally failing due to a missing libtool. Trying to add
the buildInput "libtool" did not work out, since a few command line
arguments are not supported. I've applied the same workaround as for
"xcodebuild".

The second change is about the install step, where the path of
"libv8.dylib" was just slightly different.
2016-11-05 22:31:12 +01:00
Proglodyte
52d52e7f0c v8: add static config option
Add the 'static' argument to the v8 package, which allows building the
package as a static library rather than a shared library. This allows
users to pass additional arguments to d8:
https://github.com/joestelmach/lint.vim/issues/10
2016-07-27 01:38:52 -04:00
Proglodyte
986f12ec89 v8: 4.5.107 -> 5.4.232
Upgraded to latest v8. Updated v8 version and deps, also created a new
patch similar to what existed for v4.5
2016-07-24 02:38:15 -04:00
Proglodyte
781ed961eb v8: use 4.5.107 by default
Default v8 was fixed at 3.30.33, so running nix-build nixpkgs -A v8
would give us version 3.30.33, whereas nix-env -i v8 would install
version 4.5.107. Now, both commands build 4.5.107, and there is still an
option to install version 3.30.33
2016-07-24 02:36:30 -04:00
Proglodyte
16bd51fc0d v8: fix 4.5.107 build
Similar to #14272, but fixes 4.5 build rather than generic.
- Ignores errors due to strict-overflow warnings
- Strips clang-only '-Wno-format-pedantic' flag out since this build
  uses gcc
2016-07-24 02:34:32 -04:00
Tobias Geerinckx-Rice
ee2f060ff7
v8: remove unused fix-GetLocalizedMessage-usage.patch 2016-06-22 19:49:48 +02:00
Joachim Fasting
9560a9b767 Merge pull request #15072 from rimmington/v8-arm
v8: Build 3.16.14 on ARM
2016-05-02 04:30:54 +02:00
Nikolay Amiantov
87ebab128a replace ${stdenv.cc.cc}/lib occurences 2016-05-01 00:13:23 +03:00