@@ -431,9 +431,8 @@ def build_extension(self, ext):
431431 "-DCMAKE_MAKE_PROGRAM=" +
432432 ninja_dir , # Pass explicit path to ninja otherwise cmake may cache a temporary path
433433 "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" , "-DLLVM_ENABLE_WERROR=ON" ,
434- "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=" + extdir , "-DTRITON_BUILD_TUTORIALS=OFF" ,
435- "-DTRITON_BUILD_PYTHON_MODULE=ON" , "-DPython3_EXECUTABLE:FILEPATH=" + sys .executable ,
436- "-DPython3_INCLUDE_DIR=" + python_include_dir ,
434+ "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=" + extdir , "-DTRITON_BUILD_PYTHON_MODULE=ON" ,
435+ "-DPython3_EXECUTABLE:FILEPATH=" + sys .executable , "-DPython3_INCLUDE_DIR=" + python_include_dir ,
437436 "-DTRITON_CODEGEN_BACKENDS=" + ';' .join ([b .name for b in backends if not b .is_external ]),
438437 "-DTRITON_PLUGIN_DIRS=" + ';' .join ([b .src_dir for b in backends if b .is_external ])
439438 ]
@@ -479,7 +478,6 @@ def build_extension(self, ext):
479478 # environment variables we will pass through to cmake
480479 passthrough_args = [
481480 "TRITON_BUILD_PROTON" ,
482- "TRITON_BUILD_TUTORIALS" ,
483481 "TRITON_BUILD_WITH_CCACHE" ,
484482 "TRITON_PARALLEL_LINK_JOBS" ,
485483 ]
0 commit comments