Skip to content

Commit

Permalink
Bugfix current machine CPU features error
Browse files Browse the repository at this point in the history
  • Loading branch information
flawmop committed Feb 9, 2024
1 parent 9e2ac12 commit b236828
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ dependencyManagement {
}
}

// On deploy error of ....
// The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BM>
// Please rebuild the executable with an appropriate setting of the -march option.
tasks.named('bootBuildImage') {
environment = [
'BP_NATIVE_IMAGE_BUILD_ARGUMENTS' : '-march=compatibility'
]
}

tasks.named('test') {
useJUnitPlatform()
}
}

0 comments on commit b236828

Please sign in to comment.