Skip to content

Detect or install Microsoft C compiler

Automatically generated README for this automation recipe: get-cl

Category: Compiler automation

License: Apache 2.0

  • Notes from the authors, contributors and users: README-extra

  • CM meta description for this script: _cm.json

  • Output cached? True

Reuse this script in your project

Install MLCommons CM automation meta-framework

Pull CM repository with this automation recipe (CM script)

cm pull repo mlcommons@cm4mlops

cmr "get cl compiler c-compiler cpp-compiler get-cl" --help

Run this script

Run this script via CLI
cm run script --tags=get,cl,compiler,c-compiler,cpp-compiler,get-cl 
Run this script via CLI (alternative)
cmr "get cl compiler c-compiler cpp-compiler get-cl " 
Run this script from Python
import cmind

r = cmind.access({'action':'run'
              'automation':'script',
              'tags':'get,cl,compiler,c-compiler,cpp-compiler,get-cl'
              'out':'con',
              ...
              (other input keys for this script)
              ...
             })

if r['return']>0:
    print (r['error'])
Run this script via Docker (beta)
cm docker script "get cl compiler c-compiler cpp-compiler get-cl" 

Native script being run

No run file exists for Linux/macOS


Script output

cmr "get cl compiler c-compiler cpp-compiler get-cl "  -j