diff --git a/CHANGES.txt b/CHANGES.txt index dee9885cf5..557778601d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,6 @@ * V1.55.1 * removed two outdated modules + * updated module:program * V1.55.0 * Fixed missing CK modules diff --git a/README.md b/README.md index 3458d20b2a..df79707409 100755 --- a/README.md +++ b/README.md @@ -80,6 +80,11 @@ ck ls program:*susan* ck search dataset --tags=jpeg +ck detect soft --tags=compiler,gcc +ck detect soft --tags=compiler,llvm + +ck show env --tags=compiler + ck compile program:cbench-automotive-susan --speed ck run program:cbench-automotive-susan --cmd_key=corners --repeat=1 --env.MY_ENV=123 --env.TEST=xyz @@ -168,7 +173,8 @@ in the form of portable CK workflows, automation actions and reusable components ## Contributions -Users can extend the CK functionality via external [GitHub reposities](https://cKnowledge.io/repos) in the CK format +Users can extend the CK functionality via [CK modules](https://github.com/ctuning/ck/tree/master/ck/repo/module) +or external [GitHub reposities](https://cKnowledge.io/repos) in the CK format as described [here](https://ck.readthedocs.io/en/latest/src/typical-usage.html). Please check [this documentation](https://ck.readthedocs.io/en/latest/src/how-to-contribute.html) diff --git a/ck/repo/module/program/module.py b/ck/repo/module/program/module.py index 317941c613..dde020be83 100644 --- a/ck/repo/module/program/module.py +++ b/ck/repo/module/program/module.py @@ -2822,13 +2822,26 @@ def process_in_dir(i): if tosd.get('remote_dir_full','')!='': yrdir=tosd['remote_dir_full']+stdirs+rdir - y=rs+' '+eifsx1+tosd['change_dir']+' '+yrdir+envtsep+' '+y+eifsx1+' '+rse + y=rs+' '+eifsx1+tosd['change_dir']+' '+yrdir+envtsep+' '+y + + # Current behaviour on android is to redirect back to the host machine. + # This can result in a significant amount of data transferred. On some devices + # this has caused the adb client to crash. Proposal is to redirect to device and + # transfer back as a normal run_cmd_out file. + # Many options for redirecting to target as all seem to be valid levels to make this choice + rtt=tosd.get('redirect_to_target','')=='yes' or meta.get('redirect_to_target','')=='yes' or rt.get('redirect_to_target','')=='yes' + if not rtt: + y+=eifsx1+' '+rse if cons!='yes': if ercmd!='': y+=' '+ercmd if rco1!='': y+=' '+stro+' '+rco1 if rco2!='': y+=' '+stre+' '+rco2 + # Delay command end to after redirects + if rtt: + y+=eifsx1+' '+rse + # if o=='con': # ck.out(y)