Commit Graph

97 Commits

Author SHA1 Message Date
Thiago Kenji Okada
782d03bca7 graalvmXX-ee: remove
This package was last updated in 2020. It is out-of-date compared to
upstream and we have the graalvmXX-ce already, that is much better
maintained nowadays.
2022-04-15 19:52:41 +01:00
Thibault Gagnaux
be1232ea2f
graalvmXX-ce: fix relative paths 2022-04-02 13:23:52 +02:00
Thibault Gagnaux
2d7d3692c1
graalvmXX-ce: use the release version as defaultVersion 2022-04-02 11:33:07 +02:00
Thibault Gagnaux
bfc501493f
graalvmXX-ce: add review suggestions
Co-authored-by: Thiago Kenji Okada <thiagokokada@gmail.com>
2022-04-02 10:54:44 +02:00
Thibault Gagnaux
440d4f9ff7
graalvmXX-ce: extract common config 2022-04-01 18:38:26 +02:00
Thibault Gagnaux
4b4d3759e9
graalvmXX-ce: remove graalvmXX-ce-dev and use dev version in graalvmXX-ce on aarch64-darwin 2022-04-01 14:30:18 +02:00
Thibault Gagnaux
50f6c0dfa7
graalvmXX-ce: refactor and clean up of update.nix
The update script fetches the latest versions and only
computes/downloads the sha256 if there is a new version to improve runtime.
2022-03-31 08:42:55 +02:00
Thibault Gagnaux
c6203291c8
graalvm17-ce-dev: init with aarch64-darwin 2022-03-31 08:42:55 +02:00
Thibault Gagnaux
fa5712c0b7
graalvmXX-ce: new update script 2022-03-31 08:42:54 +02:00
Eric Dallo
a362925794
graalvm11-ce: 21.3.0 -> 22.0.0.2
graalvm17-ce: 21.3.0 -> 22.0.0.2
2022-01-26 22:59:44 -03:00
Thiago Kenji Okada
4d65523c6a graalvm-ce: multiple fixes and improvements
- Remove some unnecessary macOS dependencies (e.g.: GTK3 support)
- Patch openssl.so's Ruby libraries so autoPatchelfIgnoreMissingDeps is
  not needed anymore on Linux
- Add support for musl
- Add binutils/stdenv.cc to runtime, making this derivation pure
  (it used to depend on GCC installed in system)
- Format file with nixpkgs-fmt
2021-12-27 19:30:50 -03:00
Thiago Kenji Okada
60e6107391 graalvm-ce: fix nix-shell incantation order on update.sh 2021-10-22 12:32:34 -03:00
Thiago Kenji Okada
81df00fb45 graalvm-ce: add hashes parameter to mkGraal 2021-10-21 16:20:11 -03:00
Thiago Kenji Okada
19e8890e5f graalvm-ce: add missing gnused to update.sh 2021-10-21 16:14:41 -03:00
Thiago Kenji Okada
58a7dfacb8 graalvm-ce: add graalvm17-ce 2021-10-20 12:51:27 -03:00
Thiago Kenji Okada
eb16b065f8 graalvm-ce: remove nativePRNGWorkaround
Seems that native-image works fine nowadays without it.
2021-10-20 12:07:21 -03:00
Thiago Kenji Okada
cffe19bdbe graalvm-ce: remove version file, use nix itself 2021-10-20 11:51:39 -03:00
Thiago Kenji Okada
b5560cfc5e graalvm-ce: check if version is latest on update.sh 2021-10-20 09:56:47 +02:00
Thiago Kenji Okada
8abb6e72c9 graalvm-ce: 21.2.0 -> 21.3.0
- Drop graalvm8 since it was removed by upstream
- Add update.sh script to make it easier to generate hashes for all
  platforms
- Fix GraalPython, broken since #141825 (sorry)
- Small refactorings and fixes
2021-10-20 09:56:47 +02:00
Sandro
e4dda76e63
Merge pull request #141825 from thiagokokada/port-graalvm-to-aarch64 2021-10-18 22:18:52 +02:00
Thiago Kenji Okada
d3ea0893dd graalvm11-ce: add support for aarch64-linux
Only adding support for graalvm11-ce. While there is a graalvm8 release
for aarch64-linux, it is missing some support (like wasm).

Also, it is not used anywhere on the nixpkgs, while graalvm11 is used by
multiple other packages (babashka, clj-kondo, clojure-lsp, etc.).
2021-10-15 21:40:25 -03:00
Thiago Kenji Okada
007ea53ba9 graalvm: remove derivation
This derivation was not updated since Jan 18, 2020. It doesn't
build on Hydra because it needs too much memory (~30GB). And no other
packages depend on it.

Also, this is a very complex package and really difficult to maintain.
It is a blocker for https://github.com/NixOS/nixpkgs/pull/141794, since
a recent bump of broke it.

