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

Function ensure_spidermonkey

build.py:37–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36
37def ensure_spidermonkey():
38 # Check if SpiderMonkey libs already exist
39 spidermonkey_lib_exist = os.path.exists(os.path.join(TOP_DIR, "_spidermonkey_install/lib"))
40 if spidermonkey_lib_exist:
41 return
42
43 # Build SpiderMonkey
44 execute("bash ./setup.sh", cwd=TOP_DIR)
45
46
47def run_cmake_build():

Callers 1

buildFunction · 0.85

Calls 1

executeFunction · 0.70

Tested by

no test coverage detected