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...")
317
-
profile=graalpy_native_pgo_build_and_test([])
318
+
profile=graalpy_native_pgo_build_and_test()
318
319
319
320
ifos.path.isfile(profileor""):
320
321
print(invert(f"Automatically chose PGO profile {profile}. To disable this, set GRAALPY_PGO_PROFILE to an empty string'", blinking=True), file=sys.stderr)
@@ -329,7 +330,7 @@ def libpythonvm_build_args():
329
330
returnbuild_args
330
331
331
332
332
-
defgraalpy_native_pgo_build_and_test(_):
333
+
defgraalpy_native_pgo_build_and_test(args=None):
333
334
"""
334
335
Builds a PGO-instrumented GraalPy native standalone, runs the unittests to generate a profile,
335
336
then builds a PGO-optimized GraalPy native standalone with the collected profile.
0 commit comments