We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d10999 commit a2207a4Copy full SHA for a2207a4
1 file changed
src/java_tools/buildjar/java/com/google/devtools/build/java/turbine/BUILD
@@ -45,6 +45,13 @@ native_image(
45
"-H:+StaticExecutableWithDynamicLibC",
46
],
47
"//conditions:default": [],
48
+ }) + select({
49
+ "@platforms//cpu:x86_64": [
50
+ # Graal's default settings result in executables that aren't sufficiently compatible for
51
+ # general use in Bazel.
52
+ "-march=x86-64-v2",
53
+ ],
54
+ "//conditions:default": [],
55
}),
56
main_class = _TURBINE_MAIN_CLASS,
57
# This provides libz.a on Linux instead of the host system.
0 commit comments