summaryrefslogtreecommitdiffstats
path: root/pkgs/development/compilers/graalvm
AgeCommit message (Collapse)Author
2022-07-27graalvm-ce: 22.1.0 -> 22.2.0José Luis Lafuente
2022-06-29maintainers: remove volthajs124
github account deleted
2022-06-19Revert "graalvmXX-ce: use a patched version of zlib"Vladimír Čunát
2022-06-16graalvmXX-ce: use a patched version of zlibThiago Kenji Okada
The previous releases of zlib were not sensitive to incorrect CRC inputs with bits set above the low 32. Some programs were depended on this behavior, including GraalVM. So this commit backports a patch from `zlib` develop that brings back the old behavior. This will probably be included in the next release of zlib. Before: ``` $ rm -rf ~/.babashka $ bb -e "(babashka.pods/load-pod 'clj-kondo/clj-kondo \"2022.05.31\")" Downloading pod clj-kondo/clj-kondo (2022.05.31) ----- Error -------------------------------------------------------------------- Type: java.util.zip.ZipException Message: invalid entry CRC (expected 0x269cdf2c but got 0x13b86fd8) Location: <expr>:1:1 ----- Context ------------------------------------------------------------------ 1: (babashka.pods/load-pod 'clj-kondo/clj-kondo "2022.05.31") ^--- invalid entry CRC (expected 0x269cdf2c but got 0x13b86fd8) ----- Stack trace -------------------------------------------------------------- babashka.pods.impl.resolver/unzip - <built-in> babashka.pods.impl.resolver/resolve/fn--30674 - <built-in> clojure.core/mapv/fn--8535 - <built-in> clojure.core.protocols/fn--8244 - <built-in> clojure.core.protocols/fn--8204/G--8199--8213 - <built-in> ... (run with --debug to see elided elements) babashka.pods.sci/load-pod/fn--30887 - <built-in> babashka.pods.sci/load-pod - <built-in> clojure.core/apply - <built-in> babashka.impl.pods/load-pod - <built-in> user - <expr>:1:1 ``` After: ``` $ rm -rf ~/.babashka $ ./result/bin/bb -e "(babashka.pods/load-pod 'clj-kondo/clj-kondo \"2022.05.31\")" Downloading pod clj-kondo/clj-kondo (2022.05.31) Successfully installed pod clj-kondo/clj-kondo (2022.05.31) ``` The issue should affect other programs using GraalVM, but this was the test that I had at hand.
2022-04-28graalvm17-ce, graalvm11-ce: 22.0.0.2 -> 22.1.0Jakub Kozłowski
2022-04-21graalvmXX-ce: fix in darwin by ensuring `$lib/lib` always existThiago Kenji Okada
2022-04-19graalvmXX-ce: refactorThiago Kenji Okada
- Simplify `preFixup` phase - Update documentation - Quote some variables
2022-04-16graalvmXX-ce: add documentation to mkGraal functionThiago Kenji Okada
2022-04-16graalvmXX-ce: add sourcesPath parameterThiago Kenji Okada
In #168816, we removed support for Python/Ruby/WASM to reduce the support burden of GraalVM languages that, arguably, are not really being used. However, the way that `pkgs.graalvmCEPackages.mkGraal` function works right now doesn't allow passing a custom sources file, that would allow someone to compile GraalVM with the additional products (e.g.: Python). This PR adds this possibility. So if someone wants to create a custom graalvm11-ce derivation with Python support, for example, they can do something like this: ```nix let graalvm11-ce-custom = pkgs.graalvmCEPackages.mkGraal { config = { x86_64-linux = { products = [ "graalvm-ce" "python-installable-svm" ]; arch = "linux-amd64"; }; }; defaultVersion = "22.0.0.2"; javaVersion = "11"; platforms = "x86_64-linux"; sourcesPath = /home/someone/graalvm11-ce-sources.json; }; in { environment.systemPackages = [ graalvm11-ce-custom ]; } ```
2022-04-16graalvm17-ce: enable Native Image in aarch64-linuxThiago Kenji Okada
Co-authored-by: tricktron <tgagnaux@gmail.com>
2022-04-15buildGraalvmNativeImage: mark as broken if Native Image is not availableThiago Kenji Okada
2022-04-15graalvm17-ce: re-enable it on aarch64-linuxThiago Kenji Okada
However without support for Native Image, since it is failing to build.
2022-04-15graalvmXX-ce: remove Ruby/Python/WASM supportThiago Kenji Okada
Those additional languages does not seem to really have much usage (e.g.: none in nixpkgs). For example, Ruby is pretty much broken for all environments for quite sometime already, however nobody seemed to border enough to fix it. They also add a good amount of size to the derivation. So let's remove them. It should be really easy if someone still cares for them and want to add them back on their own system: just use the `mkGraal` function (that we export) to generate their own version of GraalVM with all extra features they want.
2022-04-15graalvmXX-ee: removeThiago Kenji Okada
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-02graalvmXX-ce: fix relative pathsThibault Gagnaux
2022-04-02graalvmXX-ce: use the release version as `defaultVersion`Thibault Gagnaux
2022-04-02graalvmXX-ce: add review suggestionsThibault Gagnaux
Co-authored-by: Thiago Kenji Okada <thiagokokada@gmail.com>
2022-04-01graalvmXX-ce: extract common configThibault Gagnaux
2022-04-01graalvmXX-ce: remove graalvmXX-ce-dev and use dev version in graalvmXX-ce on ↵Thibault Gagnaux
aarch64-darwin
2022-03-31graalvmXX-ce: refactor and clean up of update.nixThibault Gagnaux
The update script fetches the latest versions and only computes/downloads the sha256 if there is a new version to improve runtime.
2022-03-31graalvm17-ce-dev: init with aarch64-darwinThibault Gagnaux
2022-03-31graalvmXX-ce: new update scriptThibault Gagnaux
2022-01-26graalvm11-ce: 21.3.0 -> 22.0.0.2Eric Dallo
graalvm17-ce: 21.3.0 -> 22.0.0.2
2021-12-27graalvm-ce: multiple fixes and improvementsThiago Kenji Okada
- 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-10-22graalvm-ce: fix nix-shell incantation order on update.shThiago Kenji Okada
2021-10-21graalvm-ce: add hashes parameter to mkGraalThiago Kenji Okada
2021-10-21graalvm-ce: add missing gnused to update.shThiago Kenji Okada
2021-10-20graalvm-ce: add graalvm17-ceThiago Kenji Okada
2021-10-20graalvm-ce: remove nativePRNGWorkaroundThiago Kenji Okada
Seems that native-image works fine nowadays without it.
2021-10-20graalvm-ce: remove version file, use nix itselfThiago Kenji Okada
2021-10-20graalvm-ce: check if version is latest on update.shThiago Kenji Okada
2021-10-20graalvm-ce: 21.2.0 -> 21.3.0Thiago Kenji Okada
- 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-18Merge pull request #141825 from thiagokokada/port-graalvm-to-aarch64Sandro
2021-10-15graalvm11-ce: add support for aarch64-linuxThiago Kenji Okada
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-15graalvm: remove derivationThiago Kenji Okada
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-04treewide: avoid use of lib.optional with list in inputsfigsoda
2021-10-02graalvm-ce: create empty lib directory on macOSThiago Kenji Okada
2021-10-02graalvm-ce: add lib outputThiago Kenji Okada
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-09-03graalvm: move gfortran to nativeBuildInputsMarkus Kowalewski
2021-08-04graalvmce: 21.0.0 -> 21.2.0Eric Dallo
2021-07-23Merge pull request #110567 from taku0/jdk_ln_headersSandro
2021-06-23graalvm-ce: fix NativePRNG errors on darwinBastien Riviere
Fix NativePRNG errors when building softwares like `babashka`. Also temporarly disable JShell in installCheckPhase.
2021-06-10Change all alsaLib references to alsa-libAndersonTorres
2021-04-04lzma: deprecate aliasSandro Jäckel
2021-03-07graalvm8-ce, graalvm11-ce: link jni_md.h to include foldertaku0
See https://discourse.nixos.org/t/nix-shell-environment-to-debug-a-build-of-an-r-package/11010/4
2021-02-27Merge staging-next into staginggithub-actions[bot]
2021-02-27adoptopenjdk-bin, zulu, graalvm11-ce: do not wrap jspawnhelpertaku0
Fix #114495. Note that OpenJDK 8 does not have jspawnhelper.
2021-02-20treewide: unzip buildInputs to nativeBuildInputs (#112302)Ben Siraphob
2021-02-18graalvm11-ce, graalvm8-ce: add support for GTK+ Look and Feeltaku0
2021-02-18graalvm11-ce, graalvm8-ce: add support for Swing appstaku0
Adds needed libraries with `autoPatchelfHook`. This ensures required libraries are linked for future.