"...model_zoo/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "828a5e5bc6ffaa5716b02283874ec830e1b786fc"
Unverified Commit 245f7414 authored by Chao Liu's avatar Chao Liu Committed by GitHub
Browse files

improve parallelism for testing (#112)

parent e17c0d80
...@@ -61,7 +61,7 @@ def cmake_build(Map conf=[:]){ ...@@ -61,7 +61,7 @@ def cmake_build(Map conf=[:]){
""" """
def setup_cmd = conf.get("setup_cmd", "${cmake_envs} cmake ${setup_args} .. ") def setup_cmd = conf.get("setup_cmd", "${cmake_envs} cmake ${setup_args} .. ")
// reduce parallelism when compiling, clang uses too much memory // reduce parallelism when compiling, clang uses too much memory
def build_cmd = conf.get("build_cmd", "${build_envs} dumb-init make -j\$(( \$(nproc) / 5 )) ${config_targets}") def build_cmd = conf.get("build_cmd", "${build_envs} dumb-init make -j\$(( \$(nproc) / 1 )) ${config_targets}")
def execute_cmd = conf.get("execute_cmd", "") def execute_cmd = conf.get("execute_cmd", "")
def cmd = conf.get("cmd", """ def cmd = conf.get("cmd", """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment