Click here to see the table of contents.
Note that this README is automatically generated - don't edit! See more info.
Detect or install Microsoft C compiler.
See more info.
- Category: Compiler automation.
- CM GitHub repository: mlcommons@ck
- GitHub directory for this script: GitHub
- CM meta description for this script: _cm.json
- CM "database" tags to find this script: get,cl,compiler,c-compiler,cpp-compiler,get-cl
- Output cached?: True
cm pull repo mlcommons@ck
cm run script --help
-
cm run script --tags=get,cl,compiler,c-compiler,cpp-compiler,get-cl
-
cm run script "get cl compiler c-compiler cpp-compiler get-cl"
-
cm run script 7dbb770faff947c0
Click here to expand this section.
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'])
cm run script --tags=gui --script="get,cl,compiler,c-compiler,cpp-compiler,get-cl"
Use this online GUI to generate CM CMD.
TBD
Click here to expand this section.
These keys can be updated via --env.KEY=VALUE
or env
dictionary in @input.json
or using script flags.
Click here to expand this section.
- Read "deps" on other CM scripts from meta
- Run "preprocess" function from customize.py
- Read "prehook_deps" on other CM scripts from meta
- Run native script if exists
- Read "posthook_deps" on other CM scripts from meta
- Run "postrocess" function from customize.py
- Read "post_deps" on other CM scripts from meta
+PATH
CM_CL_*
CM_COMPILER_*
CM_CXX_COMPILER_*
CM_C_COMPILER_*
CM_LINKER_*
CM_CL_BIN
CM_CL_BIN_WITH_PATH
CM_CL_CACHE_TAGS
CM_COMPILER_CACHE_TAGS
CM_COMPILER_FAMILY
CM_COMPILER_VERSION
CM_CXX_COMPILER_BIN
CM_CXX_COMPILER_FLAG_OUTPUT
CM_CXX_COMPILER_FLAG_VERSION
CM_CXX_COMPILER_WITH_PATH
CM_C_COMPILER_BIN
CM_C_COMPILER_FLAG_OUTPUT
CM_C_COMPILER_FLAG_VERSION
CM_C_COMPILER_WITH_PATH