diff options
| author | ruki <[email protected]> | 2023-02-21 23:23:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-21 23:23:14 +0800 |
| commit | 77c0a9dcfbbad5e72b3b59b02ebdf8f00a3141ac (patch) | |
| tree | d45f6dd8b71b30942a8dcf438d3f6a3c0cb0d741 /xmake/modules/private/check/checker.lua | |
| parent | d4a354d714f69c598945f91557f7a6eec2334161 (diff) | |
improve check stage
Diffstat (limited to 'xmake/modules/private/check/checker.lua')
| -rw-r--r-- | xmake/modules/private/check/checker.lua | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/xmake/modules/private/check/checker.lua b/xmake/modules/private/check/checker.lua index 5ddcc9fdc..eb48a2029 100644 --- a/xmake/modules/private/check/checker.lua +++ b/xmake/modules/private/check/checker.lua @@ -28,32 +28,32 @@ function checkers() checkers = { -- target api checkers ["api.target.version"] = {description = "Check version configuration in target."}, - ["api.target.kind"] = {description = "Check kind configuration in target.", timely = true}, - ["api.target.strip"] = {description = "Check strip configuration in target.", timely = true}, - ["api.target.optimize"] = {description = "Check optimize configuration in target.", timely = true}, - ["api.target.symbols"] = {description = "Check symbols configuration in target.", timely = true}, - ["api.target.fpmodels"] = {description = "Check fpmodels configuration in target.", timely = true}, - ["api.target.warnings"] = {description = "Check warnings configuration in target.", timely = true}, - ["api.target.languages"] = {description = "Check languages configuration in target.", timely = true}, - ["api.target.vectorexts"] = {description = "Check vectorexts configuration in target.", timely = true}, - ["api.target.exceptions"] = {description = "Check exceptions configuration in target.", timely = true}, + ["api.target.kind"] = {description = "Check kind configuration in target.", build = true}, + ["api.target.strip"] = {description = "Check strip configuration in target.", build = true}, + ["api.target.optimize"] = {description = "Check optimize configuration in target.", build = true}, + ["api.target.symbols"] = {description = "Check symbols configuration in target.", build = true}, + ["api.target.fpmodels"] = {description = "Check fpmodels configuration in target.", build = true}, + ["api.target.warnings"] = {description = "Check warnings configuration in target.", build = true}, + ["api.target.languages"] = {description = "Check languages configuration in target.", build = true}, + ["api.target.vectorexts"] = {description = "Check vectorexts configuration in target.", build = true}, + ["api.target.exceptions"] = {description = "Check exceptions configuration in target.", build = true}, ["api.target.packages"] = {description = "Check packages configuration in target."}, ["api.target.files"] = {description = "Check files configuration in target."}, ["api.target.headerfiles"] = {description = "Check header files configuration in target."}, ["api.target.installfiles"] = {description = "Check install files configuration in target."}, ["api.target.configfiles"] = {description = "Check config files configuration in target."}, - ["api.target.linkdirs"] = {description = "Check linkdirs configuration in target.", timely = true}, - ["api.target.includedirs"] = {description = "Check includedirs configuration in target.", timely = true}, - ["api.target.frameworkdirs"] = {description = "Check frameworkdirs configuration in target.", timely = true}, + ["api.target.linkdirs"] = {description = "Check linkdirs configuration in target.", build = true}, + ["api.target.includedirs"] = {description = "Check includedirs configuration in target.", build = true}, + ["api.target.frameworkdirs"] = {description = "Check frameworkdirs configuration in target.", build = true}, ["api.target.cflags"] = {description = "Check c compiler flags configuration in target."}, ["api.target.cxflags"] = {description = "Check c/c++ compiler flags configuration in target."}, ["api.target.cxxflags"] = {description = "Check c++ compiler flags configuration in target."}, ["api.target.asflags"] = {description = "Check assembler flags configuration in target."}, ["api.target.ldflags"] = {description = "Check binary linker flags configuration in target."}, ["api.target.shflags"] = {description = "Check shared library linker flags configuration in target."}, - ["api.target.license"] = {description = "Check license in target and packages.", timely = true}, + ["api.target.license"] = {description = "Check license in target and packages.", build = true}, -- cuda checkers - ["cuda.devlink"] = {description = "Check devlink for targets."}, + ["cuda.devlink"] = {description = "Check devlink for targets.", build_failure = true}, -- clang tidy checker ["clang.tidy"] = {description = "Check project code using clang-tidy.", showstats = false} } |
