File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,16 @@ def parse_args():
3636 p = argparse .ArgumentParser (description = "Local dpctl build driver" )
3737
3838 p .add_argument (
39- "--c-compiler" , default = None , help = "Path or name of C compiler"
39+ "--c-compiler" ,
40+ type = str ,
41+ default = None ,
42+ help = "Path or name of C compiler" ,
4043 )
4144 p .add_argument (
42- "--cxx-compiler" , default = None , help = "Path or name of C++ compiler"
45+ "--cxx-compiler" ,
46+ type = str ,
47+ default = None ,
48+ help = "Path or name of C++ compiler" ,
4349 )
4450 p .add_argument (
4551 "--compiler-root" ,
Original file line number Diff line number Diff line change @@ -118,13 +118,20 @@ def parse_args():
118118
119119 p .add_argument (
120120 "--gtest-config" ,
121+ type = str ,
121122 help = "Path to GTestConfig.cmake file for a custom GTest installation" ,
122123 )
123124 p .add_argument (
124125 "--bin-llvm" ,
126+ type = str ,
125127 help = "Path to folder where llvm-cov/llvm-profdata can be found" ,
126128 )
127- p .add_argument ("--skip-pytest" , dest = "run_pytest" , action = "store_false" )
129+ p .add_argument (
130+ "--skip-pytest" ,
131+ dest = "run_pytest" ,
132+ action = "store_false" ,
133+ help = "Skip running pytest and coverage generation" ,
134+ )
128135 p .add_argument (
129136 "--clean" ,
130137 action = "store_true" ,
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ def parse_args():
9797
9898 p .add_argument (
9999 "--doxyrest-root" ,
100+ type = str ,
100101 help = (
101102 "Path to Doxyrest installation to use to generate Sphinx docs"
102103 + "for libsyclinterface"
You can’t perform that action at this time.
0 commit comments