File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def check_ipex(self):
5454 self .cmake_prefix_paths .append (intel_extension_for_pytorch .cmake_prefix_path )
5555
5656 def check_call (self , * popenargs , ** kwargs ):
57- print (" " .join (popenargs [0 ]))
57+ log . info (" " .join (popenargs [0 ]))
5858 if not self .dry_run :
5959 subprocess .check_call (* popenargs , ** kwargs )
6060
@@ -69,7 +69,7 @@ def build_extension(self):
6969 "-DCMAKE_MAKE_PROGRAM=" +
7070 ninja_dir , # Pass explicit path to ninja otherwise cmake may cache a temporary path
7171 "-DCMAKE_PREFIX_PATH=" + ";" .join (self .cmake_prefix_paths ),
72- "-DUSE_IPEX=" + ( "1" if self .use_ipex else "0" ) ,
72+ f "-DUSE_IPEX={ int ( self .use_ipex ) } " ,
7373 "-DCMAKE_INSTALL_PREFIX=" + self .extdir ,
7474 "-DPython3_ROOT_DIR:FILEPATH=" + sys .exec_prefix ,
7575 "-DCMAKE_VERBOSE_MAKEFILE=TRUE" ,
You can’t perform that action at this time.
0 commit comments