diff options
author | Godeps | 2023-02-11 16:57:45 +0100 |
---|---|---|
committer | Godeps | 2023-02-11 16:57:45 +0100 |
commit | 45ad0b4a373f2fc6dc85e0e86940472b5281cbf1 (patch) | |
tree | 05310e68ed634b9cd5c3fcb8e0fe299bcb757898 /graalvm-ee-rebuild-libpolyglot.hook | |
download | aur-jdk19-graalvm-ee-bin.tar.gz |
Initial Push.
Diffstat (limited to 'graalvm-ee-rebuild-libpolyglot.hook')
-rw-r--r-- | graalvm-ee-rebuild-libpolyglot.hook | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graalvm-ee-rebuild-libpolyglot.hook b/graalvm-ee-rebuild-libpolyglot.hook new file mode 100644 index 000000000000..3a8cfb845dbd --- /dev/null +++ b/graalvm-ee-rebuild-libpolyglot.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = Path +Operation = Install +Operation = Upgrade +Operation = Remove +Target = usr/lib/jvm/java-JAVA-graalvm-ee/* + +[Action] +Description = Suggest rebuilding GraalVM EE libpolyglot component +When = PostTransaction +Exec = /usr/bin/printf '%s\n' 'Changes to GraalVM EE detected.' 'You may need to rebuild libpolyglot (and possibly other components) with the following command:' ' /usr/lib/jvm/java-JAVA-graalvm-ee/bin/gu rebuild libpolyglot' "Note that this will take a while (which is why it's not done automatically):" 'the package maintainer has experienced CPU times upwards of _four hours_.' '(However, it parallelizes fairly well, so wall-clock time will depend on your CPU.)' "If you don't rebuild libpolyglot, then --polyglot without --jvm probably won't work right." |