`graalvm8-ce` is the replacement. It is much more up-to-date (`graalvm`
is on version 19.2.1, `graalvm8-ce` is on version 21.2.0), it is much
easier on Hydra (it uses the binary from Oracle).

I also deprecated `jvmci8` and `mx`. I am not sure if `graalvm8`
supplies them, but if something is missing we can always add it later to
`graalvm8-ce`.
2021-10-15 18:37:35 -03:00
figsoda
3109ff5765 treewide: avoid use of lib.optional with list in inputs 2021-10-04 13:02:42 -04:00
Thiago Kenji Okada
07be670cf9 graalvm-ce: create empty lib directory on macOS 2021-10-02 12:08:27 -03:00
Thiago Kenji Okada
d909c0c1f1 graalvm-ce: add lib output
Add dynamic libraries (for now only glibc) to $lib output, so we can use
them with e.g.:

```
native-image -H:CLibraryPath=${graalvm11-ce.lib}/lib ...
```

Reducing the finaly closure size of a GraalVM package since it will not
pull the whole GraalVM as a direct dependency.
2021-10-02 11:38:49 -03:00
Markus Kowalewski
f476dcf3b3
graalvm: move gfortran to nativeBuildInputs 2021-09-03 13:33:32 +02:00
Eric Dallo
5cdbd94cf9
graalvmce: 21.0.0 -> 21.2.0 2021-08-04 10:42:42 -03:00
Sandro
3e712c9a24
Merge pull request #110567 from taku0/jdk_ln_headers 2021-07-23 18:49:58 +02:00
Bastien Riviere
a6bb32aecc
graalvm-ce: fix NativePRNG errors on darwin
Fix NativePRNG errors when building softwares like `babashka`.
Also temporarly disable JShell in installCheckPhase.
2021-06-23 12:43:10 +02:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Sandro Jäckel
3453b89f4b
lzma: deprecate alias 2021-04-04 19:49:52 +02:00
taku0
ff3e401d12 graalvm8-ce, graalvm11-ce: link jni_md.h to include folder
See https://discourse.nixos.org/t/nix-shell-environment-to-debug-a-build-of-an-r-package/11010/4
2021-03-07 14:00:57 +09:00
github-actions[bot]
5267db2989
Merge staging-next into staging 2021-02-27 18:16:44 +00:00
taku0
5ea6b90822 adoptopenjdk-bin, zulu, graalvm11-ce: do not wrap jspawnhelper
Fix #114495.

Note that OpenJDK 8 does not have jspawnhelper.
2021-02-27 19:23:55 +09:00
Ben Siraphob
127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
taku0
26fb8f9110 graalvm11-ce, graalvm8-ce: add support for GTK+ Look and Feel 2021-02-18 20:07:04 +09:00
taku0
032b5cd156 graalvm11-ce, graalvm8-ce: add support for Swing apps
Adds needed libraries with `autoPatchelfHook`.  This ensures required
libraries are linked for future.
2021-02-18 20:07:04 +09:00
Thiago Kenji Okada
194c1f6aae graalvm-ce: fix irb in Linux 2021-02-16 23:24:52 -03:00
Thiago Kenji Okada
9e8e2eff2d graalvm-ce: 20.3.0 -> 21.0.0 2021-02-16 23:24:52 -03:00
Robert Schütz
9a200f6091
Merge pull request #111330 from dotlambda/libav-insecure
libav: mark as insecure
2021-02-08 12:18:05 +01:00
Robert Schütz
3673ad819f graalvm*-ee: remove unused argument libav_0_8 2021-02-04 15:19:23 +01:00
Stevan Andjelkovic
bf6df7187e
graalvm-ce-20.2.0 -> 20.3.0 + darwin support. (#105815)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-02-02 23:16:43 +01:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Kevin Cox
dc79731ae0
Merge pull request #99631 from glittershark/graalvm-ce
graalvm{8,11}-ce: init at 20.2.0
2020-11-03 18:39:11 -05:00
Nora Puchreiner
c57affcc3f
graalvm8-ee, graalvm11-ee: 20.0.0 -> 20.2.1 2020-10-23 02:13:07 +00:00
Benjamin Andresen
674c9afb72 graalvm{8,11}-ce: init at 20.2.0 2020-10-05 12:06:04 -04:00
Doron Behar
01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00
John Ericson
1ac5398589 *-wrapper; Switch from infixSalt to suffixSalt
I hate the thing too even though I made it, and rather just get rid of
it. But we can't do that yet. In the meantime, this brings us more
inline with autoconf and will make it slightly easier for me to write a
pkg-config wrapper, which we need.
2020-05-12 00:44:44 -04:00
Pavol Rusnak
fadcfc3ea4
treewide: per RFC45, remove more unquoted URLs 2020-04-18 14:04:37 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00