File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ def run(
30
30
run_pytest = False ,
31
31
bin_llvm = None ,
32
32
gtest_config = None ,
33
+ verbose = False ,
33
34
):
34
35
IS_LIN = False
35
36
@@ -68,6 +69,10 @@ def run(
68
69
env .update ({k : v for k , v in os .environ .items () if k != "PATH" })
69
70
if gtest_config :
70
71
cmake_args += ["-DCMAKE_PREFIX_PATH=" + gtest_config ]
72
+ if verbose :
73
+ cmake_args += [
74
+ "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON" ,
75
+ ]
71
76
subprocess .check_call (cmake_args , shell = False , cwd = setup_dir , env = env )
72
77
cmake_build_dir = (
73
78
subprocess .check_output (
@@ -186,6 +191,12 @@ def is_py_ext(fn):
186
191
driver .add_argument (
187
192
"--bin-llvm" , help = "Path to folder where llvm-cov can be found"
188
193
)
194
+ driver .add_argument (
195
+ "--verbose" ,
196
+ help = "Build using vebose makefile mode" ,
197
+ dest = "verbose" ,
198
+ action = "store_true" ,
199
+ )
189
200
driver .add_argument (
190
201
"--gtest-config" ,
191
202
help = "Path to the GTestConfig.cmake file to locate a "
@@ -233,4 +244,5 @@ def is_py_ext(fn):
233
244
run_pytest = args .run_pytest ,
234
245
bin_llvm = args .bin_llvm ,
235
246
gtest_config = args .gtest_config ,
247
+ verbose = args .verbose ,
236
248
)
You can’t perform that action at this time.
0 commit comments