Skip to content

Commit 238c9d7

Browse files
committed
Do not set target.llvm_version on empty string
1 parent a610414 commit 238c9d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tools/jit/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
target.force = args.force
5050
target.verbose = args.verbose
5151
target.cflags = args.cflags
52-
target.llvm_version = args.llvm_version
52+
if args.llvm_version:
53+
target.llvm_version = args.llvm_version
5354
target.pyconfig_dir = args.pyconfig_dir
5455
target.build(
5556
comment=comment,

0 commit comments

Comments
 (0)