Skip to content

[GR-66559] Bump the JDK requirements for pegasus #11823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions substratevm/mx.substratevm/mx_substratevm_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,8 @@ def lookup_bundle(self, app_name: str, layer_info: Layer, app_dir: Path) -> List

def generate_bundle(self, app_name: str, layer_info: Layer):
"""Generates the NIB file for the app-layer pair associated with the current benchmark stage."""
if app_name == "micronaut-pegasus-function" and mx.get_env("JDK17_HOME") is None:
mx.abort(f"App '{app_name}' requires JDK17_HOME env var to point to a JDK 17 distribution in order to build maven project.")
if app_name == "micronaut-pegasus-function" and mx.get_env("JDK21_HOME") is None:
mx.abort(f"App '{app_name}' requires JDK21_HOME env var to point to a JDK 21 distribution in order to build maven project.")

nib_generation_cmd = ["./graalos-gate.py", "build", "--build-profile", "nib", app_name]
if layer_info is not None:
Expand Down