Skip to content

Commit

Permalink
#2 Native compile with -march=compatibility for best CPU compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
petoncle committed May 19, 2024
1 parent 1b3a20e commit 01a94f8
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# https://github.com/oracle/graal/issues/2527
# AddAllCharsets is for avoiding a warning on startup
Args=-H:+AddAllCharsets
# AddAllCharsets is for avoiding a warning on startup.
# -march=compatibility is to fix issue #2:
# 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, BMI1, BMI2, FMA].
Args=-H:+AddAllCharsets -march=compatibility

0 comments on commit 01a94f8

Please sign in to comment.