Skip to content

Commit 52f9fbd

Browse files
committed
Silence build output of fallback builds.
1 parent 8dcfd50 commit 52f9fbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

substratevm/src/com.oracle.svm.driver/src/com/oracle/svm/driver/NativeImage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,7 @@ private ArrayList<String> createFallbackBuildArgs() {
630630
buildArgs.add(fallbackExecutorJavaArg);
631631
}
632632

633+
buildArgs.add(oH + "+" + SubstrateOptions.BuildOutputSilent.getName());
633634
buildArgs.add(oH + "+" + SubstrateOptions.ParseRuntimeOptions.getName());
634635
Path imagePathPath;
635636
try {
@@ -1407,6 +1408,7 @@ protected static void build(BuildConfiguration config, Function<BuildConfigurati
14071408
int buildStatus = nativeImage.completeImageBuild();
14081409
if (buildStatus == 2) {
14091410
/* Perform fallback build */
1411+
nativeImage.showMessage("Generating fallback image...");
14101412
build(new FallbackBuildConfiguration(nativeImage), nativeImageProvider);
14111413
showWarning("Image '" + nativeImage.imageName +
14121414
"' is a fallback image that requires a JDK for execution " +

0 commit comments

Comments
 (0)