Commit Graph

55 Commits

Author SHA1 Message Date
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
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
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
e7f57503e0 v8: 5.4.232 -> 7.4.255 2019-04-11 00:25:12 -04:00
Matthew Bauer
d4b453d2c1 v8: remove xcodebuild patch
Add xcodebuild commands from xcbuild.
2018-08-15 17:27:56 -05: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
Aristid Breitkreuz
4592a6d744 v8: fix 5.4 build 2017-09-10 12:36:27 +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
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
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
Eric Seidel
f3c6827373 rename all occurrences of stdenv.cc.gcc to stdenv.cc.cc 2015-01-14 20:27:55 -08: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
Eelco Dolstra
6843fc41c9 Fix evaluation 2014-09-30 00:51:00 +02:00
William A. Kennington III
f4e8f18c19 v8: 3.26.8 -> 3.26.31.15 2014-09-13 22:50:47 -07:00
Bjørn Forsman
c9baba9212 Fix many package descriptions
(My OCD kicked in today...)

Remove repeated package names, capitalize first word, remove trailing
periods and move overlong descriptions to longDescription.

I also simplified some descriptions as well, when they were particularly
long or technical, often based on Arch Linux' package descriptions.

I've tried to stay away from generated expressions (and I think I
succeeded).

Some specifics worth mentioning:
 * cron, has "Vixie Cron" in its description. The "Vixie" part is not
   mentioned anywhere else. I kept it in a parenthesis at the end of the
   description.

 * ctags description started with "Exuberant Ctags ...", and the
   "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis
   at the end of description.

 * nix has the description "The Nix Deployment System". Since that
   doesn't really say much what it is/does (especially after removing
   the package name!), I changed that to "Powerful package manager that
   makes package management reliable and reproducible" (borrowed from
   nixos.org).

 * Tons of "GNU Foo, Foo is a [the important bits]" descriptions
   is changed to just [the important bits]. If the package name doesn't
   contain GNU I don't think it's needed to say it in the description
   either.
2014-08-24 22:31:37 +02:00
Mathijs Kwik
7e7d8d651a v8: upgrade to 3.26.8 2014-05-05 07:32:36 +02:00
aszlig
8ddc86d6e4
v8: Refactor package and update to version 3.25.9.
This now uses fetchurl instead of fetchsvn and now invokes gyp directly
instead of copying over the gyp command to the source tree.

Also, we're now using stdenv.is64bit to properly determine the host
architecture.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-04-19 03:58:38 +02:00
Peter Simons
6be8ad3392 Merge branch 'origin/master' into stdenv-updates.
There was a minor conflict in 'stumpwm'. The package needs texinfo
version 4.x. At least is used to, I'm not sure whether it still does.
2013-10-18 18:57:24 +02:00
Eelco Dolstra
df0d362f31 Fix some more Hydra evaluation errors 2013-10-08 11:07:14 +02:00
Vladimír Čunát
604d201b7c v8: fix build with newer gcc 2013-08-27 16:16:11 +02:00
Domen Kožar
82e1c8a34b v8: build binaries for unix platforms 2013-08-24 19:55:00 +02:00
Shea Levy
9e01205659 Set library path properly for v8 on darwin 2013-05-28 18:38:22 -04:00
Shea Levy
5e064cc871 v8: Bump
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-27 02:05:45 -04:00
Peter Simons
b33ad366a1 Merge branch 'master' into stdenv-updates. 2013-01-11 15:46:10 +01:00
Sander van der Burg
03621d4cd8 Remove my darwin workarounds for node.js 2013-01-07 17:01:50 +01:00
Sander van der Burg
5b0ca88d97 - Added xcodeenv: experimental support to build iOS apps through Nix
- Moved mobile development tools into a separate folder
2013-01-07 16:52:42 +01:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Mathijs Kwik
12e71e4c22 v8: upgrade to 3.11.10.22 2012-09-15 20:53:19 +02:00
Mathijs Kwik
c0fda4da9b v8: depend on which during i686-linux build 2012-07-26 20:46:33 +02:00
Shea Levy
3a37f47fd4 v8: build with gyp.
The scons build has been deprecated
2012-07-25 11:42:15 -04:00
Shea Levy
a9cd20e601 v8: Update to 3.11.10.15 2012-07-25 10:26:34 -04:00
Mathijs Kwik
4129e8e78c v8: upgraded to latest stable (3.6.6.25)
svn path=/nixpkgs/trunk/; revision=34265
2012-05-29 07:43:50 +00:00
Shea Levy
68f739cc45 nodejs/v8: Bump
svn path=/nixpkgs/trunk/; revision=33673
2012-04-08 14:32:00 +00:00
Yury G. Kudryashov
5144a19987 svn merge ^/nixpkgs/trunk
There were a few merge conflicts due to ensureDir->mkdir -p migration

svn path=/nixpkgs/branches/stdenv-updates/; revision=32174
2012-02-10 10:24:30 +00:00
Shea Levy
f77fa09f56 v8: Get building on darwin
svn path=/nixpkgs/trunk/; revision=32168
2012-02-10 05:22:58 +00:00
Yury G. Kudryashov
215a07c1a9 svn merge ^/nixpkgs/trunk
Merge conflicts:
* unzip (almost trivial)
* dvswitch (trivial)
* gmp (copied result of `git merge`)

The last item introduced gmp-5.0.3, thus full rebuild.
+ensureDir->mkdir -p in TeX packages was catched by git but not svn.

svn path=/nixpkgs/branches/stdenv-updates/; revision=32091
2012-02-06 23:03:12 +00:00
Peter Simons
66a1330589 v8/nodejs: upgraded to 3.6.6.20 and 0.6.9
svn path=/nixpkgs/trunk/; revision=32079
2012-02-06 19:08:56 +00:00