MCPcopy Create free account
hub / github.com/apache/arrow / __init__

Method __init__

dev/archery/archery/utils/cmake.py:128–144  ·  view source on GitHub ↗

Initialize a CMakeBuild. The caller must ensure that cmake was invoked in the build directory. Parameters ---------- definition : CMakeDefinition The definition to build from. build_dir : str The build directory to s

(self, build_dir, build_type, definition=None)

Source from the content-addressed store, hash-verified

126 """
127
128 def __init__(self, build_dir, build_type, definition=None):
129 """ Initialize a CMakeBuild.
130
131 The caller must ensure that cmake was invoked in the build directory.
132
133 Parameters
134 ----------
135 definition : CMakeDefinition
136 The definition to build from.
137 build_dir : str
138 The build directory to setup into.
139 """
140 assert CMakeBuild.is_build_dir(build_dir)
141 super().__init__()
142 self.build_dir = os.path.abspath(build_dir)
143 self.build_type = build_type
144 self.definition = definition
145
146 @property
147 def binaries_dir(self):

Callers

nothing calls this directly

Calls 2

is_build_dirMethod · 0.45
__init__Method · 0.45

Tested by

no test coverage detected