You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mx.warn("PGO profile must exist for benchmarking and release, creating one now...")
306
317
profile=graalpy_native_pgo_build_and_test([])
307
318
308
-
ifos.path.isfile(profileor""):
309
-
mx.log(f"Using PGO profile {profile}")
310
-
build_args+= [
311
-
f"--pgo={profile}",
312
-
"-H:+UnlockExperimentalVMOptions",
313
-
"-H:+PGOPrintProfileQuality",
314
-
"-H:-UnlockExperimentalVMOptions",
315
-
]
316
-
else:
317
-
mx.log(f"Not using any PGO profile")
319
+
ifos.path.isfile(profileor""):
320
+
print(invert(f"Automatically chose PGO profile {profile}. To disable this, set GRAALPY_PGO_PROFILE to an empty string'", blinking=True), file=sys.stderr)
321
+
build_args+= [
322
+
f"--pgo={profile}",
323
+
"-H:+UnlockExperimentalVMOptions",
324
+
"-H:+PGOPrintProfileQuality",
325
+
"-H:-UnlockExperimentalVMOptions",
326
+
]
327
+
else:
328
+
print(invert("Not using an automatically selected PGO profile"), file=sys.stderr)
0 commit comments