Vladimír Čunát
34ec699ea0
graalvmCEPackages.python-installable-svm-java*: fix by libxcrypt-legacy
...
https://hydra.nixos.org/build/213259071
2023-03-25 10:47:29 +01:00
José Luis Lafuente
9dafd18b80
graalvm19-ce: init at 22.3.1
2023-02-22 10:47:02 +01:00
Thiago Kenji Okada
cc7ec82f3c
graalvmCEPackages.nodejs-installable-svm: init at 22.3.1
2023-02-15 22:43:08 +00:00
Thiago Kenji Okada
3a53307dd9
graalvmCEPackages.buildGraalvmProduct: link languages .so to $out/lib
2023-02-15 22:43:08 +00:00
Thiago Kenji Okada
1e39bda357
graalvm*-ce: improve update.sh script
2023-02-15 21:15:38 +00:00
Thiago Kenji Okada
76e8420cf8
graalvmCEPackages: remove unnecessary inputs
2023-02-15 21:07:19 +00:00
Thiago Kenji Okada
cce466a582
graalvm*-ce: allow all parameters to be overriden
2023-02-14 19:04:12 +00:00
Thiago Kenji Okada
3926d8c482
graalvmCEPackages.ruby-installable-svm: disable broken test in darwin
2023-02-14 17:53:57 +00:00
Thiago Kenji Okada
19e4e0a5e9
graalvmCEPackages.graaljs: init at 22.3.1
2023-02-14 17:19:52 +00:00
Thiago Kenji Okada
248449fbdf
graalvmCEPackages: formatting
2023-02-14 17:00:45 +00:00
Thiago Kenji Okada
820eb1cc8d
graalvmCEPackages.buildGraalvm: disable test in Darwin
2023-02-14 17:00:01 +00:00
Thiago Kenji Okada
eaa3e39cc0
graalvmCEPackages.ruby-installable-svm: run patchelf only in Linux
2023-02-14 16:53:34 +00:00
Thiago Kenji Okada
a065de41ac
graalvmCEPackages.ruby-installable-svm: update comment about locale
2023-02-14 16:44:24 +00:00
Thiago Kenji Okada
3e5d655f0f
graalvmCEPackages.graalvm11-ce-full: fix llvm-installable-svm version
2023-02-14 16:43:06 +00:00
Thiago Kenji Okada
c9d481f3ca
graalvm*-ce-full: improve comment about it
2023-02-14 16:32:49 +00:00
Thiago Kenji Okada
acf8579307
graalvmCEPackages.buildGraalvmProduct: add passthru.graalvmPhases
...
This way it is easier to differentiate between phases running in the
`buildGraalvmProduct` and `buildGraalvm`.
2023-02-14 16:01:43 +00:00
Thiago Kenji Okada
140046c422
graalvmCEPackages.ruby-installable-svm: init at 22.3.1
2023-02-14 15:46:39 +00:00
Thiago Kenji Okada
365ff22467
graalvmCEPackages.llvm-installable-svm: init at 22.3.1
2023-02-14 15:34:17 +00:00
Thiago Kenji Okada
4f150675ba
graalvm*-ce: make update.sh script re-use cache
2023-02-14 15:17:12 +00:00
Thiago Kenji Okada
171730f0f7
graalvmCEProducts.buildGraalvmProduct: make it overridable
2023-02-13 23:10:39 +00:00
Thiago Kenji Okada
e17f76f94f
graalvmCEPackages.wasm-installable-svm: init at 22.3.1
2023-02-13 21:45:03 +00:00
Thiago Kenji Okada
c37428c7f3
graalvmCEPackages.python-installable-svm: init at 22.3.1
2023-02-13 21:45:03 +00:00
Thiago Kenji Okada
ccbff74b88
graalvmCEPackages.buildGraalvmProduct: inherit default meta from graalvm-ce
2023-02-13 21:45:03 +00:00
Thiago Kenji Okada
d2e047f112
graalvm-ce: add it to all-packages pointing to graalvm11-ce
2023-02-12 19:08:44 +00:00
Thiago Kenji Okada
542c88f871
graalvm*-ce: remove old sources file
2023-02-12 14:46:56 +00:00
Thiago Kenji Okada
79c2eceda8
graalvm*-ce: 22.3.0 -> 22.3.1, migrate upgrade script to sh
2023-02-11 13:37:15 +00:00
Thiago Kenji Okada
0c7f039bad
maintainers/team-list: create graalvm-ce team
2023-02-09 23:46:19 +00:00
Thiago Kenji Okada
1da6843f1b
buildGraalvm: do not add products inputs
2023-02-09 23:41:40 +00:00
Thiago Kenji Okada
0b6052b8b0
graalvm*-ce: re-added darwin support
2023-02-09 23:36:29 +00:00
Thiago Kenji Okada
78c9e8b76e
graalvm*-ce: remove unneeded params
2023-02-09 23:06:27 +00:00
Thiago Kenji Okada
68e6010e81
native-image-installable-svm: add useMusl option back
2023-02-09 23:04:45 +00:00
Thiago Kenji Okada
6b60a4fc50
buildGraalvmProduct: document phase behavior
2023-02-09 22:54:06 +00:00
Thiago Kenji Okada
daf668db55
mkGraal: remove
2023-02-09 22:14:12 +00:00
Thiago Kenji Okada
4f3ede6897
buildGraalvm: add passthru
2023-02-09 22:14:12 +00:00
Thiago Kenji Okada
58bfc885bf
native-image-installable-svm: move it to its own file
2023-02-09 22:14:12 +00:00
Thiago Kenji Okada
256195c07a
native-image-installable-svm: init at 22.3.0
...
Also refactor the buildGraalvm derivation, allowing it to compose with
the other products.
2023-02-09 21:42:39 +00:00
Thiago Kenji Okada
4e51b4a5cb
graalvm*-ce: refactor derivation to be stand-alone
...
First step to separate the main GraalVM derivation and each of its
products in separate derivations, making them more composable.
2023-02-09 21:42:39 +00:00
Thiago Kenji Okada
3e8caec842
mkGraal: move some parameters to be easier to override
2023-02-07 17:04:03 +00:00
Thiago Kenji Okada
afb99ad5d4
graalvm*-ce: wrap native-image to pass -H:CLibraryPath, misc improvements
...
Fixes issue #214922 by not adding C libraries to the default library
path of GraalVM. This should reduce the closure size of native compiled
binaries in nixpkgs again, e.g.:
Before:
```
$ ldd ./result/bin/bb
linux-vdso.so.1 (0x00007fff2669b000)
libstdc++.so.6 => /nix/store/qbgfsaviwqi2p6jr7an1g2754sv3xqhn-gcc-11.3.0-lib/lib/libstdc++.so.6 (0x00007f77fc0cf000)
libm.so.6 => /nix/store/l7vp7c9z03dspbmss3gq5wdwx5c6ifcq-graalvm11-ce-22.3.0/lib/svm/clibraries/linux-amd64/libm.so.6 (0x00007f77fbfef000)
libpthread.so.0 => /nix/store/l7vp7c9z03dspbmss3gq5wdwx5c6ifcq-graalvm11-ce-22.3.0/lib/svm/clibraries/linux-amd64/libpthread.so.0 (0x00007f77fbfea000)
libdl.so.2 => /nix/store/l7vp7c9z03dspbmss3gq5wdwx5c6ifcq-graalvm11-ce-22.3.0/lib/svm/clibraries/linux-amd64/libdl.so.2 (0x00007f77fbfe5000)
librt.so.1 => /nix/store/l7vp7c9z03dspbmss3gq5wdwx5c6ifcq-graalvm11-ce-22.3.0/lib/svm/clibraries/linux-amd64/librt.so.1 (0x00007f77fbfde000)
libc.so.6 => /nix/store/l7vp7c9z03dspbmss3gq5wdwx5c6ifcq-graalvm11-ce-22.3.0/lib/svm/clibraries/linux-amd64/libc.so.6 (0x00007f77fbdd5000)
/nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/ld-linux-x86-64.so.2 => /nix/store/9xfad3b5z4y00mzmk2wnn4900q0qmxns-glibc-2.35-224/lib64/ld-linux-x86-64.so.2 (0x00007f77fc2e7000)
libgcc_s.so.1 => /nix/store/qbgfsaviwqi2p6jr7an1g2754sv3xqhn-gcc-11.3.0-lib/lib/libgcc_s.so.1 (0x00007f77fbdbb000)
```
After:
```
$ ldd ./result/bin/bb
linux-vdso.so.1 (0x00007fffdfd4e000)
libstdc++.so.6 => /nix/store/qbgfsaviwqi2p6jr7an1g2754sv3xqhn-gcc-11.3.0-lib/lib/libstdc++.so.6 (0x00007fc3a5658000)
libm.so.6 => /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/libm.so.6 (0x00007fc3a5578000)
libpthread.so.0 => /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/libpthread.so.0 (0x00007fc3a5573000)
libdl.so.2 => /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/libdl.so.2 (0x00007fc3a556e000)
librt.so.1 => /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/librt.so.1 (0x00007fc3a5569000)
libc.so.6 => /nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/libc.so.6 (0x00007fc3a535e000)
/nix/store/c35hf8g5b9vksadym9dbjrd6p2y11m8h-glibc-2.35-224/lib/ld-linux-x86-64.so.2 => /nix/store/9xfad3b5z4y00mzmk2wnn4900q0qmxns-glibc-2.35-224/lib64/ld-linux-x86-64.so.2 (0x00007fc3a5870000)
libgcc_s.so.1 => /nix/store/qbgfsaviwqi2p6jr7an1g2754sv3xqhn-gcc-11.3.0-lib/lib/libgcc_s.so.1 (0x00007fc3a5344000)
```
Also improves the installCheckPhase to include more tests and improve
the old onest .
2023-02-07 17:00:13 +00:00
Thiago Kenji Okada
4b093872a6
Merge pull request #209060 from Sohalt/graal-vm-js
...
pkgs/graalvm: add graaljs installable
2023-01-20 12:09:16 +00:00
Thiago Kenji Okada
755864aba0
graalvm*-ce: add meta.mainProgram
2023-01-07 14:46:25 +00:00
Thiago Kenji Okada
3085ef40d9
graalvm*-ce: add meta.sourceProvenance
2023-01-07 14:45:08 +00:00
sohalt
a946ae14b4
pkgs/graalvm: add graaljs installable
2023-01-04 17:34:47 +01:00
figsoda
ec8cb34358
treewide: fix typos
2022-12-17 19:39:44 -05:00
Daniel Albert
7e3759d18e
graalvm-ce: 22.2.0 -> 22.3.0
...
Release notes: https://www.graalvm.org/release-notes/22_3/
2022-10-27 11:06:12 +02:00
José Luis Lafuente
dae7b421f7
graalvm-ce: 22.1.0 -> 22.2.0
2022-07-27 12:57:41 +02:00
ajs124
a0718341e6
maintainers: remove volth
...
github account deleted
2022-06-29 00:52:12 +02:00
Vladimír Čunát
2f002a9667
Revert "graalvmXX-ce: use a patched version of zlib"
2022-06-19 08:54:21 +02:00
Thiago Kenji Okada
b2f19ab3b5
graalvmXX-ce: use a patched version of zlib
...
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-06-16 11:27:34 +01:00
Jakub Kozłowski
8fa669acb4
graalvm17-ce, graalvm11-ce: 22.0.0.2 -> 22.1.0
2022-04-28 00:21:08 +02:00