MCPcopy Create free account
hub / github.com/pytorch/pytorch / __init__

Method __init__

tools/setup_helpers/cmake.py:39–41  ·  view source on GitHub ↗
(self, build_dir: str = BUILD_DIR)

Source from the content-addressed store, hash-verified

37 "Manages cmake."
38
39 def __init__(self, build_dir: str = BUILD_DIR) -> None:
40 self._cmake_command = CMake._get_cmake_command()
41 self.build_dir = build_dir
42
43 @property
44 def _cmake_cache_file(self) -> str:

Callers

nothing calls this directly

Calls 1

_get_cmake_commandMethod · 0.80

Tested by

no test coverage detected