From 9a6931ad54c8c2cae7eddf77c5f1484d468d3add Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sat, 19 Oct 2024 22:02:40 -0400 Subject: [PATCH] Add -march=compatibility --- build.sbt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sbt b/build.sbt index 10ee6465f..30d3806aa 100644 --- a/build.sbt +++ b/build.sbt @@ -1188,6 +1188,10 @@ lazy val sbtClientProj = (project in file("client")) nativeImageOptions ++= Seq( "--no-fallback", s"--initialize-at-run-time=sbt.client", + // "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, F16C]." + "-march=compatibility", // "--verbose", "-H:IncludeResourceBundles=jline.console.completer.CandidateListCompletionHandler", "-H:+ReportExceptionStackTraces",