Geben Sie `-march` in einem Spring Boot Native Build anJava

Java-Forum
Anonymous
 Geben Sie `-march` in einem Spring Boot Native Build an

Post by Anonymous »

Ich baue ein natives Feder-Boot-Bild mit MVN Spring-Boot: Build-Image < /code> in einem Github-Workflow. FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA]. --march =-march = x86_64 in mehrfacher Arten, aber keiner von ihnen scheint zu funktionieren.

Code: Select all


native




org.graalvm.buildtools
native-maven-plugin



build



--march=x86-64






org.springframework.boot
spring-boot-maven-plugin


process-aot

native









< /code>
Auch auf unterschiedliche Weise mit dem Befehl Build: < /p>
mvn -B -P native spring-boot:build-image -Dspring-boot.build-image.nativeArgs="--march=x86_64"

mvn -B -P native spring-boot:build-image -Dspring-boot.build-image.nativeArgs=--march=x86_64

mvn -B -P native spring-boot:build-image -Dspring.native.build-args=--march=x86-64
Wie kann das Argument - -march Argument richtig angeben? Ich habe auch diese Optionen ausprobiert, die nicht funktionierten: < /p>

Code: Select all

mvn -B -P native spring-boot:build-image -Dspring-boot.build-image.nativeArgs=-march=x86-64

mvn -B -P native spring-boot:build-image -Dspring.native.build-args=-march=x86-64
Auch dies ist in pom.xml :
fehlgeschlagen.

Code: Select all

org.graalvm.buildtools
native-maven-plugin



build



-march=x86-64





Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post