()
| 35 | |
| 36 | |
| 37 | def 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 | |
| 47 | def run_cmake_build(): |