Commit 466a089 1 parent 269a1a0 commit 466a089 Copy full SHA for 466a089
File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 10
10
import venv
11
11
import shutil
12
12
import subprocess
13
+ import functools
13
14
14
15
from prereqs import check_prereqs
15
16
17
+ # Disable buffered output so that the log statements and subprocess output get interleaved in proper order
18
+ print = functools .partial (print , flush = True )
19
+
16
20
parser = argparse .ArgumentParser (
17
21
description = "Builds all projects in the repo, unless specific projects to build are passed "
18
22
"as options, in which case only those projects are built."
Original file line number Diff line number Diff line change 10
10
import sys
11
11
import subprocess
12
12
import tempfile
13
+ import functools
13
14
14
15
python_ver = (3 , 11 ) # Python support for Windows on ARM64 requires v3.11 or later
15
16
rust_ver = (1 , 69 ) # Ensure Rust version 1.69 or later is installed
21
22
rust_fmt_ver = (1 , 5 , 2 ) # Current version when Rust 1.69 shipped
22
23
clippy_ver = (0 , 1 , 69 )
23
24
25
+ # Disable buffered output so that the log statements and subprocess output get interleaved in proper order
26
+ print = functools .partial (print , flush = True )
27
+
24
28
25
29
def check_prereqs (install = False ):
26
30
### Check the Python version ###
You can’t perform that action at this time.
0 commit comments