1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
Commit graph

135 commits

Author SHA1 Message Date
Andrew Childs 7869d16545 llvmPackages: Multuple outputs for everythting
Also begin to start work on cross compilation, though that will have to
be finished later.

The patches are based on the first version of
https://reviews.llvm.org/D99484. It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.

Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.

----

Other misc notes, highly incomplete

- lvm-config-native and llvm-config are put in `dev` because they are
  tools just for build time.

- Clang no longer has an lld dep. That was introduced in
  db29857eb3, but if clang needs help
  finding lld when it is used we should just pass it flags / put in the
  resource dir. Providing it at build time increases critical path
  length for no good reason.

----

A note on `nativeCC`:

`stdenv` takes tools from the previous stage, so:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`

while:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
ajs124 c49825c5ee spidermonkey_38: drop
it was based on a firefox release that last received an update in April 2016
2021-03-24 10:39:11 +01:00
ajs124 e3e8b48ca6 spidermonkey_60: drop
it was based on a firefox release that last received an update in September 2019
2021-03-21 03:24:34 +01:00
Daniel Nagy 0dcd780908
spidermonkey_78: 78.4.0 -> 78.8.0 2021-02-27 12:35:36 +01:00
Ben Wolsieffer 87768f2fed spidermonkey: use LLVM 11
Now that rustc has moved to LLVM 11, this prevent needing to build two LLVM
versions.
2021-02-20 08:54:24 +01:00
Ben Siraphob 001c0cbe54 pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Will Young 8edf9cf5d0 spidermonkey: 78.1.0 -> 78.4.0 2020-11-02 23:30:28 +01:00
Maciej Krüger 5ad43894f2
spidermonkey_38: mark as insecure 2020-10-01 10:00:24 +02:00
Doron Behar 1d45990efb
spidermonkey_78: init at 78.1.0
* format

Co-authored-by: WORLDofPEACE <worldofpeace@protonmail.ch>
2020-09-28 15:08:23 +02:00
R. RyanTM c02f514929 spidermonkey_68: 68.7.0 -> 68.10.0 2020-07-08 02:53:04 +02:00
Jan Tojnar f8ac6112b5
Merge pull request #84994 from r-ryantm/auto-update/spidermonkey 2020-05-25 15:22:42 +02:00
R. RyanTM 7b6ebea667 spidermonkey_68: 68.4.2 -> 68.7.0 2020-04-11 13:01:38 +00:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Tor Hedin Brønner 4ee2aac075
spidermonkey_68: init at 68.4.2
mostly copied over

- now uses python3

https://mail.gnome.org/archives/distributor-list/2020-February/msg00000.html
2020-03-24 07:06:55 +01:00
Merijn Broeren 133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Tor Hedin Brønner 18d7929e95 spidermonkey_52: drop, as is unused
`gnome-shell-extensions` switched over to `spidermonkey_60` in 3.34 leaving
`spidermonkey_52` unused.
2019-10-16 16:53:19 +02:00
Tor Hedin Brønner 231432e93c spidermonkey_60: 60.4.0 -> 60.9.0
This is the last 60-esr I believe.

- fixed multiple outputs (saves $out 2MB from $out)
- updated the only patch we carry
- symlinked `js` to `js60`, some packages using spidermonkey expects `js`. Might
  make it possible to drop 38 in the future.
2019-10-16 10:20:05 +02:00
Robin Gloster a345623f2b
spidermonkey_1_8_5: fix build with gcc8
closes #68765
closes #68763
2019-09-14 12:19:27 +02:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +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
Justin Humm 4908aaf3c9 spidermonkey_38, spidermonkey_60: fix cross compilation
This is essentially the same as done in
65f2b0a2a3.

For spidermonkey_38 I set --enable-posix-nspr-emulation, as it would
otherwise complain about a wrong NSPR version and that trick seemed to
be successful in spidermonkey_60 anyway.
2019-08-03 07:51:46 +02:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Nikolay Amiantov 1cae1c4ccc Revert "spidermonkey_60: 60.4.0 -> 60.7.0"
This reverts commit 081408041a.
2019-06-05 16:07:07 +03:00
Will Dietz 081408041a spidermonkey_60: 60.4.0 -> 60.7.0 2019-06-05 15:05:50 +03:00
c0bw3b 9cb260d091 [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
Matthew Bauer 65f2b0a2a3 spidermonkey: fix host, target settings
spidermonkey doesn’t use the autotools build, host, target convention.
Instead it considers ‘--host’ to be the autotools’ ‘--build’ and
‘--target’ to be the autotools’ ‘--host’! As a result, we cannot
safely use “configurePlatforms”. Instead, we must manually set these
flags.

/cc @illegalprime
2019-04-19 11:59:39 -04:00
Michael Eden ad7e58727d spidermonkey_52: cross compilation 2019-04-16 19:03:59 +02:00
Jörg Thalheim 1b146a8c6f
treewide: remove paxutils from stdenv
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277

This removes now also paxutils from stdenv.
2018-12-22 12:55:05 +01:00
Tor Hedin Brønner 0fb5e2f6f2 spidermonkey_38: 38.2.1.rc0 -> 38.8.0
Update to the last version of 38
2018-12-16 16:53:34 +01:00
Tor Hedin Brønner b63df3f2e0 spidermonkey_{17,31}: remove
No longer in use.
2018-12-16 16:53:34 +01:00
Tor Hedin Brønner 04fad1f365 spidermonkey_60: 60.3.0 -> 60.4.0
- build with `--enable-optimize`
- remove unused nspr dependency
- cleanup a static library (saves ~20mb)
2018-12-16 16:53:34 +01:00
Tor Hedin Brønner e09e735a09
spidermonkey_60: init at 60.3.0
A new test checks and fails if we're building in js/src, so we create a build
dir like Arch does.
2018-11-30 21:34:46 +01:00
Tuomas Tynkkynen e310622999 spidermonkey_52: Split into multiple outputs (and nuke static lib)
Saves 28M.
2018-10-27 15:17:13 +03:00
Will Dietz 8d2cd63c1b spidermonkey_52: don't use jemalloc w/musl 2018-09-09 17:50:54 -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
xeji 691ec455a8
Merge pull request #45246 from r-ryantm/auto-update/couchdb
couchdb2: 2.1.2 -> 2.2.0
2018-08-21 20:02:43 +02:00
Uli Baum bcb5005a4d spidermonkey_1_8_5: broken on aarch64
never built on hydra as far back as 2017-03-08
2018-08-21 19:48:45 +02:00
Tuomas Tynkkynen 7cca16e9f1 spidermonkey_52: Fix on ARMv6
Arch Linux applies the CFLAGS always, as does Debian, so do the same.
2018-08-21 13:29:17 +03:00
R. RyanTM d9b1c16ee8 spidermonkey_52: 52.8.1 -> 52.9.0 (#42957)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- /nix/store/sxcxd6f05aqpiw7jgrpyi8qmgxjy2r4x-spidermonkey-52.9.0/bin/js52 passed the binary check.
- /nix/store/sxcxd6f05aqpiw7jgrpyi8qmgxjy2r4x-spidermonkey-52.9.0/bin/js52-config passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 52.9.0 with grep in /nix/store/sxcxd6f05aqpiw7jgrpyi8qmgxjy2r4x-spidermonkey-52.9.0
- directory tree listing: https://gist.github.com/6e6d8bcfc14e1e59028ad1397d75fce1
- du listing: https://gist.github.com/f69575b0d92d2b3ffec1c4dda0afa0e6
2018-07-09 22:30:18 +02:00
sander 621072a476 anonscm.debian.org_gcc6.patch-not-found - replace anonscm.debian.org with sources.debian.org 2018-07-01 16:39:51 +02:00
R. RyanTM 1f0902ae69 spidermonkey_52: 52.8.0 -> 52.8.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- /nix/store/4rnqlff4g9vx7ci5b0a6936h9ffk4l8x-spidermonkey-52.8.1/bin/js52 passed the binary check.
- /nix/store/4rnqlff4g9vx7ci5b0a6936h9ffk4l8x-spidermonkey-52.8.1/bin/js52-config passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 52.8.1 with grep in /nix/store/4rnqlff4g9vx7ci5b0a6936h9ffk4l8x-spidermonkey-52.8.1
- directory tree listing: https://gist.github.com/75305a95a88a23a3137429c0c5c0007c
- du listing: https://gist.github.com/fe4b93f198ce1088e1e18d002d9cb49a
2018-06-23 10:21:10 -07:00
Matthew Bauer e1983175e8 spidermonkey_17: get darwin working
LLVM building is apparently broken. This is a similar fix to what was
done in spidermonkey_38.

enableReadline flag is also introduced (defaults to true except on darwin).
2018-06-16 16:41:03 -04:00
Matthew Bauer f2dc19703a spidermonkey_38: add darwin support 2018-05-21 19:55:37 -05:00
R. RyanTM 2329df494c spidermonkey_52: 52.7.4 -> 52.8.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- /nix/store/dd4kmbg04pklv4gs9y8cky5bv69id31v-spidermonkey-52.8.0/bin/js52 passed the binary check.
- /nix/store/dd4kmbg04pklv4gs9y8cky5bv69id31v-spidermonkey-52.8.0/bin/js52-config passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 52.8.0 with grep in /nix/store/dd4kmbg04pklv4gs9y8cky5bv69id31v-spidermonkey-52.8.0
- directory tree listing: https://gist.github.com/1ec4dfe6196b463eb8174ab1aa82023d
- du listing: https://gist.github.com/a7355483d743c1a8d6fb1271ee57a5c0
2018-05-17 01:18:07 -07:00
Matthew Justin Bauer c8f8f5465c
Merge pull request #39736 from r-ryantm/auto-update/spidermonkey
spidermonkey_52: 52.6.0 -> 52.7.4
2018-05-04 17:22:06 -05:00
R. RyanTM ecc7f83e75 spidermonkey_52: 52.6.0 -> 52.7.4
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- ran ‘/nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4/bin/js52 -h’ got 0 exit code
- ran ‘/nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4/bin/js52 --help’ got 0 exit code
- ran ‘/nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4/bin/js52 -v’ and found version 52.7.4
- ran ‘/nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4/bin/js52 --version’ and found version 52.7.4
- ran ‘/nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4/bin/js52-config --version’ and found version 52.7.4
- found 52.7.4 with grep in /nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4
- directory tree listing: https://gist.github.com/7e5182415a0a1bce8071576312c08a3a
2018-04-30 11:07:54 -07: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
Jan Tojnar 0a99152810
spidermonkey_52: 52.2.1gnome1 → 52.6.0
Update to latest upstream version and remove some flags that caused errors:

--enable-threadsafe was removed in https://bugzilla.mozilla.org/show_bug.cgi?id=1253466, since SpiderMonkey is thread-safe by default now https://bugzilla.mozilla.org/show_bug.cgi?id=1031529.

--enable-gcgenerational also disappeared for some reason.
2018-02-28 16:05:19 +01:00