MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / run_cmake_build

Function run_cmake_build

build.py:47–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46
47def run_cmake_build():
48 os.makedirs(BUILD_DIR, exist_ok=True) # mkdir -p
49
50 if platform.system() == "Windows":
51 # use Clang/LLVM toolset for Visual Studio
52 execute(f"cmake -DBUILD_DOCS={BUILD_DOCS} -DPM_BUILD_TYPE={BUILD_TYPE} .. -T ClangCL", cwd=BUILD_DIR)
53 else:
54 execute(f"cmake -DBUILD_DOCS={BUILD_DOCS} -DPM_BUILD_TYPE={BUILD_TYPE} ..", cwd=BUILD_DIR)
55 execute(f"cmake --build . -j{CPUS} --config Release", cwd=BUILD_DIR)
56
57
58def copy_artifacts():

Callers 1

buildFunction · 0.85

Calls 1

executeFunction · 0.70

Tested by

no test coverage detected