MCPcopy Create free account
hub / github.com/UbiquitousLearning/mllm / compile

Function compile

algorithms/fancy_algorithm/run.py:5–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4
5def compile():
6 COMMAND = [
7 "cmake",
8 "-G",
9 "Ninja",
10 "-B",
11 "build",
12 "-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_PATH/build/cmake/android.toolchain.cmake",
13 "-DANDROID_PLATFORM=android-28",
14 "-DANDROID_ABI=arm64-v8a",
15 # Using your own mllm installation, please replace the path with your own path
16 "-Dmllm_DIR=/root/mllm-install-android-arm64-v8a/lib/cmake/",
17 ]
18 print(" ".join(COMMAND))
19 os.system(" ".join(COMMAND))
20 COMMAND = [
21 "cmake",
22 "--build",
23 "build",
24 ]
25 print(" ".join(COMMAND))
26 os.system(" ".join(COMMAND))
27
28
29if __name__ == "__main__":

Callers 1

run.pyFile · 0.70

Calls 1

printFunction · 0.85

Tested by

no test coverage detected