Commit graph

84 commits

Author SHA1 Message Date
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
Rhys 934a460fd2 v8: Build 3.16.14 on ARM 2016-04-29 12:16:26 +10:00
Eric Litak 0de2d2fbcd mfi: init at 2.1.11
This package has some outdated dependencies, so old versions of mongodb
and v8 had to be re-added as well.
2016-04-01 02:45:11 -07:00
Joachim Fasting 72b5bfda97 v8: fix build(s)
Ignore errors due to strict-overflow warnings; strip clang-only flag on
non-clang builds. Concerning the latter "fix", it's not entirely clear to me why
the -Wno-format-pedantic flag ends up being passed to gcc, the .gyp file appears
to already condition the inclusion of this flag on whether cc=clang.
2016-03-28 17:13:40 +02:00
Pascal Wittmann 7fd2796e99 Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
Charles Strahan 4f07c88d46 v8-4.5.x: add support for ARM 2015-10-23 14:35:04 -04:00
Charles Strahan abf7301cc9 v8: add version 4.5.107 2015-10-22 20:00:38 -04:00
William A. Kennington III 14961c8781 v8: Fix compilation issue with gcc4.9+ 2015-10-01 10:40:50 -07:00
William A. Kennington III c5f61e96b3 v8: 3.16.14 -> 3.16.14.11 2015-07-08 15:10:50 -07:00
Brian McKenna 1ad2fa452a Add EventStore package
This turns the V8 expression into a generic build, so that we can
build with the required version.
2015-05-09 11:46:01 -06:00
William A. Kennington III 1021e33fde v8: 3.26.31.15 -> 3.30.33.16 2015-04-08 13:43:25 -07:00
Luca Bruno 332c32b772 Revert "v8: 3.26.31.15 -> 3.31.1"
This reverts commit 098ed10f39.
2015-02-20 14:07:59 +01:00
Luca Bruno fb4fc507ef Revert "v8: Properly update to 4.1.0.15"
This reverts commit 1570cb501c.
2015-02-20 14:07:59 +01:00
William A. Kennington III 1570cb501c v8: Properly update to 4.1.0.15 2015-02-06 22:52:39 -08:00
William A. Kennington III 098ed10f39 v8: 3.26.31.15 -> 3.31.1 2015-02-06 22:25:45 -08:00
Shea Levy c45372f038 Merge commit 'cfb29ab882323d379aba20a95020c7c24f883eae'
Partial staging merge, including cc-wrapper fixes

Conflicts:
	pkgs/applications/audio/spotify/default.nix
	pkgs/build-support/cc-wrapper/default.nix
	pkgs/development/compilers/cryptol/1.8.x.nix
2015-02-02 21:14:28 -05:00
Charles Strahan 8085f088cb ruby: exorcise the last few remaining rubyPackages 2015-01-21 22:23:37 -05:00
Charles Strahan 317d78d145 consule: use new bundlerEnv 2015-01-21 20:33:19 -05:00
Eric Seidel f3c6827373 rename all occurrences of stdenv.cc.gcc to stdenv.cc.cc 2015-01-14 20:27:55 -08:00
Charles Strahan 145733c479 Merge branch 'master' of github.com:nixos/nixpkgs into pleasant-ruby
Conflicts:
	pkgs/applications/version-management/redmine/default.nix
	pkgs/development/interpreters/ruby/gem.nix
	pkgs/development/interpreters/ruby/generated.nix
	pkgs/development/interpreters/ruby/patches.nix
	pkgs/development/tools/vagrant/default.nix
	pkgs/servers/consul/default.nix
2014-12-28 14:29:52 -05:00
John Wiegley 28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00