File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
core/deployment/src/main/java/io/quarkus/deployment/pkg/steps Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11package io .quarkus .deployment .pkg .steps ;
22
3- import static io .quarkus .deployment .builditem .nativeimage .UnsupportedOSBuildItem .Arch .AMD64 ;
4-
53import java .io .File ;
64import java .io .IOException ;
75import java .io .UncheckedIOException ;
5856import io .quarkus .runtime .graal .DisableLoggingFeature ;
5957import io .quarkus .sbom .ApplicationComponent ;
6058import io .quarkus .sbom .ApplicationManifestConfig ;
59+ import io .smallrye .common .cpu .CPU ;
6160import io .smallrye .common .os .OS ;
6261import io .smallrye .common .process .AbnormalExitException ;
6362import io .smallrye .common .process .ProcessBuilder ;
@@ -837,7 +836,7 @@ public NativeImageInvokerInfo build() {
837836 */
838837 if (graalVMVersion .compareTo (GraalVM .Version .VERSION_24_2_0 ) >= 0
839838 && graalVMVersion .compareTo (GraalVM .Version .VERSION_25_0_0 ) < 0
840- && AMD64 . active ) {
839+ && ( CPU . host () == CPU . x64 ) ) {
841840 addExperimentalVMOption (nativeImageArgs , "-H:+ForeignAPISupport" );
842841 }
843842
You can’t perform that action at this time.
0 commit comments