mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
GH-134273: Allow setting JIT compiler flags at build time with CFLAGS_JIT (GH134276)
This commit is contained in:
parent
73431356d3
commit
2b0c684e07
5 changed files with 12 additions and 2 deletions
|
|
@ -39,11 +39,15 @@
|
|||
parser.add_argument(
|
||||
"-v", "--verbose", action="store_true", help="echo commands as they are run"
|
||||
)
|
||||
parser.add_argument(
|
||||
"--cflags", help="additional flags to pass to the compiler", default=""
|
||||
)
|
||||
args = parser.parse_args()
|
||||
for target in args.target:
|
||||
target.debug = args.debug
|
||||
target.force = args.force
|
||||
target.verbose = args.verbose
|
||||
target.cflags = args.cflags
|
||||
target.pyconfig_dir = args.pyconfig_dir
|
||||
target.build(
|
||||
comment=comment,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue