GH-115869: Make jit_stencils.h reproducible (GH-127166)

This commit is contained in:
Brandt Bucher 2024-11-24 14:42:50 -08:00 committed by GitHub
parent 307c633586
commit 17c16aea66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 18 additions and 9 deletions

View file

@ -8,7 +8,7 @@ import sys
import _targets
if __name__ == "__main__":
comment = f"$ {shlex.join([sys.executable] + sys.argv)}"
comment = f"$ {shlex.join([pathlib.Path(sys.executable).name] + sys.argv)}"
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument(
"target", type=_targets.get_target, help="a PEP 11 target triple to compile for"